Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Ensure safe object #5246

Closed
wants to merge 4 commits into from
Closed

Ensure safe object #5246

wants to merge 4 commits into from

Conversation

kseamon
Copy link
Contributor

@kseamon kseamon commented Dec 3, 2013

Applies a bit of micro-optimization to ensureSafeObject.

This version matches the "alternate 2.2" version here: http://jsperf.com/ensuresafeobject/2

alternate 2.3 is a bit faster and simpler, but would break backwards compatibility.

@mary-poppins
Copy link

Thanks for the PR!

  • Contributor signed CLA now or in the past
    • If you just signed, leave a comment here with your real name
  • PR's commit messages follow the commit message format

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

@ghost ghost assigned IgorMinar Dec 3, 2013
@IgorMinar IgorMinar closed this in 689dfb1 Dec 3, 2013
@IgorMinar
Copy link
Contributor

merged. please squash the intermittent commits and follow our commit message guidelines in the future.

https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#git-commit-guidelines

see the final commit for what we expect: 689dfb1

jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
This version matches the "alternate 2.2" version here: http://jsperf.com/ensuresafeobject/2

alternate 2.3 is a bit faster and simpler, but would break backwards compatibility.

Closes angular#5246
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
This version matches the "alternate 2.2" version here: http://jsperf.com/ensuresafeobject/2

alternate 2.3 is a bit faster and simpler, but would break backwards compatibility.

Closes angular#5246
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants