Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TypeScript 'use strict'
Message
De
14/11/2014 12:57:54
 
 
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01610964
Message ID:
01611004
Vues:
28
>>Hmm. If I place it before the module I get "missing 'use strict' .
>>
>>UPDATE: Actually, I get both warnings ('expected an assignment or function call' as well)
>
>In our code we use (for the service):
>
>
>(function () {
>    'use strict';
>    
>    var app = angular.module('sysMgrApp');
>
>    app.factory('accountsService', ['$http
>
I get the same problem if I place it in a function ('expected an assignment or function call').

I assume that you checked your Error List and that it is not generating the warning ?

(I'm using Web Essentials 2013 1.0)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform