Permalink
Browse files

now referencing submodule for helpers

  • Loading branch information...
1 parent c7b0438 commit a68345b666c4a9bc8cad074c21467cda5c3a5432 @sintaxi sintaxi committed Jul 17, 2009
Showing with 12 additions and 11 deletions.
  1. +12 −11 js/bootstrap.js
View
@@ -1,16 +1,17 @@
system.use("com.joyent.Sammy");
+system.use("smart-helpers.init");
-function render(that, temp, args){
- if (!args){ args = {};}
-
- that.partial = function(part, i){
- that.item = i || {};
- return template(part);
- }
-
- that.catch_content = template(temp);
- return template("layouts/" + (args.layout || "application.html"));
-}
+// function render(that, temp, args){
+// if (!args){ args = {};}
+//
+// that.partial = function(part, i){
+// that.item = i || {};
+// return template(part);
+// }
+//
+// that.catch_content = template(temp);
+// return template("layouts/" + (args.layout || "application.html"));
+// }
GET("/", function(){
return render(this, "index.html", {layout:"docs.html"});

0 comments on commit a68345b

Please sign in to comment.