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) |
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 9b676e7..9d770d5 100644 --- a/horizon/static/framework/widgets/toast/toast.directive.js +++ b/horizon/static/framework/widgets/toast/toast.directive.js | |||
@@ -14,7 +14,7 @@ | |||
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | (function() { | 16 | (function() { |
17 | 'use_strict'; | 17 | 'use strict'; |
18 | 18 | ||
19 | /** | 19 | /** |
20 | * @ngdoc directive | 20 | * @ngdoc directive |
diff --git a/horizon/static/framework/widgets/toast/toast.factory.js b/horizon/static/framework/widgets/toast/toast.factory.js index 4bca734..3f54738 100644 --- a/horizon/static/framework/widgets/toast/toast.factory.js +++ b/horizon/static/framework/widgets/toast/toast.factory.js | |||
@@ -14,7 +14,7 @@ | |||
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | (function() { | 16 | (function() { |
17 | 'use_strict'; | 17 | 'use strict'; |
18 | 18 | ||
19 | /** | 19 | /** |
20 | * @ngdoc service | 20 | * @ngdoc service |
@@ -88,6 +88,7 @@ | |||
88 | function add(type, msg) { | 88 | function add(type, msg) { |
89 | var toast = { | 89 | var toast = { |
90 | type: type === 'error' ? 'danger' : type, | 90 | type: type === 'error' ? 'danger' : type, |
91 | /* jshint validthis:true */ | ||
91 | typeMsg: this.types[type], | 92 | typeMsg: this.types[type], |
92 | msg: msg, | 93 | msg: msg, |
93 | cancel: cancel | 94 | cancel: cancel |
diff --git a/horizon/static/framework/widgets/toast/toast.module.js b/horizon/static/framework/widgets/toast/toast.module.js index 6740a99..61888b7 100644 --- a/horizon/static/framework/widgets/toast/toast.module.js +++ b/horizon/static/framework/widgets/toast/toast.module.js | |||
@@ -14,7 +14,7 @@ | |||
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | (function() { | 16 | (function() { |
17 | 'use_strict'; | 17 | 'use strict'; |
18 | 18 | ||
19 | /** | 19 | /** |
20 | * @ngdoc overview | 20 | * @ngdoc overview |