Commits

Ralph Bean  committed 6c18a10

Added .keys() js util function.

  • Participants
  • Parent commits 47de16c

Comments (0)

Files changed (1)

File tw2/d3/static/ext/bar.js

                 tw2.store[selector].data[index].value + 1;
             }
         },
+        keys: function(selector) {
+            var keys = [];
+            for (var i = 0; i < tw2.store[selector].data.length; i++) {
+                keys.push(tw2.store[selector].data[i].key);
+            }
+            return keys;
+        },
     },
 
     bar: {