mirror of
https://github.com/diaspora/diaspora.git
synced 2026-01-09 23:28:02 -05:00
Yes, I know this is a very ugly workaround, but it works ... Chrome now requires to add `about:blank` as parameter to open and be able to use remote debugging. The jasmine-gem isn't supported anymore, and we need to switch to the `jasmine-browser-runner`, I was working on that a few months ago, but ran into problems. As the jasmine-gem doesn't allow to add parameters without `--` infront of it, lets just add a dummy parameter and add the required `about:blank` with a space after that. This is ugly, but works for now, until we can upgrade to the new jasmine version. We could also just replace the `nil` of the last parameter with that value, but I think that way it's clearer that this is a workaround and how it works.