add lodash docs

This commit is contained in:
Hetu Nandu 2020-06-12 16:26:46 +05:30
parent 17510bc826
commit e6972ea772
3 changed files with 1551 additions and 2 deletions

View File

@ -138,8 +138,11 @@ const HintStyles = createGlobalStyle<{ editorTheme: EditorTheme }>`
max-height: 150px;
width: 250px;
padding: 12px !important;
border: 1px solid #DEDEDE !important;
border: 1px solid !important;
border-color: ${props =>
props.editorTheme === "DARK" ? "#23292e" : "#DEDEDE"} !important;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12) !important;
overflow: scroll;
}
`;

File diff suppressed because it is too large Load Diff

View File

@ -3,10 +3,11 @@
import { DataTree } from "entities/DataTree/dataTreeFactory";
import tern, { Server } from "tern";
import ecma from "tern/defs/ecmascript.json";
import lodash from "constants/defs/lodash.json";
import { dataTreeTypeDefCreator } from "utils/autocomplete/dataTreeTypeDefCreator";
import CodeMirror, { Hint, Pos, cmpPos } from "codemirror";
const DEFS = [ecma];
const DEFS = [ecma, lodash];
const bigDoc = 250;
const cls = "CodeMirror-Tern-";
const hintDelay = 1700;