Permalink
Browse files

Fix a typo

  • Loading branch information...
1 parent 5d73187 commit 4cfab6c3ec38b3b68716d6f035f6c377690f01cf Tim Caswell committed Aug 13, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.markdown
  2. +1 −1 memresourced.js
View
@@ -32,7 +32,7 @@ controller generator that makes building a simple in-memory data controller easy
];
function on_change(id) {
- node.debug(id, JSON.stringify(people(id)));
+ node.debug(id, JSON.stringify(people[id]));
}
function onLoad() {
View
@@ -7,7 +7,7 @@ var people = [
];
function on_change(id) {
- node.debug(id, JSON.stringify(people(id)));
+ node.debug(id, JSON.stringify(people[id]));
}
function onLoad() {

0 comments on commit 4cfab6c

Please sign in to comment.