it's described as part of the spec for data attributes (but jquery also uses it for css props) https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data- …*
-
-
Replying to @BrendanEich @zackster
So the dashed-words to camelCase and back functions? I guess those could be added, sure.
2 replies 0 retweets 2 likes -
could it be a new type?
1 reply 0 retweets 0 likes -
-
ah, I meant an interface https://developer.mozilla.org/en-US/docs/Web/API/CSSValue … rather than yet more toXXX methods
1 reply 0 retweets 0 likes -
Replying to @zackster @BrendanEich
So similar to how we have JSON.parse/stringify?
1 reply 0 retweets 0 likes -
yeah, I think that feels cleaner, how is it implemented in the browser?
2 replies 0 retweets 0 likes -
Replying to @zackster @BrendanEich
And for the CSS case there's a big table at http://searchfox.org/mozilla-central/rev/51aa673e28802fe6ea89f4793721fc55334a6ac8/layout/style/nsCSSPropList.h#328 … that's piped into http://searchfox.org/mozilla-central/rev/51aa673e28802fe6ea89f4793721fc55334a6ac8/dom/bindings/GenerateCSS2PropertiesWebIDL.py#40 …
1 reply 0 retweets 0 likes -
so what's the next step for this, first posting to a mailing list?
1 reply 0 retweets 0 likes
@bterlson If we're talking adding to ES, https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md … is relevant, but I have no idea whether it's current
-
-
Replying to @really_bz @bz_moz and
I just filed an issue, let's see what happens https://github.com/tc39/ecma262/issues/761 …
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.