Added underscore.string to the worker.

This commit is contained in:
Scott Erickson 2014-07-06 15:01:20 -07:00
parent a2740279bc
commit 850712442d
2 changed files with 2 additions and 1 deletions

View file

@ -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) {

View file

@ -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': ///^(