Opened 14 years ago

Closed 14 years ago

#905 closed defect (fixed)

Problems with compression / List of incompatible files

Reported by: ray Owned by: gogo
Priority: normal Milestone: Version 1.0
Component: Plugin_Other Version: trunk
Severity: normal Keywords:


The compression (the dojo compressor) is not able to handle left-hand variable assignment through the use of eval() properly. This frequently occurs when data is fetched from a backend.

If you have experience with a compressor that works more reliable, please tell.

I intend this ticket as a means to compile a list of incompatible files and start with:

  • plugins/SuperClean/super-clean.js

Change History (3)

comment:1 Changed 14 years ago by ray

rev [744]: sorted this out for super-clean.js

Developer information:
You cannot use variables that are defined outside (before) the eval'ed string.
It works though if you define a variable inside the string and reference it afterwards.

comment:2 Changed 14 years ago by ray

Neither work syntactically incorrect/incomplete js files like the lang files

comment:3 Changed 14 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

at the moment all files seem to work, closing this

Note: See TracTickets for help on using tickets.