mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 18:15:52 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
53cd491843
4 changed files with 5 additions and 3 deletions
|
@ -72,7 +72,7 @@ module.exports = ModuleLoader = class ModuleLoader extends CocoClass
|
|||
@trigger 'load-complete'
|
||||
|
||||
parseDependencies: (raw) ->
|
||||
bits = raw.match(/(require\(\'([^)]+)\')|(register\(\".+\")/g) or []
|
||||
bits = raw.match(/(require\(['"](.+?)['"])|(register\(['"].+?['"])/g) or []
|
||||
rootFolder = null
|
||||
dependencies = []
|
||||
for bit in bits
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CocoView = require 'views/core/CocoView'
|
||||
template = require 'templates/editor/patches'
|
||||
PatchesCollection = require 'collections/PatchesCollection'
|
||||
nameLoader = require 'lib/NameLoader'
|
||||
nameLoader = require 'core/NameLoader'
|
||||
PatchModal = require './PatchModal'
|
||||
|
||||
module.exports = class PatchesView extends CocoView
|
||||
|
|
|
@ -2,7 +2,7 @@ ModalView = require 'views/core/ModalView'
|
|||
template = require 'templates/modal/versions'
|
||||
DeltaView = require 'views/editor/DeltaView'
|
||||
PatchModal = require 'views/editor/PatchModal'
|
||||
nameLoader = require 'lib/NameLoader'
|
||||
nameLoader = require 'core/NameLoader'
|
||||
CocoCollection = require 'collections/CocoCollection'
|
||||
deltasLib = require 'core/deltas'
|
||||
|
||||
|
|
|
@ -174,6 +174,8 @@ exports.config =
|
|||
no_unnecessary_fat_arrows:
|
||||
level: 'ignore'
|
||||
uglify:
|
||||
mangle:
|
||||
except: ['require']
|
||||
output:
|
||||
semicolons: false
|
||||
sass:
|
||||
|
|
Loading…
Reference in a new issue