Sha256: 98b60435389766a1b03b21ed31cf777df73273fcb393a92bba9d032101d842b1
Contents?: true
Size: 513 Bytes
Versions: 69
Compression:
Stored size: 513 Bytes
Contents
define(['./hasOwn', './forIn'], function (hasOwn, forIn) { /** * Similar to Array/forEach but works over object properties and fixes Don't * Enum bug on IE. * based on: http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation */ function forOwn(obj, fn, thisObj){ forIn(obj, function(val, key){ if (hasOwn(obj, key)) { return fn.call(thisObj, obj[key], key, obj); } }); } return forOwn; });
Version data entries
69 entries across 69 versions & 2 rubygems