mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Added underscore.string to the worker.
This commit is contained in:
parent
a2740279bc
commit
850712442d
2 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,7 @@ var console = {
|
|||
console.error = console.warn = console.info = console.debug = console.log;
|
||||
self.console = console;
|
||||
|
||||
self.importScripts('/javascripts/world.js', '/javascripts/lodash.js', '/javascripts/aether.js');
|
||||
self.importScripts('/javascripts/lodash.js', '/javascripts/world.js', '/javascripts/aether.js');
|
||||
|
||||
var restricted = ["XMLHttpRequest", "importScripts", "Worker"];
|
||||
for(var i = 0; i < restricted.length; ++i) {
|
||||
|
|
|
@ -18,6 +18,7 @@ exports.config =
|
|||
|(app[\/\\]lib[\/\\]utils.coffee)
|
||||
|(vendor[\/\\]scripts[\/\\]Box2dWeb-2.1.a.3)
|
||||
|(vendor[\/\\]scripts[\/\\]string_score.js)
|
||||
|(bower_components[\/\\]underscore.string)
|
||||
)///
|
||||
'javascripts/app.js': /^app/
|
||||
'javascripts/vendor.js': ///^(
|
||||
|
|
Loading…
Reference in a new issue