Skip to content

Instantly share code, notes, and snippets.

@jiahut
Last active October 17, 2016 01:20
Show Gist options
  • Save jiahut/5285103 to your computer and use it in GitHub Desktop.
Save jiahut/5285103 to your computer and use it in GitHub Desktop.
require jquery and backbone in cosole and coding...
(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);
@jiahut
Copy link
Author

jiahut commented Apr 1, 2013

click new tab or ctrl+t then F12,and paste, after this ,enjoy coding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment