Author Topic: Minimizing source  (Read 1969 times)

kiwon34

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Minimizing source
« 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: Minimizing source
« Reply #1 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.
« Last Edit: January 02, 2018, 06:41:07 pm by paramquery »