Sha256: 6a4255a1703ed78d087896ee7614112507aae1743cacdedc93cd5780836613a5
Contents?: true
Size: 325 Bytes
Versions: 5
Compression:
Stored size: 325 Bytes
Contents
if Function::name is `undefined` and Object.defineProperty isnt `undefined` Object.defineProperty Function::, "name", get: -> funcNameRegex = /function\s([^(]{1,})\(/ results = (funcNameRegex).exec(@toString()) (if (results and results.length > 1) then results[1].trim() else "") set: (value) ->
Version data entries
5 entries across 5 versions & 1 rubygems