Permalink
Browse files

Added Object.keys to the search app if it isn't already there.

  • Loading branch information...
Bram Stein authored and isaacs committed Jul 11, 2011
1 parent 1192221 commit cc91c442b42a45bb9f401fbd6c2e56b77631d77e
Showing with 4 additions and 0 deletions.
  1. +4 −0 www/app.js
View
@@ -137,6 +137,10 @@ ddoc.lists.dependencies_limit = function(head, req) {
};
ddoc.lists.search = function(head, req) {
+ Object.keys = Object.keys
+ || function (o) { var a = []
+ for (var i in o) a.push(i)
+ return a }
var set = {};
var rows = [];
while(row = getRow()) {

0 comments on commit cc91c44

Please sign in to comment.