Browse Source

fix rake commonjs

tags/0.3.0
Jan Lehnardt 16 years ago
parent
commit
90f93aa7e3
2 changed files with 13 additions and 0 deletions
  1. +7
    -0
      mustache-commonjs/mustache.js.tpl.post
  2. +6
    -0
      mustache-commonjs/mustache.js.tpl.pre

+ 7
- 0
mustache-commonjs/mustache.js.tpl.post View File

@@ -0,0 +1,7 @@

exports.name = Mustache.name;
exports.version = Mustache.version;

exports.to_html = function() {
return Mustache.to_html.apply(this, arguments);
};

+ 6
- 0
mustache-commonjs/mustache.js.tpl.pre View File

@@ -0,0 +1,6 @@
/*
* CommonJS-compatible mustache.js module
*
* See http://github.com/janl/mustache.js for more info.
*/


Loading…
Cancel
Save