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:
Kirill Zaitsev 2015-06-17 11:35:00 +03:00
parent 2f1c620424
commit 3c0f7e6af3
3 changed files with 4 additions and 3 deletions

View File

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

View File

@ -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

View File

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