UNPKG

js2flowchart

Version:

> Why? While I've been working on [Under-the-hood-ReactJS](https://github.com/Bogdan-Lyashenko/Under-the-hood-ReactJS) I spent enormous amount of time on creating schemes. Each change in code or flowchart affects all entire scheme instantly, forcing you t

23 lines (19 loc) 367 B
import { buildIterator } from 'shared/utils/iteratorBuilder'; export const MAX_NAME_STR_LENGTH = 50; export const NAME_SPLITTER_TOKENS = [ '||', '&&', '=', '?', ':', '<==', '>==', '<', '>', '===', '==', ',', '.', '(' ]; export const getNameSplitterTokensIterator = () => buildIterator(NAME_SPLITTER_TOKENS);