I hereby claim:
- I am ronniesan on github.
- I am ronniesan (https://keybase.io/ronniesan) on keybase.
- I have a public key whose fingerprint is 23E7 4136 A591 A22B DC66 2224 A1A8 EDB6 635D F036
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// ---------------------------------------------------------------------- | |
// CLONE CHILDREN | |
// Recursively clone children and add props to filtered elements | |
// ---------------------------------------------------------------------- | |
// Import dependencies | |
import React from 'react'; | |
// Array.some polyfill | |
if (!Array.prototype.some) { |
/* | |
* DYNAMIC FILTERING FOR RETHINKDB | |
* Accepts an object with property values to match | |
* Array values will match any of | |
* filters = {name: 'Iron Man', identity: ['Tony Stark', 'Anthony Stark']}; | |
*/ | |
r.table('test').filter(function(row) { | |
// Create a placeholder for the predicates | |
var predicates = []; |