Changeset 8307

Show
Ignore:
Timestamp:
04/26/07 11:09:23 (21 months ago)
Author:
sjmiles
Message:

Check for built-in constructors that do not expose "apply". Refs #2691.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/_base/declare.js

    r8299 r8307  
    110110                var c = arguments.callee, p = c.prototype, s = c.superclass;                     
    111111                // superclass instantiation 
    112                 if(s){s.constructor.apply(this, arguments);} 
     112                if(s&&s.constructor.apply){s.constructor.apply(this, arguments);} 
    113113                // initialize any mixins 
    114114                if(c.mixins){