Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dandonkulous
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
CSS Selector Listeners - a new DOM event mechanism
(backalleycoder.com)
6 points
by
dandonkulous
14y ago
|
0 comments
2.
▲
by
dandonkulous
14y ago
IE9 support lands today, and we've decided against supporting earlier versions of IE - too much headache and code bloat/hackishness to justify addressing the ever shrinking < IE9 user base.
3.
▲
by
dandonkulous
14y ago
I actually think a spin on this idea could work, we're going to be working with Google on adding a tag library to their JS libraries CDN (that is tentative btw) and the spec already calls for multi-tag definition inclusion via link tag.
4.
▲
by
dandonkulous
14y ago
Actually I have been meeting with the W3 Web Components spec author for about 2 months while we readied this. The document.register method that was recently added to the spec was in large part a byproduct of X-Tag and when browsers implemen
5.
▲
by
dandonkulous
14y ago
I'm going to work on it this weekend!
6.
▲
by
dandonkulous
14y ago
Surely sir! http://github.com/mozilla/x-tag/
7.
▲
by
dandonkulous
14y ago
Correct, Mozilla Marketplace is not putting X-Tags in all apps. The dev tooling side of Marketplace will offer a project builder that let's you pick which tags (if any) you'd like to include. It then bundles all the assets you pick into one
8.
▲
by
dandonkulous
14y ago
@MatthewPhillips - That's not what I meant. Mozilla will offer a bootstrap builder with which you can add as many of the stock tags/components as you want to your app's pages. It will output a skeleton of an app that is development-ready. W
9.
▲
by
dandonkulous
14y ago
1) Mozilla is generating a stock set of components that you wont have to "scour" for. 2) The components can be easily included using an app bootstrap builder that the Mozilla Marketplace dev hub will feature 3) You write the tags like you w
10.
▲
by
dandonkulous
14y ago
If I can get it compatible with IE9, is that a big thing for people here? I don't think it would be too hard, thoughts?
11.
▲
by
dandonkulous
14y ago
Yeah the funny thing is I could actually even make it work in IE6 and 7 if I used Mutation for IE9 and then - ready your pitchforks and torches folks - proprietary CSS Behavior script ducks to avoid tomato . IE8 screwed the pooch in th
12.
▲
by
dandonkulous
14y ago
The prefix is added as a default, but can be changed or even removed - it's up to you, the developer.
13.
▲
by
dandonkulous
14y ago
New tags are given an "x-" prefix by default, so that's not an issue. That said, you can opt out of the prefixing by changing the namespace string - but even if you remove it and there is a tag created down the road of that name, it doesn't
14.
▲
by
dandonkulous
14y ago
Because it doesn't support CSS Animations, which I use for insertion detection. I might be able to finagle it for IE9 with Mutation events, but in their DOM Level 3 state, they destroy performance. IE10 supports CSS Animations and will also
15.
▲
by
dandonkulous
14y ago
You should be able to use this as a standard soon, X-Tag has helped inform the W3 spec. I've been working with Dimitri Glazkov (the W3 draft author) over the last 2 months. We reached initial agreement as a group that the standard, imperati
16.
▲
by
dandonkulous
14y ago
To change the style and behavior, you just use the DOM as you normally would. You can access the inner DOM elements of a component with regular ol' JS and style them normally with CSS if exposed - but even if they were created as Shadow DOM
17.
▲
by
dandonkulous
14y ago
X-Tag was just added as an official Mozilla repo on Github - it's a small, JS-only polyfill that enables the Custom Element portion of the W3 Web Components spec ( https://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/... ) and other
18.
▲
X-Tag - a cross-browser web components library
(mozilla.github.com)
91 points
by
dandonkulous
14y ago
|
46 comments
19.
▲
by
dandonkulous
14y ago
A couple quick, important clarifications: The parse does not turn the custom tags into divs, there is no need to do that. These are fully capable, valid tags and exist in the source just the way you write them: <moz:sometag></mo
20.
▲
Create your own custom HTML tags/component...TODAY
(github.com)
9 points
by
dandonkulous
14y ago
|
2 comments
21.
▲
I want a DAMNodeInserted event
(backalleycoder.com)
1 points
by
dandonkulous
14y ago
|
0 comments
22.
▲
by
dandonkulous
15y ago
Yeah Greg, I must say, do you really think David's (or any web-savy developers) passwords are "password" or "root"? Highly unlikely bro. Anywho, CSS Tricks and a few others were jacked too, so there goes the simple password explanation eh?
23.
▲
by
dandonkulous
16y ago
I would look at MooTools, their approach to OO JS abstraction keeps your JS heavy web apps lean and mean!