Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: what is the "heartz" property in the feature-detect Touchevents #1814

Closed
aaarichter opened this issue Dec 21, 2015 · 6 comments
Closed

Q: what is the "heartz" property in the feature-detect Touchevents #1814

aaarichter opened this issue Dec 21, 2015 · 6 comments

Comments

@aaarichter
Copy link

what is heartz for?

var query = ['@media (',prefixes.join('touch-enabled),('),'heartz',')','{#modernizr{top:9px;position:absolute}}'].join('');
testStyles(query, function( node ) {
  bool = node.offsetTop === 9;
});
@patrickkettner
Copy link
Member

I know it is just a random string, it used to be modernizr, but I honestly don't remember the reasoning for it. @paulirish you added it - do you remember?

@paulirish
Copy link
Member

paulirish commented Dec 23, 2015 via email

@SlexAxton
Copy link
Member

It's long-hand for <3z
On Wed, Dec 23, 2015 at 5:31 PM Paul Irish notifications@github.com wrote:

Oh just random. A word you'll see when slex and I are talking.


Reply to this email directly or view it on GitHub
#1814 (comment)
.

@patrickkettner
Copy link
Member

I meant why do we include a random word

On Dec 23, 2015, at 6:31 PM, Paul Irish notifications@github.com wrote:

Oh just random. A word you'll see when slex and I are talking.

Reply to this email directly or view it on GitHub.

@paulirish
Copy link
Member

paulirish commented Dec 24, 2015 via email

@stucox
Copy link
Member

stucox commented Dec 25, 2015

This is what comments are for :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants