From 2b98c8dbffa7f23cab3635cf5d9e8bf82627a947 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Mon, 18 May 2015 17:32:21 -0700 Subject: [PATCH] remove useless access to IPython global --- notebook/static/services/kernels/kernel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/static/services/kernels/kernel.js b/notebook/static/services/kernels/kernel.js index 0f511bcf6..5011f46fb 100644 --- a/notebook/static/services/kernels/kernel.js +++ b/notebook/static/services/kernels/kernel.js @@ -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;