Skip to content

Instantly share code, notes, and snippets.

@hojberg
Created July 23, 2012 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hojberg/3162764 to your computer and use it in GitHub Desktop.
Save hojberg/3162764 to your computer and use it in GitHub Desktop.
(function () {
// initiate the application loader
var appLoader = new Swipely.AppLoader({
slowText: 'Hold tight, almost done...',
errorText: "Oh dear, we had a problem loading. We're sorry, please try again."
});
// boot the application
YUI().use('partners:app', function (Y) {
new Y.Partners.App({
container: Y.one("#partners_app"),
appLoader: appLoader
}).render();
});
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment