[Pkg-javascript-commits] [node-expat] 237/371: fixing the default param to be \b

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit ffddb9ea3d7e6528384756fe6f29a580e80805bc
Author: julien <julien.genestoux at gmail.com>
Date:   Wed Jan 8 14:04:11 2014 +0100

    fixing the default param to be \b
---
 test.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test.js b/test.js
index 9cec0e4..46bb447 100644
--- a/test.js
+++ b/test.js
@@ -212,11 +212,10 @@ vows.describe('node-expat').addBatch({
             try {
               var d =  iconv.convert(new Buffer([i])).toString();
             } catch (e) {
-              d = "?";
+              d = '\b';
             }
             map[i] = d.charCodeAt(0);
           }
-          console.log(map)
           p.setUnknownEncoding(map);
         });
         var text = "";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list