Skip to content

Instantly share code, notes, and snippets.

Avatar

Devesh Kumar deveshkumar

  • WhiteShark
  • India
View GitHub Profile
View marionette.handlebars.js
/**
Usage: Just include this script after Marionette and Handlebars loading
IF you use require.js add script to shim and describe it in the requirements
*/
(function(Handlebars, Backbone) {
var Marionette = Backbone.Marionette;
Marionette.Handlebars = {
path: 'templates/',
View marionette.handlebars.js
/**
Usage: Just include this script after Marionette and Handlebars loading
IF you use require.js add script to shim and describe it in the requirements
*/
(function(Handlebars, Marionette) {
Marionette.Handlebars = {
path: 'templates/',
extension: '.handlebars'
};