Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
sample requirejs cdn configuration
require.config({
paths:{
'jquery':'//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min',
'lodash':'//cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0-rc.2/lodash.min',
'foundation':'//cdnjs.cloudflare.com/ajax/libs/foundation/3.2.2/javascripts/foundation.min',
'text':'//cdnjs.cloudflare.com/ajax/libs/require-text/2.0.3/text'
}
});
require([
'jquery',
'lodash',
'foundation'
],function($,_){
console.log("jquery",$.fn.jquery);
console.log("lodash",_.VERSION);
UNDERSCORE = _;
JQUERY = $;
})
<script data-main="config" src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.1/require.min.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.