exact same error here when migrating from 1.2.x to 1.3.0 Le mardi 14 octobre 2014 06:59:12 UTC+2, Helmi Gooner a écrit : > > Do you have any object with key '0'? > > I have same error, and one of object have property '0'. After change the > property to something else, it works for 1.3. > Object with property '0' works for angular 1.2 though > > On Friday, September 5, 2014 9:30:52 PM UTC+8, [email protected] > wrote: >> >> Today I tried the RC 1.3 Version on my project. And I gwt now this error: >> >> SyntaxError: Unexpected number >> at Window.Function (native) >> at getterFn ( >> http://localhost:63342/WBE4AngularJS/scripts/libs/angular.min.js:11527:34 >> ) >> at Lexer.readIdent ( >> http://localhost:63342/WBE4AngularJS/scripts/libs/angular.min.js:10903:30 >> ) >> at Lexer.lex ( >> http://localhost:63342/WBE4AngularJS/scripts/libs/angular.min.js:10735:26 >> ) >> at Parser.parse ( >> http://localhost:63342/WBE4AngularJS/scripts/libs/angular.min.js:10991:38 >> ) >> at $parse ( >> http://localhost:63342/WBE4AngularJS/scripts/libs/angular.min.js:11617:55 >> ) >> at $interpolate ( >> http://localhost:63342/WBE4AngularJS/scripts/libs/angular.min.js:9257:39) >> at app.config.$provide.decorator.interpolateWrap ( >> http://localhost:63342/WBE4AngularJS/scripts/app.js:71:53) >> at addAttrInterpolateDirective ( >> http://localhost:63342/WBE4AngularJS/scripts/libs/angular.min.js:7348:41) >> at collectDirectives ( >> http://localhost:63342/WBE4AngularJS/scripts/libs/angular.min.js:6472:37) >> angular.min.js:10573(anonymous function) >> angular.min.js:10573$ExceptionHandlerProvider.$get >> angular.min.js:7807processQueue angular.min.js:12026(anonymous function) >> angular.min.js:12034$RootScopeProvider.$get.Scope.$eval >> angular.min.js:13202$RootScopeProvider.$get.Scope.$digest >> angular.min.js:13014$RootScopeProvider.$get.Scope.$apply >> angular.min.js:13306done angular.min.js:8797completeRequest >> angular.min.js:9012xhr.onreadystatechange >> >> Any ideas? The 1.2 Version doesn't throw the Exception. >> >
-- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
