Skip to content

Commit

Permalink
Revert some local testing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
seancorfield committed Jul 13, 2015
1 parent a4dad1e commit 8bf041f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions examples/render/controllers/render.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down
2 changes: 1 addition & 1 deletion examples/todos/assets/todo.json
Original file line number Diff line number Diff line change
@@ -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!"}}
{"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"}}

0 comments on commit 8bf041f

Please sign in to comment.