Ticket #26438: 26438.patch
File 26438.patch, 877 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/js/customize-base.js
255 255 256 256 /** 257 257 * Internal recursive comparison function for `isEqual`. 258 * Copied from Underscore.js.258 * Modified version from Underscore.js v1.5.2. 259 259 */ 260 260 /* jshint ignore:start */ 261 261 _eq: function(a, b, aStack, bStack) { 262 262 if (a === b) return a !== 0 || 1 / a == 1 / b; 263 263 if (a == null || b == null) return a === b; 264 264 265 var className = toString.call(a);266 if (className != toString.call(b)) return false;265 var className = Object.prototype.toString.call(a); 266 if (className != Object.prototype.toString.call(b)) return false; 267 267 switch (className) { 268 268 case '[object String]': 269 269 return a == String(b);