rjs -> webpack

This commit is contained in:
Keivan Beigi
2015-02-02 17:18:45 -08:00
parent 344f3d66ef
commit 428a1439e5
399 changed files with 11591 additions and 16139 deletions

View File

@@ -1,13 +1,7 @@
'use strict';
var Backbone = require('backbone');
var NotificationModel = require('./NotificationModel');
define([
'backbone',
'Settings/Notifications/NotificationModel'
], function (Backbone, NotificationModel) {
return Backbone.Collection.extend({
model: NotificationModel,
url : window.NzbDrone.ApiRoot + '/notification'
});
});
module.exports = Backbone.Collection.extend({
model : NotificationModel,
url : window.NzbDrone.ApiRoot + '/notification'
});