Commit 43ccc09c authored by JC Brand's avatar JC Brand

Don't assume that converse is a global

parent cca5c17c
......@@ -15,7 +15,6 @@
"globals": {
"Uint8Array": true,
"Promise": true,
"converse": true,
"define": true,
"require": true,
"sinon": true,
......
......@@ -194,7 +194,7 @@ eslint: node_modules
$(ESLINT) src/utils/*.js
$(ESLINT) src/headless/*.js
$(ESLINT) src/headless/utils/*.js
$(ESLINT) spec/
$(ESLINT) spec/ --global converse
.PHONY: check
check: dev eslint
......
import sizzle from 'sizzle';
import { CustomElement } from './element.js';
import { _converse, api } from "@converse/headless/converse-core";
import { _converse, converse, api } from "@converse/headless/converse-core";
import { html } from "lit-element";
import { tpl_all_emojis, tpl_search_results } from "../templates/emoji_picker.js";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment