From b44fa43fe14aef4450842d17f19275d6888086c3 Mon Sep 17 00:00:00 2001 From: "Oleg Slobodskoi @oleg008" Date: Mon, 7 Mar 2011 11:58:25 +0100 Subject: [PATCH] support for express 2.0 --- lib/jqtpl.js | 4 +--- package.json | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/jqtpl.js b/lib/jqtpl.js index 1ae262f..c6dcbc6 100644 --- a/lib/jqtpl.js +++ b/lib/jqtpl.js @@ -1,5 +1,3 @@ -exports.x = __filename; - /*jslint evil: true*/ /** * Port of jQuery's Template Engine to Nodejs. @@ -174,7 +172,7 @@ exports.compile = function(markup, options) { } return tpl; - } + }; }; /** diff --git a/package.json b/package.json index e6a1ccc..817c409 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jqtpl", "description": "A port of jQuery's template engine", - "version": "0.0.100", + "version": "0.1.0", "author": "Oleg Slobodskoi ", "contributors": [ { "name": "John Resig", "email": "jeresig@gmail.com" }, @@ -16,7 +16,7 @@ "main": "./lib/jqtpl.js", "engines": { "node": ">= 0.3.7" }, "dependencies": { - "express": ">=1.0.7 || ~2.0" + "express": ">=1.0.7" }, "devDependencies": { "qunit": ">= 0.1.3"