Sha256: 1233fac65ac6c2d8a7db5323e165111aed611633719088306c8f0d39681db5b2

Contents?: true

Size: 203 Bytes

Versions: 1

Compression:

Stored size: 203 Bytes

Contents

# Returns a copy of the given array with duplicates removed.
modularity.array_unique = (array) ->
  output = {}
  output[array[i]] = array[i] for i in [0...array.length]
  value for key, value of output

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
modularity-rails-0.9.2 vendor/assets/javascripts/tools/array_tools.coffee