-
-
Save douglasresende/8a087682d9c467d6c0355a77118821f0 to your computer and use it in GitHub Desktop.
require jquery and backbone in cosole and coding...
This file contains hidden or 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
(function(undefined){ | |
var _requirejs = document.createElement('script'); | |
_requirejs.src = "http://requirejs.org/docs/release/2.1.5/minified/require.js"; | |
_requirejs.type ="text/javascript"; | |
document.head.appendChild(_requirejs); | |
setTimeout(function(){ | |
require('http://code.jquery.com/jquery-1.9.1.min.js'.split(";")); | |
require('http://underscorejs.org/underscore-min.js'.split(";"),function(){ | |
require('http://backbonejs.org/backbone-min.js'.split(";")) | |
}); | |
},100); | |
}).call(this,undefined); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment