1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Shim for deepmodel

This commit is contained in:
Mark McDowall 2015-07-27 22:56:44 -07:00
parent f4d9e3495a
commit 5b58bd504d
6 changed files with 6 additions and 7 deletions

View File

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

View File

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

View File

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

View File

@ -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;

View File

@ -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);

View File

@ -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',