This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
entry(id: 1234) { | |
ledeImage { | |
river: ratio(...), | |
hero_oneup: ratio(...), | |
image_above: ratio(...) | |
} | |
} | |
# The API knows to fetch from various database sources, | |
# and returns full names vs usernames according to community rules, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* not so simple check for object equality | |
*/ | |
var equal = function(a, b) { | |
function check(a, b) { | |
for (var attr in a) { | |
if (a.hasOwnProperty(attr) && b.hasOwnProperty(attr)) { | |
if (a[attr] != b[attr]) { | |
switch (a[attr].constructor) { | |
case Object: |