Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

now referencing submodule for helpers

  • Loading branch information...
commit a68345b666c4a9bc8cad074c21467cda5c3a5432 1 parent c7b0438
@sintaxi sintaxi authored
Showing with 12 additions and 11 deletions.
  1. +12 −11 js/bootstrap.js
View
23 js/bootstrap.js
@@ -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"});
Please sign in to comment.
Something went wrong with that request. Please try again.