mirror of
https://github.com/atom/atom.git
synced 2026-02-12 15:45:23 -05:00
wii - gettings specs on App.open. Window closing not working quite right.
This commit is contained in:
@@ -12,6 +12,11 @@ paths = [
|
||||
|
||||
window.__filename = null
|
||||
|
||||
nakedLoad = (file) ->
|
||||
file = resolve file
|
||||
code = __read file
|
||||
__jsc__.evalJSString_withScriptPath code, file
|
||||
|
||||
require = (file, cb) ->
|
||||
return cb require file if cb?
|
||||
|
||||
@@ -110,8 +115,8 @@ __read = (path) ->
|
||||
__modules = { loaded : {} }
|
||||
__defines = []
|
||||
|
||||
|
||||
this.require = require
|
||||
this.nakedLoad = nakedLoad
|
||||
this.define = define
|
||||
|
||||
this.require.resourcePath = resourcePath
|
||||
|
||||
Reference in New Issue
Block a user