Permalink
Browse files

[examples] Added basic example

  • Loading branch information...
1 parent e998bb5 commit 456e03f937e1fe0072bd4963d5a59600df88e526 @Marak Marak committed Nov 24, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 examples/basic.js
View
@@ -0,0 +1,8 @@
+var Plates = require('../lib/plates');
+
+var html = '<div id="test">Old Value</div>';
+var data = { "test": "New Value" };
+
+var output = Plates.bind(html, data);
+
+console.log(output);

0 comments on commit 456e03f

Please sign in to comment.