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

issue-51: Resolved IE10 table insertion issue #52

Merged
merged 4 commits into from
Jun 1, 2017
Merged

Conversation

vikasrj
Copy link
Contributor

@vikasrj vikasrj commented Jun 1, 2017

@j0k3r Please find pull request for #51

@j0k3r
Copy link
Contributor

j0k3r commented Jun 1, 2017

Please fix Travis first.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 10.069% when pulling 96cc8cc on vikasrj:master into c06592e on yabwe:master.

src/js/grid.js Outdated
},
active = this._currentCell &&
cell.row <= this._currentCell.row &&
cell.column <= this._currentCell.column;

if (active === true) {
el.classList.add('active');
if ('classList' in document.createElement('div')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't you do if ('classList' in el) { instead?

Copy link
Contributor Author

@vikasrj vikasrj Jun 1, 2017

Choose a reason for hiding this comment

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

sure, will do that change.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 10.069% when pulling 95e0bf5 on vikasrj:master into c06592e on yabwe:master.

src/js/grid.js Outdated
@@ -92,15 +100,15 @@ Grid.prototype = {
var self = this,
timer;

el.addEventListener('mouseenter', function () {
el.addEventListener('mouseenter', function (e) {
clearTimeout(timer);

var dataset = this.dataset;
Copy link
Contributor

Choose a reason for hiding this comment

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

Since you don't use dataset, I think you can remove that line

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 10.105% when pulling 660c5ec on vikasrj:master into c06592e on yabwe:master.

Copy link
Contributor

@j0k3r j0k3r left a comment

Choose a reason for hiding this comment

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

LGTM

@j0k3r j0k3r merged commit cf23596 into yabwe:master Jun 1, 2017
vikasrj added a commit to durgeshahire4/medium-editor-tables that referenced this pull request Jun 2, 2017
issue-51: Resolved IE10 table insertion issue (yabwe#52)
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