mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Got to use the same export object for it to work
This commit is contained in:
parent
550967ffe8
commit
da04cec4a9
@ -21,7 +21,7 @@ exts =
|
||||
css: (file) -> __read file
|
||||
js: (file) ->
|
||||
code = __read file
|
||||
exports = {}
|
||||
exports = __modules[file] # Use existing object (if one exists)
|
||||
module = exports: exports
|
||||
|
||||
src = "function define(cb){cb.call(this,require,exports)};"
|
||||
|
Loading…
Reference in New Issue
Block a user