Files
atom/src/bootstrap.coffee
Chris Wanstrath 1cd9f98478 web console is where it's at
(this also fixes the reported source of a console.log
in the web inspector)
2011-08-30 01:14:35 -07:00

16 lines
584 B
CoffeeScript

# This file is the first thing loaded on startup.
# load require() function
root = OSX.NSBundle.mainBundle.resourcePath
code = OSX.NSString.stringWithContentsOfFile path = "#{root}/src/require.js"
__jsc__.evalJSString_withScriptPath code, path
console.log 'require tests:'
console.log require.resolve 'underscore'
console.log require.resolve 'osx'
console.log require.resolve 'tabs/tabs'
console.log require.resolve '~/.atomicity'
console.log require.resolve 'ace/requirejs/text!ace/css/editor.css'
console.log require.resolve 'ace/keyboard/keybinding'
console.log '--------------'