Sha256: fe80718c3200b4108a43bae985a67ab28f91fdd7ff4d96eb373579f8721c5082
Contents?: true
Size: 1.87 KB
Versions: 4
Compression:
Stored size: 1.87 KB
Contents
App.Views.Main = Users: {} Pages: {} Articles: {} App.Views.User = Articles: {} App.Views.Admin = Users: {} App.Views.Layouts = {} App.Views.Shared = {} loco = new App.Loco # set to true if you if have enabled turbolinks turbolinks: false # false by default # your browser's app will periodically be checking for new notifications via ajax polling notifications: enable: false # false by default #pollingTime: 3000 # 3000 ms by default # display upcoming notifications in browser's console e.g. for debugging #log: true # false by default #ssl: false # your current protocol by default # location must the same as where you mount Loco in routes.rb #location: 'notification-center' # 'notification-center' by default # max number of notifications that is fetched at once via ajax pooling # must be the same as notifications_size defined in initializers/loco.rb # next batch of notifications will be fetched immediately after max size is reached #size: 100 # 100 by default # after this time your current namespace controller / controller instance method # disconnectedForTooLong: will be called with the 'time since disconnection' passed as an argument #allowedDisconnectionTime: 10 # 10 by default [sec] #locale: 'en' # 'en' by default # if provided - loco will be using absolute path instead of site-root-relative path in all xhr requests #protocolWithHost: 'https://example.com' # this method is called at the end, after given controller methods has been called # at this time Loco's instance is initialized and you can use it to change behaviour of your browser app # e.g. polling interval -> App.Env.loco.getWire().setPollingTime <time> #postInit: -> loco.init()
Version data entries
4 entries across 4 versions & 1 rubygems