Sha256: d51db7606f5873853af4c594ebf1d0ff60b2321763babebcfdd8db19379cc3a0
Contents?: true
Size: 902 Bytes
Versions: 10
Compression:
Stored size: 902 Bytes
Contents
Transponder.services_manifest = -> # fill in your manifest here # example: # if you want to trigger a service on your entire app # $('body').trigger 'app_name:services:service_name' # # If you want a more fine grained control for # different pages you can add a class to your body # in your views/layouts/application.html.erb # on your body tag you can do something like this # # <body class="[controller_name] [action_name]"> # # You now have a more fine grained control in # your manifest file # $('body.posts.show').trigger 'app_name:services:service_name' # # if you need to trigger the same services on multiple pages # $('body.posts.show, # body.dashboard.show, # body.photos.index').trigger 'app_name:services:service_name' # run_ready = -> Transponder.services_manifest() $(document).ready run_ready $(document).on 'page:load', run_ready
Version data entries
10 entries across 10 versions & 1 rubygems