From 7592131e0869d82b258c0d4f7657f1e700d05fbd Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Tue, 24 Nov 2015 15:56:16 -0800 Subject: [PATCH] Tell jquery not to execute when getting script --- client/commonFramework/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/commonFramework/init.js b/client/commonFramework/init.js index 152bc3b71e6..09add87bf7a 100644 --- a/client/commonFramework/init.js +++ b/client/commonFramework/init.js @@ -88,7 +88,7 @@ window.common = (function(global) { common.getScriptContent$ = function getScriptContent$(script) { return Observable.create(function(observer) { - const jqXHR = $.get(script) + const jqXHR = $.get(script, null, null, 'text') .success(data => { observer.onNext(data); observer.onCompleted();