Sha256: 28225fb41c24bdf42559fb3916ea07b1f3f9360a11210444309a3c20a80e1f30
Contents?: true
Size: 468 Bytes
Versions: 9
Compression:
Stored size: 468 Bytes
Contents
class Transponder.Service serviceName: null element: null constructor: -> throw new Transponder.InvalidService('no service name specified.') unless @serviceName? _this = this $(document).on _this.serviceName, (e) -> service = _this.serviceName.split(':').pop() $(".#{service}:not(#{service}_active)").each (i, e) -> _this.element = $(this) _this.element.addClass("#{service}_active") _this.serve() serve: ->
Version data entries
9 entries across 9 versions & 1 rubygems