Sha256: fbf988813be26b74631ba8c8dc07e2fdc8716f49e3a7730b62db9184b18a11c9
Contents?: true
Size: 401 Bytes
Versions: 6
Compression:
Stored size: 401 Bytes
Contents
@namespace = (nspace, payload, context) -> payload = payload || {} context = context || window parts = nspace.split "." parent = context currentPart = "" while currentPart = parts.shift() if parts.length != 0 parent[currentPart] = parent[currentPart] || {} else parent[currentPart] = parent[currentPart] || payload parent = parent[currentPart] payload parent
Version data entries
6 entries across 6 versions & 1 rubygems