diff options
| author | Stephen Blott | 2016-03-26 12:05:32 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-03-26 12:05:32 +0000 |
| commit | ebcfe61f785c9717065d4196b60198c2e10a462d (patch) | |
| tree | 3c8dbe325a592e27eb7f664d53682b9e927e8227 /lib/utils.coffee | |
| parent | 7875b5da15998fd4c3f705b08bc0a5972bddce25 (diff) | |
| parent | 9bc02b6fe8329fc6342196070f68f1657075c3db (diff) | |
| download | vimium-ebcfe61f785c9717065d4196b60198c2e10a462d.tar.bz2 | |
Merge pull request #2062 from smblott-github/rework-visual-mode
Rework visual mode
Diffstat (limited to 'lib/utils.coffee')
| -rw-r--r-- | lib/utils.coffee | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee index 31f4bec6..60d29998 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -197,17 +197,6 @@ Utils = # locale-sensitive uppercase detection hasUpperCase: (s) -> s.toLowerCase() != s - # Give objects (including elements) distinct identities. - getIdentity: do -> - identities = [] - - (obj) -> - index = identities.indexOf obj - if index < 0 - index = identities.length - identities.push obj - "identity-" + index - # Return a copy of object, but with some of its properties omitted. copyObjectOmittingProperties: (obj, properties...) -> obj = extend {}, obj |
