in partnership with mediatemple

Changeset 1543

Show
Ignore:
Timestamp:
04/21/08 14:58:28 (3 weeks ago)
Author:
kamicane
Message:
  • forgot the global flag.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Source/Class/Class.js

    r1542 r1543  
    9090                                if (!arguments.callee.caller) self[key] = eval('(' + String(current).replace(/\bthis\.parent\(\s*(\))?/g, function(full, close){ 
    9191                                        return 'arguments.callee._parent_.call(this' + (close || ', '); 
    92                                 }).replace(/(\d+)\.([A-Za-z_])/, '($1).$2') + ')'); 
     92                                }).replace(/(\d+)\.([A-Za-z_])/g, '($1).$2') + ')'); 
    9393                                 
    9494                                // end "opera" code