remove useless access to IPython global

This commit is contained in:
Matthias Bussonnier 2015-05-18 17:32:21 -07:00
parent 7c84376596
commit 2b98c8dbff

View File

@ -30,7 +30,7 @@ define([
this.kernel_service_url = kernel_service_url;
this.kernel_url = null;
this.ws_url = ws_url || IPython.utils.get_body_data("wsUrl");
this.ws_url = ws_url || utils.get_body_data("wsUrl");
if (!this.ws_url) {
// trailing 's' in https will become wss for secure web sockets
this.ws_url = location.protocol.replace('http', 'ws') + "//" + location.host;