diff --git a/lib/SplitType.js b/lib/SplitType.js index b2a1e6c..221042e 100644 --- a/lib/SplitType.js +++ b/lib/SplitType.js @@ -2,7 +2,7 @@ import extend from './utils/extend' import parseSettings from './utils/parseSettings' import toArray from './utils/toArray' import getTargetElements from './utils/getTargetElements' -import { Data, RemoveData } from '../private/Data-WeakMap' +import { Data, RemoveData } from './Data' import split from './split' import defaults from './defaults' diff --git a/lib/split.js b/lib/split.js index d7d07b7..8df051b 100644 --- a/lib/split.js +++ b/lib/split.js @@ -6,7 +6,7 @@ import parseTypes from './utils/parseTypes' import getTextContent from './utils/getTextContent' import extend from './utils/extend' import defaults from './defaults' -import { Data } from '../private/Data-WeakMap' +import { Data } from './Data' const createFragment = () => document.createDocumentFragment() const createTextNode = (str) => document.createTextNode(str) diff --git a/package.json b/package.json index e3fee22..7af94db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "split-type", - "version": "0.2.0", + "version": "0.2.1", "description": "A javascript library that splits plain text into individual lines, words, and characters.", "main": "dist/split-type.js", "unpkg": "dist/split-type.min.js",