Tell jquery not to execute when getting script

pull/4696/head
Berkeley Martinez 2015-11-24 15:56:16 -08:00
parent da67e77fad
commit 7592131e08
1 changed files with 1 additions and 1 deletions

View File

@ -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();