mirror of
https://github.com/atom/atom.git
synced 2026-02-08 05:35:04 -05:00
Got to use the same export object for it to work
This commit is contained in:
@@ -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)};"
|
||||
|
||||
Reference in New Issue
Block a user