[Pkg-javascript-commits] [node-entities] 44/63: moved {en, de}code.js to lib/
Wolfgang Borgert
debacle at moszumanska.debian.org
Mon Sep 22 08:15:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository node-entities.
commit a72dd0485ceec8b0ca77bf7ac0b3b25e2cbafa39
Author: fb55 <me at feedic.com>
Date: Mon Mar 17 20:30:25 2014 +0100
moved {en,de}code.js to lib/
---
index.js | 4 ++--
decode.js => lib/decode.js | 0
encode.js => lib/encode.js | 0
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.js b/index.js
index f8d1737..220d5ef 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,5 @@
-var encode = require("./compile.js"),
- decode = require("./decode.js");
+var encode = require("./lib/compile.js"),
+ decode = require("./lib/decode.js");
exports.decode = function(data, level){
return (!level || level <= 0 ? decode.XML : decode.HTML)(data);
diff --git a/decode.js b/lib/decode.js
similarity index 100%
rename from decode.js
rename to lib/decode.js
diff --git a/encode.js b/lib/encode.js
similarity index 100%
rename from encode.js
rename to lib/encode.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-entities.git
More information about the Pkg-javascript-commits
mailing list