   OSX.NSString.stringWithContentsOfFile(path).toString()
 
 __modules = {}
+__defines = []
 
 
 this.require = require

        });
      """
    __jsc__.evalJSString_withScriptPath code, file
    defines.pop()?.call()
  coffee: (file) ->
    exts.js file, CoffeeScript.compile __read file


  window.__filename = previousFilename
  __modules[file]

define  = (cb) ->
  __defines.push ->
    exports = __modules[__filename] or {}
    module  = exports: exports
    cb.call exports, require, exports, module
