ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: kiwon34 on January 02, 2018, 09:57:53 am

Title: Minimizing source
Post by: kiwon34 on January 02, 2018, 09:57:53 am
Hello,

We tried to minimize pqgrid.dev.js to pqgrid.min.js using another minimizer tool 'Closure Compiler(https://closure-compiler.appspot.com/home)', but we get an error from 17603 line in pqgrid.dev.js as below.
with(obj) {   -> Error - The with statement cannot be used in strict mode

Could you please tell us which minimizer or optimizer tool you use?

Thank you.
Title: Re: Minimizing source
Post by: paramvir on January 02, 2018, 06:39:31 pm
There might be an option to turn off strict mode in google closure compiler.

Anyway, pqgrid is minimized with uglifyjs

Hope it helps.