app/assets/javascripts/active_admin/components/jquery.aa.checkbox-toggler.js.coffee in activeadmin-0.6.0 vs app/assets/javascripts/active_admin/components/jquery.aa.checkbox-toggler.js.coffee in activeadmin-0.6.1

- old
+ new

@@ -1,6 +1,6 @@ -window.AA.CheckboxToggler = class AA.CheckboxToggler +window.ActiveAdmin.CheckboxToggler = class ActiveAdmin.CheckboxToggler constructor: (@options, @container)-> defaults = {} @options = $.extend {}, defaults, options @_init() @_bind() @@ -32,6 +32,6 @@ @checkboxes.each (index, el)=> $(el).prop checked: setting @_didChangeCheckbox(el) jQuery ($)-> - $.widget.bridge 'checkboxToggler', AA.CheckboxToggler + $.widget.bridge 'checkboxToggler', ActiveAdmin.CheckboxToggler