Added a document ready condition to setup_ready#23
Added a document ready condition to setup_ready#23dkniffin wants to merge 4 commits intowrozka:masterfrom
Conversation
|
Thanks, idea looks good to me, but please use jqLite ready instead: |
|
@wrozka I tried that, and I don't think it worked. I'm a little out of my depth here, but I think the problem I was running into was that angular wasn't fully loaded, so I thought it'd be safer to use my own document ready function, rather than rely on angular's. |
|
Same problem, I currently use @dkniffin's fork. |
|
Any reason this isn't merged @wrozka ? |
|
I am also having problems with |
|
When I try @dkniffin's fork, my intermittent error changes to |
This fixed a bug I was having where I believe angular wasn't completely loaded, but capybara was still trying to do things:
<br />Error: [ng:test] no injector found for element argument to getTestability <br />http://errors.angularjs.org/1.3.13/ng/test <br /> at http://localhost:9000/bower_components/angular/angular.js:1509 in getTestability <br /> at phantomjs://webpage.evaluate():5 <br /> at phantomjs://webpage.evaluate():12 <br /> at phantomjs://webpage.evaluate():12 (Capybara::Poltergeist::JavascriptError) <br />