[Pkg-javascript-commits] [node-jade] 05/10: Patch 0000_import_void-elements.patch: refresh.

Jelmer Vernooij jelmer at moszumanska.debian.org
Sun Jul 3 18:02:40 UTC 2016


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

jelmer pushed a commit to branch 0.11-packaging
in repository node-jade.

commit 8fa2de0f152408168432c41f2e5c9a435e5b138f
Author: Jelmer Vernooij <jelmer at jelmer.uk>
Date:   Sun Jul 3 16:42:02 2016 +0000

    Patch 0000_import_void-elements.patch: refresh.
---
 debian/changelog                               |  1 +
 debian/patches/0000_import_void-elements.patch | 16 +++++++++-------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2d82f50..bf74cc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ node-jade (1.11.0-1) UNRELEASED; urgency=medium
   [ Jelmer Vernooij ]
   * New upstream release.
   * Patch 0001_fix_nodejs_shebang.path: Refresh.
+  * Patch 0000_import_void-elements.patch: refresh.
 
  -- Jelmer Vernooij <jelmer at debian.org>  Sun, 03 Jul 2016 16:36:55 +0000
 
diff --git a/debian/patches/0000_import_void-elements.patch b/debian/patches/0000_import_void-elements.patch
index df5d04a..a46c57b 100644
--- a/debian/patches/0000_import_void-elements.patch
+++ b/debian/patches/0000_import_void-elements.patch
@@ -54,14 +54,16 @@ Last-Update: 2014-10-10
  var parseJSExpression = require('character-parser').parseMax;
  var constantinople = require('constantinople');
  
---- a/lib/jade.js
-+++ b/lib/jade.js
-@@ -22,7 +22,7 @@
-  * Expose self closing tags.
-  */
+diff --git a/lib/index.js b/lib/index.js
+index 7d734e5..d689d79 100644
+--- a/lib/index.js
++++ b/lib/index.js
+@@ -24,7 +24,7 @@ var Parser = require('./parser')
  
--exports.selfClosing = require('void-elements');
-+exports.selfClosing = require('./voidElements');
+ // FIXME: either stop exporting selfClosing in v2 or export the new object
+ // form
+-exports.selfClosing = Object.keys(require('void-elements'));
++exports.selfClosing = Object.keys(require('voidElements'));
  
  /**
   * Default supported doctypes.

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



More information about the Pkg-javascript-commits mailing list