loic911 / Rest-api-doc

MIT License
21 stars 32 forks source link

Uglifying jlinq.js causes an error #54

Open stacysimpson opened 9 years ago

stacysimpson commented 9 years ago

I use the asset-pipeline plugin. When generating war files, the following error occurs SEVERE: restapidoc/jlinq.unminified.js:217: ERROR - Shadowing "arguments" is not allowed repeat:function(arguments) {

Looks like an argument named "arguments" is problematic. Reference: https://code.google.com/p/google-web-toolkit/issues/detail?id=8014

I haven't researched how this JS code is used...looks like a simple rename is a sufficient workaround.

Is there a better path?

stacysimpson commented 9 years ago

I opened an issue against jlinq-beta, https://github.com/hugoware/jlinq-beta/issues/13