Skip to content

Instantly share code, notes, and snippets.

@that1guy
Created August 25, 2017 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save that1guy/6480c5f6aed3b6233c2ec69d5cff6fc4 to your computer and use it in GitHub Desktop.
Save that1guy/6480c5f6aed3b6233c2ec69d5cff6fc4 to your computer and use it in GitHub Desktop.
These models will be used to add BARIES filter to tours view.
var bareis = {
"tuesday": ["sonoma", "solano"],
"wednesday": ["marin", "sonoma", "solano", "napa", "mendocino"],
"thursday": ["marin", "sonoma", "napa"],
"friday": ["sonoma", "napa"]
};
var counties = {
"marin": [
{id: "285", title: "Novato"},
{id: "???????", title: "West Marin????????"},
{id: "???????", title: "South Marin????????"},
{id: "???????", title: "Central Marin????????"}
],
"sonoma": [
{id: "3801", title: "Santa Rosa"},
{id: "346", title: "Russian River"},
{id: "347", title: "Sebastopol"},
{id: "356", title: "Cloverdale"},
{id: "348", title: "Petaluma East"},
{id: "349", title: "Petaluma West"},
{id: "344", title: "Healdsburg"},
{id: "352", title: "Sonoma"},
{id: "350", title: "Cotati/Rohnert Park"},
{id: "3359", title: "Windsor"}
],
"napa": [
{id: "361", title: "Napa"},
{id: "365", title: "American Canyon"},
{id: "???????", title: "Up Valley????????"}
],
"solano": [
{id: "3811", title: "Fairfield"},
{id: "3807", title: "Vallejo"}
],
"mendocino": [
{id: "4271", title: "Ukiah"}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment