mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed some bugs related to use strict
This commit is contained in:
parent
2b186be8af
commit
340f05b8d9
4 changed files with 4 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ function() {
|
|||
return f + this.substr(1);
|
||||
}
|
||||
|
||||
if(GLOBALS.context == "Channel") {
|
||||
if(typeof process !== 'undefined') {
|
||||
|
||||
console.checkpoint = function (s) {
|
||||
console.log(' \033[32mbeep - \033[0m' + s);
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
define([
|
||||
"Server/User",
|
||||
"Game/Channel/Channel",
|
||||
"Server/PipeToChannel",
|
||||
"Lib/Utilities/NotificationCenter",
|
||||
"Game/Config/Settings"
|
||||
],
|
||||
|
||||
function (User, Channel, PipeToChannel, Nc, Settings) {
|
||||
function (User, PipeToChannel, Nc, Settings) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
"use strict";
|
||||
|
||||
var GLOBALS = { context: "Channel" };
|
||||
GLOBALS = { context: "Channel" };
|
||||
var requirejs = require('requirejs');
|
||||
|
||||
requirejs.config({
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
"use strict"
|
||||
|
||||
var GLOBALS = { context: "Channel" };
|
||||
var requirejs = require('requirejs');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue