mirror of
https://github.com/nasa/openmct.git
synced 2025-06-10 19:31:42 +00:00
Fixing jslint errors
This commit is contained in:
parent
a39cbbd917
commit
d8e319ebf8
@ -111,6 +111,7 @@ define(
|
|||||||
* if persistence is successful, and rejected
|
* if persistence is successful, and rejected
|
||||||
* if not.
|
* if not.
|
||||||
*/
|
*/
|
||||||
|
/*jslint es5: true */
|
||||||
PersistenceCapability.prototype.persist = function () {
|
PersistenceCapability.prototype.persist = function () {
|
||||||
var self = this,
|
var self = this,
|
||||||
domainObject = this.domainObject,
|
domainObject = this.domainObject,
|
||||||
@ -133,9 +134,7 @@ define(
|
|||||||
domainObject.getModel()
|
domainObject.getModel()
|
||||||
]).then(function(result){
|
]).then(function(result){
|
||||||
return rejectIfFalsey(result, self.$q);
|
return rejectIfFalsey(result, self.$q);
|
||||||
/*jslint es5: true */
|
|
||||||
}).catch(function(error){
|
}).catch(function(error){
|
||||||
/*jslint es5: false */
|
|
||||||
return notifyOnError(error, domainObject, self.alertService, self.$q);
|
return notifyOnError(error, domainObject, self.alertService, self.$q);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user