Define SCRIPT_DEBUG in trunk/src and remove it when building
|Reported by:||azaozz||Owned by:||nacin|
Running file_exists() on every load (incl. on the front-end) to determine whether SCRIPT_DEBUG should be set is expensive.
SCRIPT_DEBUG can be defined in trunk/src/ and removed when copying the files with Grunt.
Change History (13)
- Severity changed from blocker to normal
- Type changed from defect (bug) to task (blessed)
comment:10 nacin — 2 months ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
Note: See TracTickets for help on using tickets.