Open castles opened 8 years ago
Hello,
This need to be fixed. The minification cannot operate with this error.
java -Xss2048k -jar '/usr/lib/node_modules/google-closure-compiler/compiler.jar' --charset utf-8 --compilation_level 'SIMPLE_OPTIMIZATIONS' '/tmp/jquery.counterup.js' /tmp/jquery.counterup.js:66: ERROR - Parse error. Invalid delete operand. Only properties can be deleted. delete $this.data('counterup-nums'); ^
1 error(s), 0 warning(s)
Removing this should fix this compile error with Google Closure:
JSC_PARSE_ERROR: Parse error. Invalid delete operand. Only properties can be deleted. at line 66 character 0 delete $this.data('counterup-nums');
I'm not sure exactly what the delete is supposed to do and if its necessary???