Skip to content

Commit

Permalink
Revert "adding mote"
Browse files Browse the repository at this point in the history
This reverts commit 379c492.
  • Loading branch information
tj committed Oct 13, 2012
1 parent 2be92b3 commit 33b6461
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
20 changes: 0 additions & 20 deletions lib/consolidate.js
Expand Up @@ -552,24 +552,4 @@ exports.ect.render = function(str, options, fn){
var ECT = require('ect');
var engine = new ECT({ root: { page: str }});
engine.render('page', options, fn);
};

/**
* Swig support.
*/

exports.mote = fromStringRenderer('mote');

/**
* Swig string support.
*/

exports.mote.render = function(str, options, fn){
var engine = requires.mote || (requires.mote = require('mote'));
try {
var tmpl = cache(options) || cache(options, engine.compile(str));
fn(null, tmpl(options));
} catch (err) {
fn(err);
}
};
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -31,8 +31,7 @@
"mustache": "0.4.0",
"dot": "0.2.6",
"just": "0.1.8",
"ect": "0.2.10",
"mote": "0.2.0"
"ect": "0.2.10"
},
"main": "index",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions test/consolidate.js
Expand Up @@ -19,5 +19,4 @@ require('./shared').test('walrus');
require('./shared').test('mustache');
require('./shared').test('dot');
require('./shared').test('just');
require('./shared').test('ect');
require('./shared').test('mote');
require('./shared').test('ect');

0 comments on commit 33b6461

Please sign in to comment.