Shim for deepmodel

pull/4/head
Mark McDowall 9 years ago
parent f4d9e3495a
commit 5b58bd504d

@ -1,6 +1,6 @@
var DeepModel = require('backbone.deepmodel');
module.exports = DeepModel.DeepModel.extend({
module.exports = DeepModel.extend({
defaults : {
id : null,
name : '',

@ -1,4 +1,4 @@
var $ = require('jquery');
var DeepModel = require('backbone.deepmodel');
module.exports = DeepModel.DeepModel.extend({});
module.exports = DeepModel.extend({});

@ -1,4 +1,4 @@
var $ = require('jquery');
var DeepModel = require('backbone.deepmodel');
module.exports = DeepModel.DeepModel.extend({});
module.exports = DeepModel.extend({});

@ -2,7 +2,7 @@ var $ = require('jquery');
var DeepModel = require('backbone.deepmodel');
var Messenger = require('../Shared/Messenger');
module.exports = DeepModel.DeepModel.extend({
module.exports = DeepModel.extend({
test : function() {
var self = this;

@ -3,7 +3,7 @@ var DeepModel = require('backbone.deepmodel');
var AsChangeTrackingModel = require('../Mixins/AsChangeTrackingModel');
var Messenger = require('../Shared/Messenger');
var model = DeepModel.DeepModel.extend({
var model = DeepModel.extend({
initialize : function() {
this.listenTo(vent, vent.Commands.SaveSettings, this.saveSettings);

@ -26,7 +26,7 @@ module.exports = {
'handlebars': 'Shims/handlebars',
'handlebars.helpers': 'JsLibraries/handlebars.helpers',
'bootstrap': 'JsLibraries/bootstrap',
'backbone.deepmodel': 'JsLibraries/backbone.deep.model',
'backbone.deepmodel': 'Shims/backbone.deep.model',
'backbone.pageable': 'JsLibraries/backbone.pageable',
'backbone-pageable': 'JsLibraries/backbone.pageable',
'backbone.paginator': 'JsLibraries/backbone.paginator',
@ -44,7 +44,6 @@ module.exports = {
'jquery-ui': 'JsLibraries/jquery-ui',
'jquery.knob': 'JsLibraries/jquery.knob',
'jquery.easypiechart': 'JsLibraries/jquery.easypiechart',
'jquery.easypiechart': 'JsLibraries/jquery.easypiechart',
'jquery.dotdotdot': 'JsLibraries/jquery.dotdotdot',
'messenger': 'Shims/messenger',
'jquery': 'Shims/jquery',

Loading…
Cancel
Save