mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +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 not.
|
||||
*/
|
||||
/*jslint es5: true */
|
||||
PersistenceCapability.prototype.persist = function () {
|
||||
var self = this,
|
||||
domainObject = this.domainObject,
|
||||
@ -133,9 +134,7 @@ define(
|
||||
domainObject.getModel()
|
||||
]).then(function(result){
|
||||
return rejectIfFalsey(result, self.$q);
|
||||
/*jslint es5: true */
|
||||
}).catch(function(error){
|
||||
/*jslint es5: false */
|
||||
return notifyOnError(error, domainObject, self.alertService, self.$q);
|
||||
});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user