Skip to content

Instantly share code, notes, and snippets.

View achimkoellner's full-sized avatar

Achim Koellner achimkoellner

View GitHub Profile
@tschieggm
tschieggm / app-start.js
Created September 5, 2012 04:58
Trying to learn Marionette
(function (app, $, backbone, marionette, options, undefined) {
app = new marionette.Application();
app.addInitializer(function () {
app.Log("configuring marionette template compiler");
marionette.TemplateCache.prototype.compileTemplate = function (rawTemplate) {
return Hogan.compile(rawTemplate);
};
});