Skip to content
Snippets Groups Projects
Commit 61e27f02 authored by Angelo's avatar Angelo Committed by Marijn Haverbeke
Browse files

[tern addon] Initialize docs before creating tern server instance

This PR initialize docs before creating tern server instance, because
in some case, tern server creation call getFile which use docs.

I have this case by using requirejs tern plugin + custom plugin which
defines modules :

```json
{
    "!name": "delite",
    "!define": {
      "!requirejs": {
        "delite/register": {
          "!type": "fn(tag: string, superclasses: [], props: ?) -> fn()",
      }
    }
  }
```
parent eca62f15
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment