Permalink
Browse files

Adding in links to readme, a few more helpful comments in the tmpl pl…

…ugin
  • Loading branch information...
1 parent 7ed8e77 commit b02a2a1d493dd0c5480a7a62b5f9bd5eca2ad674 @SlexAxton committed Sep 2, 2011
Showing with 11 additions and 0 deletions.
  1. +10 −0 README.md
  2. +1 −0 extras/tmpl.js
View
@@ -10,6 +10,16 @@ More or less, this is the same as the `handlebars` module in npm. It has the sam
https://github.com/kpdecker/handlebars.js
+## WTF is this
+
+I have a single wiki/doc on the who, what, and why, if you are interested in WTF this is:
+
+https://github.com/SlexAxton/sc-handlebars/wiki/Everything
+
+## Integration
+
+There's a requirejs plugin for adding this to your require app in the extras folder. It probably requires (no pun intended) some modification since there are no standard ways to include sproutcore into require (at least at this time).
+
## Version
1.0.2beta -- This just stays in sync with the last tested version of sproutcore handlebars.
View
@@ -207,6 +207,7 @@
buildMap[name] = content;
}
// START TMPL SPECIFICS
+ // TODO :: make sure on the clientside, that SC is known as this string, or change it.
require( ['sproutcore'], function ( SC ) {
// This strips all the paths and stuff to make the filename the template name.
// Feel free to change this logic if that isn't robust enough for you.

0 comments on commit b02a2a1

Please sign in to comment.