You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing "$attrs.class" to "$attrs['class']" in the Ionic bundle seems to have fixed the problem for me, with no side effects in the other versions of Android and iOS I'm testing in. Should this same change be integrated back into the source tree for others who may be experiencing the same problems?
The text was updated successfully, but these errors were encountered:
revie
changed the title
Bug: Ionic-1.0.0-beta14 - Parse error for lines with $attr.class on Android 2.3
bug: Bug: Ionic-1.0.0-beta14 - Parse error for lines with $attr.class on Android 2.3
Feb 9, 2015
Type: bug
Platform: android 2.x webview
Running the latest Beta 14, I ran into the following error when running on Android 2.3:
D/CordovaLog( 349): file:///android_asset/www/lib/ionic/js/ionic.bundle.js: Line 46718 : SyntaxError: Parse error
E/Web Console( 349): SyntaxError: Parse error at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:46718
which appears to be this line:
and first reported by akhil in the Forum at:
http://forum.ionicframework.com/t/ionic-beta-14-gives-js-error-in-android-emulator/15474/5
Apparently, older versions of Android don't like "$attrs.class", as first identified last year:
#1228
Changing "$attrs.class" to "$attrs['class']" in the Ionic bundle seems to have fixed the problem for me, with no side effects in the other versions of Android and iOS I'm testing in. Should this same change be integrated back into the source tree for others who may be experiencing the same problems?
The text was updated successfully, but these errors were encountered: