[Pkg-javascript-commits] [uglifyjs] 156/190: Export tokenizer function

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Aug 7 23:17:22 UTC 2016


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

terceiro pushed a commit to annotated tag upstream/2.7.0
in repository uglifyjs.

commit 5cb5305cf3a4dc075461630d5edd81cbfd04b9fc
Author: ChALkeR <chalkerx at gmail.com>
Date:   Tue Jun 7 12:25:16 2016 +0300

    Export tokenizer function
    
    In uglify-js at 1, both parser and tokenizer methods were exported
    
    This allows to use tokenizer() separately, e.g. to wrap or override it, as
    parse() method accepts not only text, but also tokenized functions.
---
 tools/exports.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/exports.js b/tools/exports.js
index 110b5c4..09acc13 100644
--- a/tools/exports.js
+++ b/tools/exports.js
@@ -14,5 +14,6 @@ exports["merge"] = merge;
 exports["parse"] = parse;
 exports["push_uniq"] = push_uniq;
 exports["string_template"] = string_template;
+exports["tokenizer"] = tokenizer;
 exports["is_identifier"] = is_identifier;
 exports["SymbolDef"] = SymbolDef;

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



More information about the Pkg-javascript-commits mailing list