codegl / tracegl

traceGL support repository
84 stars 5 forks source link

ReferenceError: $ is not defined #97

Open stuartc opened 11 years ago

stuartc commented 11 years ago

Trying out trace.gl, proxying a Rails 3.2 app.

The app works fine before running it through trace. But the app doesn't function at all when loaded through trace.

[22:14:49.684] ReferenceError: defaultPrefilter is not defined @ http://localhost:2080/assets/jquery.js?body=1:8541
[22:14:49.760] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/jquery-ui.js?body=1:331
[22:14:49.763] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/jquery_ujs.js?body=1:429
[22:14:49.765] TypeError: $ is not a function @ http://localhost:2080/assets/twitter/bootstrap/transition.js?body=1:23
[22:14:49.766] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/alert.js?body=1:76
[22:14:49.768] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/modal.js?body=1:177
[22:14:49.770] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/dropdown.js?body=1:73
[22:14:49.772] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/scrollspy.js?body=1:99
[22:14:49.775] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/tab.js?body=1:109
[22:14:49.778] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/tooltip.js?body=1:249
[22:14:49.781] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/popover.js?body=1:33
[22:14:49.782] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/button.js?body=1:72
[22:14:49.784] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/collapse.js?body=1:106
[22:14:49.786] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/carousel.js?body=1:126
[22:14:49.790] TypeError: $ is undefined @ http://localhost:2080/assets/twitter/bootstrap/typeahead.js?body=1:240
[22:14:50.881] TypeError: $ is not a function @ http://localhost:2080/assets/dresssed/bootstrap.js?body=1:4
[22:14:50.883] TypeError: $ is not a function @ http://localhost:2080/assets/dresssed/header.js?body=1:3
[22:14:50.884] TypeError: $ is not a function @ http://localhost:2080/assets/dresssed/sheets.js?body=1:3
[22:14:50.926] ReferenceError: mirrorDateProperties is not defined @ http://localhost:2080/assets/sinon-1.6.0.js?body=1:2805
[22:14:50.928] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/jquery/event/drag.js?body=1:388
[22:14:50.930] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/jquery/event/drop.js?body=1:341
[22:14:50.932] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/slick/plugins/slick.rowselectionmodel.js?body=1:187
[22:14:50.933] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/slick/slick.core.js?body=1:429
[22:14:50.937] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/slick/slick.dataview.js?body=1:917
[22:14:50.940] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/slick/slick.editors.js?body=1:514
[22:14:50.941] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/slick/slick.formatters.js?body=1:56
[22:14:50.952] uncaught exception: SlickGrid requires jquery module to be loaded
[22:14:50.953] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/slick/slick.groupitemmetadataprovider.js?body=1:139
[22:14:50.955] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/slick/slick.remotemodel.js?body=1:164
[22:14:50.961] ReferenceError: jQuery is not defined @ http://localhost:2080/assets/chosen/chosen.jquery.min.js?body=1:10
[22:14:50.977] ReferenceError: BaseModel is not defined @ http://localhost:2080/assets/models/base_model.js?body=1:8
[22:14:50.986] ReferenceError: Quote is not defined @ http://localhost:2080/assets/models/quote.js?body=1:8
[22:14:50.991] ReferenceError: Site is not defined @ http://localhost:2080/assets/models/site.js?body=1:8
[22:14:50.994] ReferenceError: BaseCollection is not defined @ http://localhost:2080/assets/collections/base_collection.js?body=1:8
[22:14:50.996] ReferenceError: SitesCollection is not defined @ http://localhost:2080/assets/collections/sites_collection.js?body=1:9
[22:14:51.013] ReferenceError: QuoteValidator is not defined @ http://localhost:2080/assets/validators/quote_validator.js?body=1:6
[22:14:51.029] ReferenceError: SiteValidator is not defined @ http://localhost:2080/assets/validators/site_validator.js?body=1:7
[22:14:51.100] ReferenceError: ContractView is not defined @ http://localhost:2080/assets/views/contract_view.js?body=1:8
[22:14:51.102] ReferenceError: DocumentEditView is not defined @ http://localhost:2080/assets/views/document_edit_view.js?body=1:8
[22:14:51.103] ReferenceError: DocumentView is not defined @ http://localhost:2080/assets/views/document_view.js?body=1:8
[22:14:51.105] ReferenceError: PriceListView is not defined @ http://localhost:2080/assets/views/price_list_view.js?body=1:8
[22:14:51.111] ReferenceError: QuoteView is not defined @ http://localhost:2080/assets/views/quote_view.js?body=1:9
[22:14:51.201] ReferenceError: SiteView is not defined @ http://localhost:2080/assets/views/site_view.js?body=1:9
[22:14:51.204] ReferenceError: SitesGridView is not defined @ http://localhost:2080/assets/views/sites_grid_view.js?body=1:8
[22:14:51.206] ReferenceError: SitesImportView is not defined @ http://localhost:2080/assets/views/sites_import_view.js?body=1:8
[22:14:51.216] ReferenceError: $ is not defined @ http://localhost:2080/assets/editor.js?body=1:3
[22:14:51.239] ReferenceError: $ is not defined @ http://localhost:2080/assets/init.js?body=1:70

Not quite sure where to start with this.

stuartc commented 11 years ago

I have just tested this against a simpler Rails 3.2 application, again similar issues.