426,7 → 426,7 |
"jsx.object.getKeys() called on non-object"); |
} |
|
var names = []; |
var names = new Array(); |
|
for (var p in obj) |
{ |
463,10 → 463,8 |
|
if (typeof obj == "object" && obj == null) |
{ |
var result = {}; |
/*jshint -W103*/ |
var result = new Object(); |
result.__proto__ = null; |
/*jshint +W103*/ |
return result; |
} |
|
587,9 → 585,7 |
return Object.getPrototypeOf(o); |
} |
|
/*jshint -W103*/ |
return o.__proto__ || (o.constructor && o.constructor.prototype); |
/*jshint +W103*/ |
} |
|
function _createTypedObject (oOriginal) |
2112,7 → 2108,7 |
* </p> |
* @type boolean |
*/ |
emulate: true |
emulate: true, |
}); |
|
if (jsx.options.emulate) |
2190,7 → 2186,7 |
|
Object.keys._emulated = true; |
} |
|
|
if (typeof Object.values != "function") |
{ |
/** |
3086,8 → 3082,6 |
* <code>undefined</code> otherwise. |
*/ |
return function jsx_require (dependencies, callback) { |
var success; |
|
if (!_isArray(dependencies)) |
{ |
dependencies = [dependencies]; |
3245,7 → 3239,7 |
{ |
o[p] = thisArg || this; |
|
var a = []; |
var a = new Array(); |
for (var i = 0, len = argArray.length; i < len; i++) |
{ |
a[i] = "argArray[" + i + "]"; |
3270,7 → 3264,7 |
* Arguments for the object. |
*/ |
call: function (thisArg) { |
var a = []; |
var a = new Array(); |
|
for (var i = 1, len = arguments.length; i < len; i++) |
{ |
3412,7 → 3406,7 |
* @return {Date} Reference to the new instance |
*/ |
construct: function (argArray) { |
var a = []; |
var a = new Array(); |
for (var i = 0, len = argArray.length; i < len; ++i) |
{ |
a[i] = "argArray[" + i + "]"; |
3475,7 → 3469,7 |
_jsx.warn("for (var p in o.iterator()) { f(); } is inefficient," |
+ " consider using o.forEach(f, ...) instead"); |
|
var o = {}; |
var o = new Object(); |
|
for (var p2 in this) |
{ |
3778,6 → 3772,7 |
* @see ECMAScript Language Specification, 5.1 Edition, section 15.4.4.14 |
*/ |
indexOf: function (searchElement, fromIndex) { |
"use strict"; |
if (this === void 0 || this === null) |
{ |
throw new TypeError(); |
3948,4 → 3943,4 |
* @memberOf jsx.object.PropertyError.prototype |
*/ |
name: "jsx.object.PropertyError" |
}); |
}); |