Tell jquery not to execute when getting script
This commit is contained in:
@ -88,7 +88,7 @@ window.common = (function(global) {
|
|||||||
|
|
||||||
common.getScriptContent$ = function getScriptContent$(script) {
|
common.getScriptContent$ = function getScriptContent$(script) {
|
||||||
return Observable.create(function(observer) {
|
return Observable.create(function(observer) {
|
||||||
const jqXHR = $.get(script)
|
const jqXHR = $.get(script, null, null, 'text')
|
||||||
.success(data => {
|
.success(data => {
|
||||||
observer.onNext(data);
|
observer.onNext(data);
|
||||||
observer.onCompleted();
|
observer.onCompleted();
|
||||||
|
Reference in New Issue
Block a user