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

improve selection #8

Merged
merged 2 commits into from Aug 17, 2016
Merged

improve selection #8

merged 2 commits into from Aug 17, 2016

Conversation

cruzanmo
Copy link

Fixes #7

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 92.437% when pulling 512401d on improve-selection into 1224b4f on master.

* @returns {Node}
*/
insertTextNodePlaceholderAfter: function (node) {
return node.parentNode.insertBefore(this.document.createTextNode(placeholderText), node.nextSibling);
insertTextNodePlaceholder: function (node, after) {

Choose a reason for hiding this comment

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

Nice!

@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 92.562% when pulling cc607fa on improve-selection into 1224b4f on master.

@davidandrewfrey
Copy link

davidandrewfrey commented Aug 17, 2016

⭐ ⭐ ⭐ ⭐ ⭐

Nice! The convenience methods add a lot of clarity.

@cruzanmo cruzanmo merged commit c436017 into master Aug 17, 2016
@cruzanmo cruzanmo deleted the improve-selection branch August 17, 2016 19:45
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

Successfully merging this pull request may close these issues.

None yet

3 participants