Fixes a typo 'use_strict' -> 'use strict'
Apparently strict mode is not enabled in toast widgets, due to a 'use_strict' typo, that must have crept in during jscs cleanup This commit fixes the typo. Closes-Bug: #1466003 Change-Id: I4cf30b8343bba6bbe7932e3927c6cbc8a81dc0df
This commit is contained in:
parent
2f1c620424
commit
3c0f7e6af3
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
(function() {
|
||||
'use_strict';
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* @ngdoc directive
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
(function() {
|
||||
'use_strict';
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* @ngdoc overview
|
||||
|
|
Loading…
Reference in New Issue