Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "adding mote"

This reverts commit 379c492.
  • Loading branch information...
commit 33b64612407b5df2917ba10f7cc771917d37ee5b 1 parent 2be92b3
@tj authored
Showing with 2 additions and 24 deletions.
  1. +0 −20 lib/consolidate.js
  2. +1 −2  package.json
  3. +1 −2  test/consolidate.js
View
20 lib/consolidate.js
@@ -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);
- }
};
View
3  package.json
@@ -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": {
View
3  test/consolidate.js
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.