Skip to content

Commit

Permalink
[fix] 'Plates' because of client-side code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfhbrook committed Nov 16, 2011
1 parent f0ced57 commit 0a7f585
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ Create an instance of the constructor, provide it html and data. Do something in


```js ```js


var Plate = require('plates'); var Plates = require('plates');


var html = '<div id="test">Old Value</div>'; var html = '<div id="test">Old Value</div>';
var data = { "test": "New Value" }; var data = { "test": "New Value" };


var plate = new Plate(html, data); var plate = new Plates(html, data);


var output = plate.bind(); var output = plate.bind();


Expand Down Expand Up @@ -60,7 +60,7 @@ Create an instance of the constructor, provide it html and data. Append the new
var html = '<div id="test">Old Value</div>'; var html = '<div id="test">Old Value</div>';
var data = { "test": "New Value" }; var data = { "test": "New Value" };
var output = new Plate(html, data).bind(); var output = new Plates(html, data).bind();
// //
// with the output, append it to the current document or use it however you want. // with the output, append it to the current document or use it however you want.
Expand Down

0 comments on commit 0a7f585

Please sign in to comment.