Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

Update jquery.counterup.js #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

castles
Copy link

@castles castles commented Jun 6, 2016

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???

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???
@josenobile
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants