diff options
Diffstat (limited to 'src/find.js')
-rw-r--r-- | src/find.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/find.js b/src/find.js index ec28ab15..d1435fb5 100644 --- a/src/find.js +++ b/src/find.js @@ -7,6 +7,12 @@ import {isFunction, validateArrayItems} from '#validators'; import * as fr from './find-reverse.js'; +import { + tokenKey as findTokenKey, +} from './find-reverse.js'; + +export {findTokenKey}; + function warnOrThrow(mode, message) { if (mode === 'error') { throw new Error(message); @@ -278,7 +284,6 @@ export function findFindSpec(key) { return fr.findSpec(key, findReverseHelperConfig); } -export const findTokenKey = Symbol.for('find.findTokenKey'); export const boundFindData = Symbol.for('find.boundFindData'); export const boundFindOptions = Symbol.for('find.boundFindOptions'); @@ -403,10 +408,6 @@ export default fr.tokenProxy({ return findMixed; } }, - - decorate(token, key) { - token[findTokenKey] = key; - }, }); // Handy utility function for binding the find.thing() functions to a complete |