[Pkg-javascript-commits] [uglifyjs] 321/491: remove unused code (#2579)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:49 UTC 2018


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

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit c43118be4f8938a3c1d12f836d80c334cba76656
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date:   Mon Dec 11 17:39:08 2017 +0800

    remove unused code (#2579)
    
    fixes #2577
---
 lib/utils.js | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/lib/utils.js b/lib/utils.js
index 7630691..102c478 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -43,10 +43,6 @@
 
 "use strict";
 
-function slice(a, start) {
-    return Array.prototype.slice.call(a, start || 0);
-};
-
 function characters(str) {
     return str.split("");
 };
@@ -214,18 +210,6 @@ function mergeSort(array, cmp) {
     return _ms(array);
 };
 
-function set_difference(a, b) {
-    return a.filter(function(el){
-        return b.indexOf(el) < 0;
-    });
-};
-
-function set_intersection(a, b) {
-    return a.filter(function(el){
-        return b.indexOf(el) >= 0;
-    });
-};
-
 // this function is taken from Acorn [1], written by Marijn Haverbeke
 // [1] https://github.com/marijnh/acorn
 function makePredicate(words) {

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