travis-web/assets/scripts/app/components.coffee
Henrik Hodne db2d38a7af
Revert setting panel deploy
This seems to have caused issues with enabling the hooks for
repositories.
2014-02-12 09:14:47 -06:00

10 lines
222 B
CoffeeScript

Travis.TravisSwitchComponent = Ember.Component.extend
tagName: 'a'
classNames: ['travis-switch']
classNameBindings: ['active']
activeBinding: 'target.active'
click: ->
@sendAction('action', @get('target'))