[Pkg-javascript-commits] [node-entities] 05/63: Removed unnecessary decodeXML function, fixed #1

Wolfgang Borgert debacle at moszumanska.debian.org
Mon Sep 22 08:15:44 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 dd89db335765a2538f070baae47841271dd1ce58
Author: Felix Böhm <me at feedic.com>
Date:   Thu Apr 19 16:48:05 2012 +0200

    Removed unnecessary decodeXML function, fixed #1
    
    it should have been overwritten anyways
---
 index.js | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/index.js b/index.js
index 9085ae8..0ca411d 100644
--- a/index.js
+++ b/index.js
@@ -49,13 +49,6 @@ module.exports = {
 	encode: function(data, level){
 		if(!modes[level]) level = 0;
 		return module.exports["encode" +modes[level]](data);
-	},
-	decodeXML: function(data){
-		return data
-		    .replace(regex, func)
-		    .replace(re_strictHex, strictHex_func)
-		    .replace(re_strictCharCode, strictNum_func);
-
 	}
 };
 

-- 
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