Use x a bit more in support definition to prevent aggressive minifier modifications.

This commit is contained in:
jdalton
2015-04-01 21:42:57 -07:00
parent 4a8695caff
commit 9a1c00d2dc

View File

@@ -1000,11 +1000,11 @@
var support = lodash.support = {};
(function(x) {
var Ctor = function() { this.x = 1; },
object = { '0': 1, 'length': 1 },
var Ctor = function() { this.x = x; },
object = { '0': !x, 'length': 1 },
props = [];
Ctor.prototype = { 'valueOf': 1, 'y': 1 };
Ctor.prototype = { 'valueOf': x, 'y': x };
for (var key in new Ctor) { props.push(key); }
/**