Changeset 421
- Timestamp:
- 11/07/05 08:36:41 (8 years ago)
- Files:
-
- 1 modified
-
trunk/htmlarea.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.js
r419 r421 4333 4333 4334 4334 // check for array objects 4335 if (obj.constructor.toString(). indexOf("function Array(") == 1) {4335 if (obj.constructor.toString().match( /\s*function Array\(/ )) { 4336 4336 newObj = obj.constructor(); 4337 4337 } 4338 4338 4339 4339 // check for function objects (as usual, IE is fucked up) 4340 if (obj.constructor.toString(). indexOf("function Function(") == 1) {4340 if (obj.constructor.toString().match( /\s*function Function\(/ )) { 4341 4341 newObj = obj; // just copy reference to it 4342 4342 } else for (var n in obj) {
