Skip to content

Commit

Permalink
Fix bad view.js example.
Browse files Browse the repository at this point in the history
  • Loading branch information
unconed committed May 30, 2011
1 parent eb1b6ed commit 10bdf1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Node-API.md
Expand Up @@ -156,14 +156,14 @@ out.print('Hello world');
// 'Print' a progressbar with ID 'progress', value 0% and range 0-100%.
var progressBar = view.progress('progress', 0, 0, 100);
out.add(null, progressBar);
out.print(progressBar);
// Change progress bar to 50%.
out.update('progress', { value: 50 });
// Create an empty list with ID 'list' and print it.
var list = view.list('list');
out.add(null, list);
out.print(list);
// Add two images to the list 'list'.
var item;
Expand Down

0 comments on commit 10bdf1a

Please sign in to comment.