Ticket #7 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Mistyped error in Class array constructor definition logic

Reported by: Slava Assigned to: Jan-Klaas Kollhof
Priority: highest Milestone: 2.0
Component: jsolait-core Version: 2.0
Severity: blocker Keywords:
Cc:

Description (Last modified by Jan-Klaas Kollhof)

In jsolait.js there is a typing error on line 181 and 182(!):

if(rslt.__init__){
    rslt.__init__.apply(rslt, arguments);
}else{//implement Array's defaul behavior
   if(arguments.lengt==1){
      rslt.length=arguments[0];
   }else{

arguments.length should be used. 'h' is missing from the 'length'.

Attachments

jsolait.js.1.diff (0.7 kB) - added by Slava on 01/03/06 18:22:05.
Patch fixing the error

Change History

01/03/06 18:22:05 changed by Slava

  • attachment jsolait.js.1.diff added.

Patch fixing the error

01/03/06 19:44:58 changed by Jan-Klaas Kollhof

  • status changed from new to assigned.
  • description changed.

01/03/06 23:06:37 changed by Jan-Klaas Kollhof

  • status changed from assigned to closed.
  • resolution set to fixed.