diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-08 21:49:13 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-08 21:49:13 -0400 |
| commit | de69a2d716fe9d6a0611322f63ec943bb0fb6234 (patch) | |
| tree | 5af04be606f4fb5d266c81d9974d4555c1628158 /examples | |
| parent | 06ef2f2337dd349af160e2c50dbef76f68f406d5 (diff) | |
css
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/db.json | 9 | ||||
| -rw-r--r-- | examples/index.js | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/examples/db.json b/examples/db.json index 1d0cba4..e0ea06b 100644 --- a/examples/db.json +++ b/examples/db.json @@ -2,9 +2,9 @@ "meta": [], "bread": [ { - "type": "rye", - "description": "really a very tasty bread!", - "id": "rye" + "type": "pretzel", + "description": "really a very tasty bread! yup yes", + "id": "pretzel" }, { "type": "bagel", @@ -14,7 +14,8 @@ { "type": "pumpernickel", "description": "grandma's recipe", - "id": "pumpernickel" + "id": "pumpernickel", + "title": "Pumpernickel" } ], "page": [ diff --git a/examples/index.js b/examples/index.js index e55b717..d64f2f9 100644 --- a/examples/index.js +++ b/examples/index.js @@ -12,6 +12,7 @@ var app = okcms.createApp({ }, bread: { type: {type: 'string', id: true}, + title: {type: 'string'}, description: {type: 'string'} } }, |
