I"T(function() { var loco; App.Views.Main = {}; App.Views.Main.Users = {}; App.Views.Main.Pages = {}; App.Views.Main.Articles = {}; App.Views.User = {}; App.Views.User.Articles = {}; App.Views.Admin = {}; App.Views.Admin.Users = {}; App.Views.Admin.Articles = {}; App.Views.Admin.Comments = {}; App.Views.Layouts = {}; App.Views.Shared = {}; loco = new App.Loco({ turbolinks: true, notifications: { enable: true, pollingTime: 3000, log: true, ssl: false, location: 'notification-center', size: 10, allowedDisconnectionTime: 10 }, locale: 'en', postInit: function() { var time; time = $('body').data('rails-env') === 'test' ? 1000 : 3000; return App.Env.loco.getWire().setPollingTime(time); } }); loco.init(); }).call(this); :ET