Skip to content

Conversation

@markelog
Copy link
Member

  • Remove div from the memory if it is not needed anymore
  • Make computeStyleTests method a singleton

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @mgol, @gibson042 and @timmywil to be potential reviewers

* Remove div from the memory if it is not needed anymore

* Make `computeStyleTests` method a singleton

Fixes jquerygh-3018
var divStyle = window.getComputedStyle( div );
pixelPositionVal = divStyle.top !== "1%";

// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44+
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did ypu check Firefox 3? :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you? Since you are the author of that comment :), i just moved it around

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, OK then. I didn't seem the whole context on mobile so I thought this
line is new. :)

Michał Gołębiowski

@mgol
Copy link
Member

mgol commented Mar 28, 2016

What's the size difference?

@markelog
Copy link
Member Author

The whole byte!

@timmywil
Copy link
Member

I like it 👍

@mgol
Copy link
Member

mgol commented Mar 28, 2016

Looks nice!

Michał Gołębiowski

@markelog markelog closed this in 44cb97e Mar 28, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants