Permalink
Browse files

adding compression notice

  • Loading branch information...
1 parent fd21e90 commit 20353296f0615aa0ba7f4afa1b48aa60d268f6b0 @addyosmani committed May 14, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 README.md
  2. +1 −0 microtemplatez.min.js
View
2 README.md
@@ -1,4 +1,4 @@
-A very compact micro-templating solution created for learning purposes.
+A very compact micro-templating solution created for learning purposes. Currently 0.2KB minified
### Sample usage
View
1 microtemplatez.min.js
@@ -0,0 +1 @@
+var templatez=function(){return function(a,b){return a.replace(RegExp("{{\\s*([a-z0-9_][\\.a-z0-9_]*)\\s*}}","gi"),function(a,c){var d=c.split("."),e=d.length,f=b,g=0;for(g=0;g<e;g++){f=f[d[g]];if(g===e-1)return f}})}}()

0 comments on commit 2035329

Please sign in to comment.