diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-06-17 17:31:25 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-06-17 17:31:25 +0000 |
commit | e44d95fa2146b2fc94c10d13985977b6402ff567 (patch) | |
tree | b42b31f00a356268fa35964bfb8a9a4b2d99c4b2 | |
parent | 736eff940c9fa3f9ee5c5d87b41bf89b9d591a85 (diff) | |
parent | 3c0f7e6af32cf84b13f81aaebb3e82d29a390246 (diff) | |
download | horizon-e44d95fa2146b2fc94c10d13985977b6402ff567.tar.gz |
Merge "Fixes a typo 'use_strict' -> 'use strict'"8.0.0a0
3 files changed, 4 insertions, 3 deletions
diff --git a/horizon/static/framework/widgets/toast/toast.directive.js b/horizon/static/framework/widgets/toast/toast.directive.js index 9b676e75f..9d770d5e7 100644 --- a/horizon/static/framework/widgets/toast/toast.directive.js +++ b/horizon/static/framework/widgets/toast/toast.directive.js @@ -14,7 +14,7 @@ * limitations under the License. */ (function() { - 'use_strict'; + 'use strict'; /** * @ngdoc directive diff --git a/horizon/static/framework/widgets/toast/toast.factory.js b/horizon/static/framework/widgets/toast/toast.factory.js index 4bca73430..3f54738c9 100644 --- a/horizon/static/framework/widgets/toast/toast.factory.js +++ b/horizon/static/framework/widgets/toast/toast.factory.js @@ -14,7 +14,7 @@ * limitations under the License. */ (function() { - 'use_strict'; + 'use strict'; /** * @ngdoc service @@ -88,6 +88,7 @@ function add(type, msg) { var toast = { type: type === 'error' ? 'danger' : type, + /* jshint validthis:true */ typeMsg: this.types[type], msg: msg, cancel: cancel diff --git a/horizon/static/framework/widgets/toast/toast.module.js b/horizon/static/framework/widgets/toast/toast.module.js index 6740a9990..61888b7bc 100644 --- a/horizon/static/framework/widgets/toast/toast.module.js +++ b/horizon/static/framework/widgets/toast/toast.module.js @@ -14,7 +14,7 @@ * limitations under the License. */ (function() { - 'use_strict'; + 'use strict'; /** * @ngdoc overview |