From 277ee6876af0c187ff73eff83ed25ac391907e8f Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 27 Mar 2016 10:25:12 +0100 Subject: Remove copyObjectOmittingProperties(); not being used. --- lib/utils.coffee | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib') diff --git a/lib/utils.coffee b/lib/utils.coffee index c7f0a085..56f00dd2 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -193,12 +193,6 @@ Utils = # locale-sensitive uppercase detection hasUpperCase: (s) -> s.toLowerCase() != s - # Return a copy of object, but with some of its properties omitted. - copyObjectOmittingProperties: (obj, properties...) -> - obj = extend {}, obj - delete obj[property] for property in properties - obj - # Does string match any of these regexps? matchesAnyRegexp: (regexps, string) -> for re in regexps -- cgit v1.2.3