Skip to content

Commit

Permalink
Use internal overrideNative helper for String.prototype HTML methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 6, 2015
1 parent b0647f6 commit b9f4621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es6-shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -3242,7 +3242,7 @@
shouldOverwrite = true;
}
if (shouldOverwrite) {
defineProperty(String.prototype, key, stringHTMLshims[key], true);
overrideNative(String.prototype, key, stringHTMLshims[key]);
}
});

Expand Down

0 comments on commit b9f4621

Please sign in to comment.