Sha256: 30861770643dc3ce9a4c86678b8b313a39078ed372367ae4f5c4131dd36fe198

Contents?: true

Size: 307 Bytes

Versions: 4

Compression:

Stored size: 307 Bytes

Contents

$.extend({
  keys: function(object) {
    var result = [];
    for (var key in object) {
      result.push(key);
    }
    return result;
  },
  values: function(object) {
    var result = [];
    $.each($.keys(object), function(i, key) {
      result.push(object[key]);
    });
    return result;
  }
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rich_cms-2.0.2 lib/assets/jzip/jquery/extensions/object.js
rich_cms-2.0.1 lib/assets/jzip/jquery/extensions/object.js
rich_cms-2.0.0 lib/assets/jzip/jquery/extensions/object.js
rich_cms-1.0.0 lib/assets/jzip/jquery/extensions/object.js