-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError: app is not defined in main.js #186
Comments
Are you using master? |
I am using master 2013-12-06 02:11:52.974 - info: [caspa_server] Debugging backend: use=[undefined], stack=[context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:12:36.364 - info: [caspa_server] �[90mGET /lib/head.min.js �[32m200 �[90m149ms�[0m 2013-12-06 02:12:36.370 - info: [caspa_server] �[90mGET /css/main.css �[32m200 �[90m159ms�[0m 2013-12-06 02:12:39.996 - info: [caspa_server] �[90mGET /css/bootstrap-responsive.css �[32m200 �[90m60ms�[0m 2013-12-06 02:12:39.997 - info: [caspa_server] �[90mGET /css/bootstrap-docs.css �[32m200 �[90m58ms�[0m 2013-12-06 02:12:39.998 - info: [caspa_server] �[90mGET /css/airtime/pro_dropdown_3.css �[32m200 �[90m53ms�[0m 2013-12-06 02:12:40.002 - info: [caspa_server] �[90mGET /css/airtime/styles.css �[32m200 �[90m58ms�[0m 2013-12-06 02:12:40.002 - info: [caspa_server] �[90mGET /css/bootstrap.min.css �[32m200 �[90m69ms�[0m 2013-12-06 02:12:40.014 - info: [caspa_server] �[90mGET /css/airtime/showbuilder.css �[32m200 �[90m12ms�[0m 2013-12-06 02:12:40.018 - info: [caspa_server] �[90mGET /css/airtime/masterpanel.css �[32m200 �[90m18ms�[0m 2013-12-06 02:12:40.019 - info: [caspa_server] �[90mGET /css/fullcalendar.css �[32m200 �[90m76ms�[0m 2013-12-06 02:12:40.020 - info: [caspa_server] �[90mGET /css/backbone.modal.css �[32m200 �[90m14ms - 416b�[0m 2013-12-06 02:12:40.021 - info: [caspa_server] �[90mGET /css/airtime/redmond/jquery-ui-1.8.8.custom.css �[32m200 �[90m17ms�[0m 2013-12-06 02:12:40.024 - info: [caspa_server] �[90mGET /css/visualsearch-datauri.css �[32m200 �[90m20ms�[0m 2013-12-06 02:12:40.026 - info: [caspa_server] �[90mGET /css/backbone.modal.theme.css �[32m200 �[90m5ms�[0m 2013-12-06 02:12:43.337 - debug: [caspa_server] served static content /socket.io.js 2013-12-06 02:12:43.351 - info: [caspa_server] �[90mGET /js/main.js �[32m200 �[90m8ms�[0m 2013-12-06 02:12:43.386 - info: [caspa_server] �[90mGET /js/vendor_others.js �[32m200 �[90m741ms�[0m 2013-12-06 02:12:43.393 - info: [caspa_server] �[90mGET /img/media.png �[32m200 �[90m5ms - 587b�[0m 2013-12-06 02:12:43.394 - info: [caspa_server] �[90mGET /js/models.js �[32m200 �[90m52ms�[0m 2013-12-06 02:12:43.399 - info: [caspa_server] �[90mGET /img/github.png �[32m200 �[90m6ms - 2.13kb�[0m 2013-12-06 02:12:43.536 - info: [caspa_server] �[90mGET /js/views.js �[32m200 �[90m193ms�[0m 2013-12-06 02:12:43.619 - info: [caspa_server] �[90mGET /js/templates.js �[32m200 �[90m975ms�[0m 2013-12-06 02:12:43.767 - info: [caspa_server] �[90mGET /js/vendor.js �[32m200 �[90m1126ms�[0m 2013-12-06 02:12:43.799 - info: [caspa_server] �[90mGET /css/fonts/Andika.woff �[32m200 �[90m5ms - 19.93kb�[0m 2013-12-06 02:12:43.799 - info: [caspa_server] �[90mGET /css/fonts/Arvo.woff �[32m200 �[90m4ms - 14.49kb�[0m 2013-12-06 02:12:43.800 - info: [caspa_server] �[90mGET /css/img/bg.jpg �[32m200 �[90m3ms - 172.51kb�[0m 2013-12-06 02:12:46.422 - debug: [caspa_server] client authorized 2013-12-06 02:12:46.712 - debug: [caspa_server] setting request GET /socket.io/1/websocket/OhY14igZvi_tyjkuUbeW |
i have cloned mbc-caspa from scracth. Then run |
@federb were you able to solve this? |
Hi, I have the following issue:
ReferenceError: app is not defined in:
app.navigate(url, {trigger: true});
in mbc-playout/caspa/public/js/main.js
because in:
appCollection.fetch({success: function() {
app = new AppRouter();
Backbone.history.start({pushState:true});
}});
in mbc-playout/caspa/public/js/main.js
appCollection.fetch() return the option hash 'error' only
Can anyone help me solve this?
Regards.
The text was updated successfully, but these errors were encountered: