Closed wkeese closed 10 years ago
Probably it's sdk-core/sniff thing? CC @cjolif
@wkeese those looks more like features detection than browser sniffing, right? Then per one of your previous suggestions the module should be called features not sniff?
And ideally I guess both sniff & features should end up in the "core" package to keep the plugin package "pure" plugin. At least it seems to me sniff & features have no reason to be in different packages?
I see your arguments. I just thought it would be simpler to have everything in a single module rather than having multiple modules across multiple packages.
If I were designing it I would probably put all the code in one place (has, feature detection, and browser sniffing), but sounds like you guys want to separate it across two packages. Either way is possible. Since you are talking about "purity" I can see it's a philosophical thing.
I propose to close this except, we can always revisit it later if needed.
In order for delite and deliteful to start using
requirejs-dplugins/has
instead ofdojo/has
, we'll need the definition of certain has() flags that dojo/core defined:You could change the names if you want, but they need to be defined somewhere, and this project seems like a good place?
PS: See ibm-js/sdk#8.