Skip to content

Commit

Permalink
Changed muti-line comment style.
Browse files Browse the repository at this point in the history
  • Loading branch information
5thWall committed Nov 30, 2013
1 parent dfbced9 commit 95a8041
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions tasks/mustache_render.js
@@ -1,4 +1,4 @@
/*
/**
* grunt-mustache-render
* https://github.com/5thWall/mustache-render
*
Expand All @@ -19,22 +19,26 @@ module.exports = function gruntTask(grunt) {
clear_cache : false
};

// Public: Create Object for rendering templates
//
// options - The Object options used to configure the renderer
// directory - The String base directory to look for partials (default: "")
// extension - The String extension for partials templates (default: ".mustache")
// prefix - The String common prefix for partials (default: "")
/**
* Public: Create Object for rendering templates
*
* options - The Object options used to configure the renderer
* directory - The String base directory to look for partials (default: "")
* extension - The String extension for partials templates (default: ".mustache")
* prefix - The String common prefix for partials (default: "")
*/
function GMR(options) {
this.options = options(DEFAULT_OPTIONS);
}

// Public: Render a template with the given data to the given destination
//
// template - The String path to the template to be rendered
// data - The String path to a JSON or YAML file
// The data Object
// dest - The String path to write the rendered template
/**
* Public: Render a template with the given data to the given destination
*
* template - The String path to the template to be rendered
* data - The String path to a JSON or YAML file
* The data Object
* dest - The String path to write the rendered template
*/
GMR.prototype.render = function render(data, template, dest) {
var renderFn = this._compileTemplate(template);
data = this._getData(data);
Expand Down

0 comments on commit 95a8041

Please sign in to comment.