Sha256: 77381377dc32c02b2bd212303395ed5e16bd6f3c34df6f7e5b58f11fe6d184c0
Contents?: true
Size: 629 Bytes
Versions: 4
Compression:
Stored size: 629 Bytes
Contents
Luca.stats = {} Luca.stats.reset = ()-> Luca.__stats = {} Luca.stats.increment = (counter)-> Luca.__stats ||= {} Luca.__stats[counter] ||= 1 Luca.__stats[counter] = Luca.__stats[counter] + 1 Luca.__stats[counter] Luca.stats.report = ()-> console.log "Stats..." for key, value of Luca.__stats console.log key, value Luca.warn = (args...)-> return unless Luca.config.showWarnings is true if Luca.isComponent(@) args.unshift( @identifier() ) args.unshift("Warning:") console.log args... Luca.log = (args...)-> if Luca.isComponent(@) args.unshift( @identifier() ) console.log args...
Version data entries
4 entries across 4 versions & 1 rubygems