Closed boyko11 closed 8 years ago
yuicompressor 2.4.7/2.4.8 doesn't support ES 6 (it was released in 2014).
On Thu, Mar 3, 2016 at 4:46 PM, Boyko Todorov notifications@github.com wrote:
Using plugin version 1.5.1. The "for-of" loop ES6 syntax is not considered valid and fails the build:
for(var enrlmnt of studentSectionsEnrolledInThisMeeting) { console.log(enrlmnt); }
build 03-Mar-2016 10:36:23 [ERROR] /opt/app/bamboo/bamboo-home/xml-data/build-dir/LMS-MYP-JOB1/src/main/webapp/scripts/bigblue.js [197:39]: missing ; after for-loop initializer build 03-Mar-2016 10:36:23 [ERROR] ...bigblue.js:line 197:column 39:missing ; after for-loop initializer build 03-Mar-2016 10:36:23 for(var enrlmnt of studentSectionsEnrolledInThisMeeting) {
— Reply to this email directly or view it on GitHub https://github.com/davidB/yuicompressor-maven-plugin/issues/89.
Thanks! Your plugin has been great for our project!
Using plugin version 1.5.1. The "for-of" loop ES6 syntax is not considered valid and fails the build:
for(var enrlmnt of studentSectionsEnrolledInThisMeeting) { console.log(enrlmnt); }
build 03-Mar-2016 10:36:23 [ERROR] /opt/app/bamboo/bamboo-home/xml-data/build-dir/LMS-MYP-JOB1/src/main/webapp/scripts/bigblue.js [197:39]: missing ; after for-loop initializer build 03-Mar-2016 10:36:23 [ERROR] ...bigblue.js:line 197:column 39:missing ; after for-loop initializer build 03-Mar-2016 10:36:23 for(var enrlmnt of studentSectionsEnrolledInThisMeeting) {