aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-03-26 12:05:32 +0000
committerStephen Blott2016-03-26 12:05:32 +0000
commitebcfe61f785c9717065d4196b60198c2e10a462d (patch)
tree3c8dbe325a592e27eb7f664d53682b9e927e8227 /lib/utils.coffee
parent7875b5da15998fd4c3f705b08bc0a5972bddce25 (diff)
parent9bc02b6fe8329fc6342196070f68f1657075c3db (diff)
downloadvimium-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.coffee11
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