add lodash docs
This commit is contained in:
parent
17510bc826
commit
e6972ea772
|
|
@ -138,8 +138,11 @@ const HintStyles = createGlobalStyle<{ editorTheme: EditorTheme }>`
|
||||||
max-height: 150px;
|
max-height: 150px;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
padding: 12px !important;
|
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;
|
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12) !important;
|
||||||
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|
|
||||||
1545
app/client/src/constants/defs/lodash.json
Normal file
1545
app/client/src/constants/defs/lodash.json
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -3,10 +3,11 @@
|
||||||
import { DataTree } from "entities/DataTree/dataTreeFactory";
|
import { DataTree } from "entities/DataTree/dataTreeFactory";
|
||||||
import tern, { Server } from "tern";
|
import tern, { Server } from "tern";
|
||||||
import ecma from "tern/defs/ecmascript.json";
|
import ecma from "tern/defs/ecmascript.json";
|
||||||
|
import lodash from "constants/defs/lodash.json";
|
||||||
import { dataTreeTypeDefCreator } from "utils/autocomplete/dataTreeTypeDefCreator";
|
import { dataTreeTypeDefCreator } from "utils/autocomplete/dataTreeTypeDefCreator";
|
||||||
import CodeMirror, { Hint, Pos, cmpPos } from "codemirror";
|
import CodeMirror, { Hint, Pos, cmpPos } from "codemirror";
|
||||||
|
|
||||||
const DEFS = [ecma];
|
const DEFS = [ecma, lodash];
|
||||||
const bigDoc = 250;
|
const bigDoc = 250;
|
||||||
const cls = "CodeMirror-Tern-";
|
const cls = "CodeMirror-Tern-";
|
||||||
const hintDelay = 1700;
|
const hintDelay = 1700;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user