diff options
Diffstat (limited to 'lib/utils.coffee')
| -rw-r--r-- | lib/utils.coffee | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/lib/utils.coffee b/lib/utils.coffee index d0a82cf7..b5b96844 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -335,8 +335,11 @@ class JobRunner    onReady: (callback) ->      @fetcher.use callback -root = exports ? window +root = exports ? (window.root ?= {})  root.Utils = Utils  root.SimpleCache = SimpleCache  root.AsyncDataFetcher = AsyncDataFetcher  root.JobRunner = JobRunner +unless exports? +  root.extend = extend +  extend window, root | 
