- From: Andres Rios <notifications@github.com>
- Date: Tue, 05 Apr 2016 12:26:40 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 5 April 2016 19:27:35 UTC
Please, let's summary. I'd like to understand the thread :smile:
```.get(name)``` means ```window.get(name)``` or ```document.get(name)```?
The current documentation states:
```window.define('name', ClassName)```
So,
```window.get('name')``` should return ```ClassName```. Right?
Should you consider to name that function in a more specific way?
I see that ```window``` has already some _getters_
```javascript
window.getComputedStyle;
window.getSelection;
window.getMatchedCSSRules;
```
Does have sense to name the function to ```getDefinition``` ? It's just an opinion... If ```getDefinition``` is too long then ```get``` sounds good too.
Thanks!
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/445#issuecomment-205957858
Received on Tuesday, 5 April 2016 19:27:35 UTC