mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Fix simulator jquery when dependency
This commit is contained in:
parent
38d732d8bc
commit
035cb7d3f7
2 changed files with 6 additions and 4 deletions
|
@ -35,7 +35,7 @@ path = __dirname
|
|||
|
||||
m = require 'module'
|
||||
request = require 'request'
|
||||
|
||||
Deferred = require "JQDeferred"
|
||||
originalLoader = m._load
|
||||
|
||||
unhook = () ->
|
||||
|
@ -90,6 +90,7 @@ GLOBAL.$ = GLOBAL.jQuery = (input) ->
|
|||
append: (input)-> exports: ()->
|
||||
|
||||
cookies = request.jar()
|
||||
$.when = Deferred.when
|
||||
|
||||
$.ajax = (options) ->
|
||||
responded = false
|
||||
|
|
|
@ -66,7 +66,8 @@
|
|||
"webworker-threads": "~0.4.11",
|
||||
"node-gyp": "~0.13.0",
|
||||
"aether": "~0.2.3",
|
||||
"JASON": "~0.1.3"
|
||||
"JASON": "~0.1.3",
|
||||
"JQDeferred": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jade": "0.33.x",
|
||||
|
|
Loading…
Reference in a new issue