Skip to content

Instantly share code, notes, and snippets.

@mildfuzz
Created May 30, 2014 09:10
Show Gist options
  • Select an option

  • Save mildfuzz/3bdc048dc22bc560cb4f to your computer and use it in GitHub Desktop.

Select an option

Save mildfuzz/3bdc048dc22bc560cb4f to your computer and use it in GitHub Desktop.
Scrubbable Main.js
/*
* Author: john.farrow@aerian.com
*/
define([], function() {
var init = function(cfg) {
require.config({
baseUrl: cfg.baseUrl
});
require(['./scrubbable'], function(Scrubbable) {
var app = new Scrubbable();
cfg.contentFolder = cfg.baseUrl + '/content/';
app.init(cfg);
});
};
return {init: init};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment