#1341 closed defect (fixed)
Typo in DomWidget.js
Reported by: | Owned by: | dylan | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Hi,
There's a typo in Domwidget.js (release 0.3.1).
On line 271 there's "legth" instead of "length":
if(evts[x].legth < 1){ continue; }
Patch:
--- DomWidget.js.ORIG 2006-08-24 11:15:45.000000000 +0200 +++ DomWidget.js 2006-08-24 11:16:06.000000000 +0200 @@ -268,7 +268,7 @@ var ret = []; var lem = {}; for(var x=0; x<evts.length; x++){ - if(evts[x].legth < 1){ continue; } + if(evts[x].length < 1){ continue; } var cm = evts[x].replace(/s/, ""); cm = (cm.slice(0, cm.length-1)); if(!lem[cm]){
Change History (3)
comment:1 Changed 15 years ago by
Milestone: | → 0.4 |
---|---|
Owner: | changed from bill to dylan |
Status: | new → assigned |
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [5384]) typo, fixes #1341