Skip to content

Commit

Permalink
GPII-4070: Replacing functionality of removed function.
Browse files Browse the repository at this point in the history
  • Loading branch information
jobara committed Aug 9, 2019
1 parent bad4a2a commit 494d543
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/browser/js/domEnactorTests.js
Expand Up @@ -849,8 +849,12 @@

gpii.tests.syllabificationTester.setup = function () {
var browserInject = function (msg, callback) {
var promise = fluid.prefs.enactor.syllabification.injectScript(msg.src);
promise.then(callback);
var injectPromise = $.ajax({
url: msg.src,
datatype: "script",
cache: true
});
injectPromise.then(callback);
};
chrome.runtime.sendMessage.callsFake(browserInject);
};
Expand Down

0 comments on commit 494d543

Please sign in to comment.