keys.js 307 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 define(['./forOwn'], function (forOwn) { /** * Get object keys */ var keys = Object.keys || function (obj) { var keys = []; forOwn(obj, function(val, key){ keys.push(key); }); return keys; }; return keys; });