Sha256: ea72d2665b1f1c05b703437adfd2caddadafc892d85fb17be272c53ab79ce0f6
Contents?: true
Size: 345 Bytes
Versions: 3
Compression:
Stored size: 345 Bytes
Contents
$(-> new Dispatcher ) class Dispatcher constructor: -> @initialize_page_scripts() initialize_page_scripts: -> page = $('body').attr('data-page') return false unless page path = page.split(':') contoller_name = path[0] action_name = path[1] switch page when 'products:show' new VariantSelector
Version data entries
3 entries across 3 versions & 1 rubygems