Created
May 30, 2014 09:10
-
-
Save mildfuzz/3bdc048dc22bc560cb4f to your computer and use it in GitHub Desktop.
Scrubbable Main.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 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