Fix simulator jquery when dependency

This commit is contained in:
Michael Schmatz 2014-05-18 12:56:32 -07:00
parent 38d732d8bc
commit 035cb7d3f7
2 changed files with 6 additions and 4 deletions

View file

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

View file

@ -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",