diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-09 02:03:06 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-09 02:03:06 -0400 |
| commit | 62fc7c328c78f5aff5a4f7ec95a5631c7d4e204b (patch) | |
| tree | 4af548951cacacb8852850ea74bf7a82b523016b /examples | |
| parent | 6d075a940b30c186e8b668316c5f51fbcb47e78e (diff) | |
| parent | c5e38d7f48e2b5d6ce5ea70f7337f983e55969d6 (diff) | |
mergez
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/db.json | 40 | ||||
| -rw-r--r-- | examples/index.js | 2 |
2 files changed, 38 insertions, 4 deletions
diff --git a/examples/db.json b/examples/db.json index f7936d5..6c2d428 100644 --- a/examples/db.json +++ b/examples/db.json @@ -6,18 +6,52 @@ "description": "really a very tasty bread! yup yes", "color": "green", "id": "pretzel", - "title": "Pretzel Chips" + "title": "Pretzel Chips", + "images": [ + { + "uri": "cool", + "caption": "cool" + } + ], + "video": { + "url": "", + "type": "", + "token": "", + "title": "", + "thumb": "" + } }, { "type": "bagel", "description": "very good and dense bread", - "id": "bagel" + "id": "bagel", + "title": "nice", + "color": "blue", + "images": [ + { + "uri": "http://del.h-cdn.co/assets/cm/15/10/54f928d7ada8d_-_1347910942518.jpg", + "caption": "boop" + } + ], + "video": { + "url": "https://vimeo.com/112498725", + "type": "vimeo", + "token": "112498725", + "title": "FW14-2H-VIDEO-V4 2", + "thumb": "http://i.vimeocdn.com/video/497493142_640.jpg" + } }, { "type": "pumpernickel", "description": "grandma's recipe", "id": "pumpernickel", - "title": "Pumpernickel" + "title": "Pumpernickel", + "images": [ + { + "uri": "cool", + "caption": "cool" + } + ] } ], "page": [ diff --git a/examples/index.js b/examples/index.js index 1a5fbbe..95d2bcf 100644 --- a/examples/index.js +++ b/examples/index.js @@ -16,7 +16,7 @@ var app = okcms.createApp({ description: {type: 'text'}, color: {type: 'enum', options: ["red","blue","green"]}, video: {type: 'video'}, - images: {type: 'images'}, + images: {type: 'captioned-image-list'} } }, |
