Exclude Backbone-sourced method from jscs checks
FREEBIE
This commit is contained in:
parent
3ceb3a049e
commit
d5d1d58cc2
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
||||||
// overriding this to allow for this.unset('unread'), save to db, then fetch()
|
// overriding this to allow for this.unset('unread'), save to db, then fetch()
|
||||||
// to propagate. We don't want the unset key in the db so our unread index stays
|
// to propagate. We don't want the unset key in the db so our unread index stays
|
||||||
// small.
|
// small.
|
||||||
|
// jscs:disable
|
||||||
fetch: function(options) {
|
fetch: function(options) {
|
||||||
options = options ? _.clone(options) : {};
|
options = options ? _.clone(options) : {};
|
||||||
if (options.parse === void 0) options.parse = true;
|
if (options.parse === void 0) options.parse = true;
|
||||||
|
@ -66,6 +67,7 @@
|
||||||
};
|
};
|
||||||
return this.sync('read', this, options);
|
return this.sync('read', this, options);
|
||||||
},
|
},
|
||||||
|
// jscs:enable
|
||||||
getDescription: function() {
|
getDescription: function() {
|
||||||
if (this.isGroupUpdate()) {
|
if (this.isGroupUpdate()) {
|
||||||
var group_update = this.get('group_update');
|
var group_update = this.get('group_update');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue