wii - gettings specs on App.open. Window closing not working quite right.

This commit is contained in:
Corey Johnson
2011-12-14 16:24:30 -08:00
parent 507341e714
commit fbb3efacf4
15 changed files with 144 additions and 68 deletions

View File

@@ -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