diff options
| author | Stephen Blott | 2016-03-27 10:25:12 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-03-27 10:25:12 +0100 |
| commit | 277ee6876af0c187ff73eff83ed25ac391907e8f (patch) | |
| tree | fe5ebf63d4a259983d336ab6826d40d3737b5f20 /lib | |
| parent | 6af7cae45c498628c7052116cedccc369e9fbe64 (diff) | |
| download | vimium-277ee6876af0c187ff73eff83ed25ac391907e8f.tar.bz2 | |
Remove copyObjectOmittingProperties(); not being used.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/utils.coffee | 6 |
1 files changed, 0 insertions, 6 deletions
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 |
