Skip to content

Commit 6b2b871

Browse files
committed
Fix a terrible mistake in anti-clobber
1 parent 0d42de0 commit 6b2b871

File tree

9 files changed

+13
-16
lines changed

9 files changed

+13
-16
lines changed

dist/purify.cjs.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.es.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/purify.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/anti-clobber.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { unapply, __lookupGetter__, getPrototypeOf } from './utils';
1+
import { unapply, __lookupGetter__ } from './utils';
22
const { Element } = window;
33

4-
const ElementPrototype = getPrototypeOf(Element);
4+
const ElementPrototype = Element.prototype;
55

66
const cloneNode = unapply(ElementPrototype.cloneNode);
77
const getNextSibling = unapply(

0 commit comments

Comments
 (0)