Skip to content

Instantly share code, notes, and snippets.

@hoosteeno
Created September 17, 2015 02:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoosteeno/234178bac05262d7c9c8 to your computer and use it in GitHub Desktop.
Save hoosteeno/234178bac05262d7c9c8 to your computer and use it in GitHub Desktop.
how to create functions in kumascript
<%
tinker = function(path) {
var text = template('page', '/en-US/docs/Web');
text += "<p>I'M IN UR HTML ADDNG NOO MARKUPZ!</p>";
return text;
}
%>
<%-tinker('/en-US/docs/Web')%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment