Skip to content

Instantly share code, notes, and snippets.

@cjmyles
Last active October 14, 2015 05:01
Show Gist options
  • Save cjmyles/b28524a7979c365eb042 to your computer and use it in GitHub Desktop.
Save cjmyles/b28524a7979c365eb042 to your computer and use it in GitHub Desktop.
Marionette: View Template
'use strict';
var Backbone = require('backbone');
var Mn = require('backbone.marionette');
// var _ = require('underscore');
// var config = require('libs/config');
// var utils = require('libs/utils');
/**
* View
* @author Craig Myles
*/
module.exports = Mn.[LayoutView, CompositeView, CollectionView, ItemView].extend({
// Protected Functions
// --------------------------
initialize: function(moduleName, app) {
},
onShow: function() {
},
onDestroy: function() {
},
// Event Callbacks
// --------------------------
// _onCallback: function() {
// },
// Private Functions
// --------------------------
// _foo: function() {
// },
// Public Functions
// --------------------------
// foo: function() {
// }
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment