Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1341 closed defect (fixed)

Typo in DomWidget.js

Reported by: Joe la Poutre <jsixpack@…> 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 13 years ago by dylan

Milestone: 0.4
Owner: changed from bill to dylan
Status: newassigned

comment:2 Changed 13 years ago by dylan

Resolution: fixed
Status: assignedclosed

(In [5384]) typo, fixes #1341

comment:3 Changed 13 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.