Sha256: 4ebbef621013a1950e6b6667360a9dabe5b6cb9509b75f3b8b9c12ec7cebccea

Contents?: true

Size: 226 Bytes

Versions: 2

Compression:

Stored size: 226 Bytes

Contents

@caissonMod = (names, fn) ->
  names = names.split '.' if typeof names is 'string'
  space = @[names.shift()] ||= {}
  space.caissonMod ||= @caissonMod
  if names.length
    space.caissonMod names, fn
  else
    fn.call space

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
caisson-0.0.3 app/assets/javascripts/caisson/module.coffee
caisson-0.0.2 app/assets/javascripts/caisson/module.coffee