Skip to content

Instantly share code, notes, and snippets.

@jrburke
Created July 5, 2012 21:24
Show Gist options
  • Save jrburke/3056571 to your computer and use it in GitHub Desktop.
Save jrburke/3056571 to your computer and use it in GitHub Desktop.
Wiring for jquery adapter
requirejs.config({
map: {
'*': {
'jquery': 'jquery-adapter'
},
'jquery-adapter': {
'jquery': 'jquery'
}
});
//Then jquery-adapter.js looks like:
define(['jquery'], function ($) {
$.noConflict();
return $;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment