Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Other: Remove isDomNode function that overlaps import in emittermixin.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Nov 9, 2017
1 parent 3e0964e commit 9414e9b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/dom/emittermixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,6 @@ function getNodeUID( node ) {
return node[ 'data-ck-expando' ] || ( node[ 'data-ck-expando' ] = uid() );
}

// Checks (naively) if given node is native DOM Node.
//
// @private
// @param {Node} node
// @return {Boolean} True when native DOM Node.
function isDomNode( node ) {
return !!node && isNative( node.addEventListener );
}

/**
* Interface representing classes which mix in {@link module:utils/dom/emittermixin~EmitterMixin}.
*
Expand Down

0 comments on commit 9414e9b

Please sign in to comment.