pulsar/spec/fixtures/jquery-task-handler.coffee
Kevin Sawicki cd07ec841d Add more window globals and shims in task shell
This allows jQuery to be successfully loaded from a web worker
since it does not have a document or window object by default.

Previously it would log about missing methods and properties.

Closes #228
2013-02-04 11:43:58 -08:00

5 lines
86 B
CoffeeScript

module.exports =
load: ->
$ = require 'jquery'
callTaskMethod('loaded', $?)