From c20544d977d5828db9149597d1971c8bae3d97b0 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 1 Oct 2015 09:36:10 +0100 Subject: [PATCH 1/2] Update mdurl dependency --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 45e5547..2be36f0 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "argparse": "~1.0.2", "entities": "~1.1.1", "linkify-it": "~1.2.0", - "mdurl": "~1.0.0", + "mdurl": "~1.0.1", "uc.micro": "^1.0.0" }, "devDependencies": { From 0a6ecd942b0af6e6df4cdde0ce20a878467dfc78 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 1 Oct 2015 09:36:49 +0100 Subject: [PATCH 2/2] Change variable name to remove reserved keyword --- lib/common/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/utils.js b/lib/common/utils.js index 9a8bcee..aa2464e 100644 --- a/lib/common/utils.js +++ b/lib/common/utils.js @@ -186,8 +186,8 @@ function isWhiteSpace(code) { var UNICODE_PUNCT_RE = require('uc.micro/categories/P/regex'); // Currently without astral characters support. -function isPunctChar(char) { - return UNICODE_PUNCT_RE.test(char); +function isPunctChar(ch) { + return UNICODE_PUNCT_RE.test(ch); }