From 8bf041ffca718ec70f3c4fb55c48a141b5c7a779 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Sun, 12 Jul 2015 20:01:26 -0700 Subject: [PATCH] Revert some local testing changes --- examples/render/controllers/render.cfc | 3 +-- examples/todos/assets/todo.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/render/controllers/render.cfc b/examples/render/controllers/render.cfc index 3be91c7d..592e8660 100644 --- a/examples/render/controllers/render.cfc +++ b/examples/render/controllers/render.cfc @@ -19,8 +19,7 @@ component { } public void function jsonObject( struct rc ) { - // variables.fw.renderData( 'json', [ "An", "array", { "containing" = "data" } ] ); - variables.fw.renderData( 'json', [], 200 ); + variables.fw.renderData( 'json', [ "An", "array", { "containing" = "data" } ] ); } public void function jsonString( struct rc ) { diff --git a/examples/todos/assets/todo.json b/examples/todos/assets/todo.json index 91f9abb3..4f9f9022 100644 --- a/examples/todos/assets/todo.json +++ b/examples/todos/assets/todo.json @@ -1 +1 @@ -{"6":{"status":"Complete","title":"Feed the cat"},"2":{"status":"Pending","title":"Clean the toilet"},"8":{"status":"Pending","title":"Vote in the elections"},"9":{"status":"Pending","title":"Go to Pride!"}} \ No newline at end of file +{"6":{"status":"Complete","title":"Feed the cat"},"2":{"status":"Pending","title":"Clean the toilet"},"8":{"status":"Pending","title":"Vote in the elections"},"9":{"status":"New","title":"Test the new todos app"}}