Created
June 3, 2013 14:58
-
-
Save hughfdjackson/5698791 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define([ | |
'Backbone' | |
], function( | |
Backbone | |
){ | |
// I've evalled the entire file at this point, using cmd + A, cmd + Enter | |
Backbone // cmd + Enter returns me `undefined`, although in the application, it would be the Backbone library object | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For reference, I've attempted:
LT Browser
Connected to the browser available within lighttable, pointing it at my dev server (not a file).
Results:
External Browser
Using script tag v1
Added the script tag:
Results:
Using script tag v2
Results:
undefined
Using script tag v3
Results:
Using require.js
Added the following to my index.html - attempting to force the websocket server to be loaded after the rest of the
dependency graph.
Results: