Browse Source

Merge "Fixes a typo 'use_strict' -> 'use strict'"

Jenkins 3 years ago
parent
commit
e44d95fa21

+ 1
- 1
horizon/static/framework/widgets/toast/toast.directive.js View File

@@ -14,7 +14,7 @@
14 14
  * limitations under the License.
15 15
  */
16 16
 (function() {
17
-  'use_strict';
17
+  'use strict';
18 18
 
19 19
   /**
20 20
     * @ngdoc directive

+ 2
- 1
horizon/static/framework/widgets/toast/toast.factory.js View File

@@ -14,7 +14,7 @@
14 14
  * limitations under the License.
15 15
  */
16 16
 (function() {
17
-  'use_strict';
17
+  'use strict';
18 18
 
19 19
   /**
20 20
     * @ngdoc service
@@ -88,6 +88,7 @@
88 88
     function add(type, msg) {
89 89
       var toast = {
90 90
         type: type === 'error' ? 'danger' : type,
91
+        /* jshint validthis:true */
91 92
         typeMsg: this.types[type],
92 93
         msg: msg,
93 94
         cancel: cancel

+ 1
- 1
horizon/static/framework/widgets/toast/toast.module.js View File

@@ -14,7 +14,7 @@
14 14
  * limitations under the License.
15 15
  */
16 16
 (function() {
17
-  'use_strict';
17
+  'use strict';
18 18
 
19 19
   /**
20 20
    * @ngdoc overview

Loading…
Cancel
Save