mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
rjs -> webpack
This commit is contained in:
@@ -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'
|
||||
});
|
Reference in New Issue
Block a user