Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[examples] Added basic example

  • Loading branch information...
commit 456e03f937e1fe0072bd4963d5a59600df88e526 1 parent e998bb5
Marak Marak authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 examples/basic.js
8 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);
Please sign in to comment.
Something went wrong with that request. Please try again.