mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
client side code webstorm code cleanup.
This commit is contained in:
parent
375f887539
commit
445ea4f344
94 changed files with 4355 additions and 4243 deletions
|
@ -1,17 +1,17 @@
|
|||
define(['app'], function () {
|
||||
|
||||
NzbDrone.Shared.NotificationModel = Backbone.Model.extend({
|
||||
mutators:{
|
||||
mutators: {
|
||||
|
||||
preFormattedMessage:function () {
|
||||
preFormattedMessage: function () {
|
||||
return this.get('message').replace(/\\r\\n/g, '<br>');
|
||||
},
|
||||
|
||||
isPreFormatted:function () {
|
||||
isPreFormatted: function () {
|
||||
return this.get('message').indexOf('\\r\\n') !== -1;
|
||||
},
|
||||
|
||||
iconClass:function () {
|
||||
iconClass: function () {
|
||||
|
||||
if (this.has('icon')) {
|
||||
return 'icon';
|
||||
|
@ -29,10 +29,10 @@
|
|||
}
|
||||
},
|
||||
|
||||
defaults:{
|
||||
"level":'info',
|
||||
"title":'',
|
||||
"message":''
|
||||
defaults: {
|
||||
"level" : 'info',
|
||||
"title" : '',
|
||||
"message": ''
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue