Commits

Kazunori Ninomiya committed d0e4810

README.md fix

Comments (0)

Files changed (2)

 
 install via npm
 
-    npm install npm install git+ssh://git@bitbucket.org:2no/grunt-ect.git
+    npm install git+ssh://git@bitbucket.org:2no/grunt-ect.git
 
 and in your Gruntfile.js file:
 
 
 module.exports = function(grunt)
 {
-  var fs  = require('fs'),
-      ECT = require('ect');
+  var fs  = require('fs')
+    , ECT = require('ect');
 
   grunt.registerMultiTask('ect', 'generates an html file from a ect template', function() {
-    var html, renderer,
-        data    = this.data,
-        options = data.options || {},
-        done    = this.async();
+    var html
+      , renderer
+      , data    = this.data
+      , options = data.options || {}
+      , done    = this.async();
 
     if (typeof options['watch'] !== 'undefined') {
-        delete options['watch'];
+      delete options['watch'];
     }
     renderer = new ECT(options);