Don't merge yet
@bryanhiggins Please ask Jenny to help testing this.
Where is this checked?
@rwmtse I don't see any change to settings.js, which is currently defaulting to "local". I suggest you grep for PROXY_SETTINGS_LIST.
We also want an error printed to console if XHR is attempted with proxy enabled, but ripple services have not been started.
@bryanhiggins I've changed settings.js, as to detecting if the service is started, I am not sure if know how to do it, I spent 2 hours looking at the code, and my understanding is that client side files should not require server side files (all client-side require is done with "ripple()" which only require files under client, so... this means in order to check the service is started, I'd have to test it with an XHR? Is that what you want me to do? Not sure if I'm missing something...
@rwmtse Just print out a message anytime the onerror handler is invoked.
"Error handing proxy request. Please ensure ripple services have been started."
@bryanhiggins I attached an error listener to the xhr and print the message there, see cors.js and jsonp.js
Got rid of remote option for proxy; Added error listener to xhr to pr…
…int out error msg
Updating submodule jasmine
tested this on Mac.
By default, cross domain proxy is enabled by default.
correct errors show regarding to cross origin requests are made when ripple does/does not start service as well as enabling enable/disable cross domain proxy