Ticket #385 (closed defect: fixed)
fixing the javascript code with missing ; for crunching
| Reported by: | Kim Steinhaug | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | Version 1.0 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | crunch, javascript, optimize, benchmark, compress |
| Cc: |
Description
When trying to crunch the JS files one of the first problems arising is the missing ; on many of the function in the htmlarea.js file.
If you look at this one :
HTMLArea.onload = function(){};
This is correctly ended with a ; but if you look at functions like :
- HTMLArea.prototype.registerPanel
- HTMLArea.Config.prototype.addToolbarElement
- And many more...
Its missing, meaning a crucnher will fail atonce unless someone manually crunches one and one function, rather timeconsuming since the problem is regarding inconcistency in the JS file.
Anyone with committing rights please jump in on this one.
Change History
Note: See
TracTickets for help on using
tickets.
