Skip to content

Commit

Permalink
fix(engine): remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
caridy committed Aug 28, 2019
1 parent c9ad2c5 commit d02243b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/@lwc/engine/src/framework/context-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export function createContextProvider(adapter: WireAdapterConstructor) {
if (ArrayIndexOf.call(providers, elm) !== 0) {
throw new Error(`Adapter was already installed on ${elm}.`);
}
// TODO: what if the same contextualizer is installed twice on the same elm?
const { consumerConnectedCallback, consumerDisconnectedCallback } = options;
elm.addEventListener(adapterContextToken as string, (evt: WireContextEvent) => {
const { detail } = evt;
Expand Down

0 comments on commit d02243b

Please sign in to comment.