Thursday, 15 March 2012

angularjs - Failed to instantiate module when using ES6 let with firefox and angular -



angularjs - Failed to instantiate module when using ES6 let with firefox and angular -

i seek utilize es6's allow keyword in angularjs module. work angularjs 1.3 , ff 34. in chrome ( 39 ) works . in ff "failed instantiate module". when alter statement var keyword it's in ff.

someone have thought ?

in order utilize es6 features in firefox need specify version

<script type="application/javascript;version=1.7"></script>

https://developer.mozilla.org/en-us/docs/web/javascript/new_in_javascript/1.7

angularjs firefox ecmascript-6

No comments:

Post a Comment