Ticket #50 (closed defect: invalid)
Extending Date object outside prototype
| Reported by: | pnp | Owned by: | zeank |
|---|---|---|---|
| Priority: | normal | Milestone: | jsjac-1.3.2 |
| Component: | jsjac | Version: | 1.3 |
| Severity: | normal | Keywords: | |
| Cc: | franck.tab@… |
Description
in jsextras.js at line 30
Date.jab2date = function(ts) {
should be Date.prototype.jab2date = function(ts) {
The same goes for:
Date.hrTime = function(ts) {
at line 50 of the same file
Change History
Note: See
TracTickets for help on using
tickets.
