Skip to content

Instantly share code, notes, and snippets.

@mrvisser
Created February 13, 2013 19:28
Show Gist options
  • Save mrvisser/4947367 to your computer and use it in GitHub Desktop.
Save mrvisser/4947367 to your computer and use it in GitHub Desktop.
// MyModule.js
define(['jquery-loader', 'oae.core', 'jquery.timeago', 'jquery.infinitescroll'], function($, oae, timeago, infiniteScroll) {
return function(uid, showSettings, widgetData) {
/////////////////////////////
// Configuration variables //
/////////////////////////////
var $rootel = $('#' + uid);
var infinityScroll = false;
// ...
}
}
// jquery-loader.js
define(['jquery'], function() {
return jQuery.noConflict(true);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment