aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.coffee
diff options
context:
space:
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 7fb6144b..3b2a59a4 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