Skip to content

Commit

Permalink
📣 Add klass to window scope
Browse files Browse the repository at this point in the history
Improves the accessibility of the element
  • Loading branch information
VandeurenGlenn committed May 14, 2017
1 parent 2ba8ab8 commit 78b3af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backed.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ export default _class => {
// TODO: handle Commonjs (properties, observers, etc ...)
klass = _class;
}
return klass;
return window[_class.name] = klass;
};

0 comments on commit 78b3af8

Please sign in to comment.