Shim for deepmodel

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

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

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

@ -1,4 +1,4 @@
var $ = require('jquery'); var $ = require('jquery');
var DeepModel = require('backbone.deepmodel'); 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 DeepModel = require('backbone.deepmodel');
var Messenger = require('../Shared/Messenger'); var Messenger = require('../Shared/Messenger');
module.exports = DeepModel.DeepModel.extend({ module.exports = DeepModel.extend({
test : function() { test : function() {
var self = this; var self = this;

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

@ -26,7 +26,7 @@ module.exports = {
'handlebars': 'Shims/handlebars', 'handlebars': 'Shims/handlebars',
'handlebars.helpers': 'JsLibraries/handlebars.helpers', 'handlebars.helpers': 'JsLibraries/handlebars.helpers',
'bootstrap': 'JsLibraries/bootstrap', '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-pageable': 'JsLibraries/backbone.pageable', 'backbone-pageable': 'JsLibraries/backbone.pageable',
'backbone.paginator': 'JsLibraries/backbone.paginator', 'backbone.paginator': 'JsLibraries/backbone.paginator',
@ -44,7 +44,6 @@ module.exports = {
'jquery-ui': 'JsLibraries/jquery-ui', 'jquery-ui': 'JsLibraries/jquery-ui',
'jquery.knob': 'JsLibraries/jquery.knob', 'jquery.knob': 'JsLibraries/jquery.knob',
'jquery.easypiechart': 'JsLibraries/jquery.easypiechart', 'jquery.easypiechart': 'JsLibraries/jquery.easypiechart',
'jquery.easypiechart': 'JsLibraries/jquery.easypiechart',
'jquery.dotdotdot': 'JsLibraries/jquery.dotdotdot', 'jquery.dotdotdot': 'JsLibraries/jquery.dotdotdot',
'messenger': 'Shims/messenger', 'messenger': 'Shims/messenger',
'jquery': 'Shims/jquery', 'jquery': 'Shims/jquery',

Loading…
Cancel
Save