Ticket #905 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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:
Cc:

Description

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

Changed 6 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.

Changed 6 years ago by ray

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

Changed 6 years ago by ray

  • status changed from new to closed
  • resolution set to fixed

at the moment all files seem to work, closing this

Note: See TracTickets for help on using tickets.