FIX: Backwards compatibility for plugins who sanitize

This commit is contained in:
Robin Ward
2016-07-11 12:57:05 -04:00
parent 6d7e8bd68b
commit 3d21805022
@@ -22,6 +22,10 @@ function loadWithTag(path, cb) {
}
export default function loadScript(url, opts) {
// TODO: Remove this once plugins have been updated not to use it:
if (url === "defer/html-sanitizer-bundle") { return Ember.RSVP.Promise.resolve(); }
opts = opts || {};
return new Ember.RSVP.Promise(function(resolve) {