Created
January 7, 2015 20:28
-
-
Save Blue-Dog-Archolite/1f3cc9b7bce8bb6a94ae to your computer and use it in GitHub Desktop.
array hash
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
sources = | |
[ | |
{ | |
value: "text" | |
name: "Text" | |
}, | |
{ | |
value: "date_range" | |
name: "Date" | |
}, | |
{ | |
value: "moderation_status" | |
name: "Status" | |
} | |
] | |
sources2 = [ | |
{ | |
value: "More text" | |
name: "Text" | |
}, | |
{ | |
value: "other date_range" | |
name: "Date" | |
}, | |
{ | |
value: "new moderation_status" | |
name: "Status" | |
} | |
] | |
new_sources should be value of source + source2 | |
so | |
[{ name:"Status", value: "moderation_status new moderation_status"}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment