Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Debugging Issue in ThemedMixin #960

Open
sebilasse opened this issue Jul 16, 2018 · 0 comments
Open

Debugging Issue in ThemedMixin #960

sebilasse opened this issue Jul 16, 2018 · 0 comments

Comments

@sebilasse
Copy link
Contributor

sebilasse commented Jul 16, 2018

See https://github.com/dojo/widget-core/blob/master/src/mixins/Themed.ts#L165

I have no (intuitive) idea which of 80 widgets on my page is saying
"Class name "foo" not found in theme"

Could either the stack be included or the widgets name ?
E.g.

if (!themeClassName) {
  console.warn(`${this.constructor.name}: Class name "${className}" not found in theme`);
  return null;
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant