Skip to content

Instantly share code, notes, and snippets.

View kalley's full-sized avatar

Kalley Powell kalley

  • OneSignal
  • Houston, TX
View GitHub Profile
// Using lodash so we can use isPlainObject
var
_ = require('lodash'),
Marionette = require('backbone.marionette');
var _constructor = Marionette.View.prototype.constructor;
Marionette.View = Marionette.View.extend({
constructor: function (attributes, options) {
var self = this;