Created
December 17, 2012 19:40
-
-
Save mattd/4321324 to your computer and use it in GitHub Desktop.
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
require([ | |
// Core | |
'app', | |
'backbone', | |
'marionette', | |
// Plugins & Patches | |
'string', | |
'jquery.cookie', | |
'marionette.formview' | |
], function (app, Backbone, Marionette) { | |
"use strict"; | |
Marionette.Renderer.render = function (template, data) { | |
return template(data); | |
}; | |
app.start(); | |
// Wrap in auth dance. | |
app.module('login').start(); | |
Backbone.history.start(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment