Permalink
Browse files

fixing decprecated warning

  • Loading branch information...
steven dale
steven dale committed Oct 8, 2016
1 parent 5b6c9b1 commit 6151fadd152f954bb90a919d60b04b587a177b24
Showing with 1 addition and 1 deletion.
  1. +1 −1 extensions/chrome/source/scripts/lib/requireContent.js
@@ -11,7 +11,7 @@ require.load = function (context, moduleName, url) {
xhr.onreadystatechange = function () {
if (xhr.readyState === 4 && xhr.status === 200) {
//sourceURL is needed for debugging in chrome
eval(xhr.responseText + "\n//@ sourceURL=" + url); // jshint ignore:line
eval(xhr.responseText + "\n//# sourceURL=" + url); // jshint ignore:line
context.completeLoad(moduleName);
}
};

0 comments on commit 6151fad

Please sign in to comment.