Skip to content

Conversation

@EvgenyAgafonchikov
Copy link
Contributor

Occurences of 'innerText' were replaced with 'textContent' for all files excluding external libraries.
This fix improves compatibility with IE11 by utilizing “textContent”, a W3C standard API. innerText logic handles newlines differently in different browsers, which can cause shader compilation problems.

@ghost
Copy link

ghost commented Mar 28, 2014

@unconed - i know from the discussion in #21 that you are currently rewriting the library and this branch is eventually going to be deprecated. Just to confirm my expectations: do you expect to perform any additional merges in the current branch (and to review this pull request as part of it)? Thanks.

@unconed
Copy link
Owner

unconed commented Mar 28, 2014

Sure, I've just been busy the past few weeks. Bugfixes can definitely go in, I'm still using the library too.

TextContent works in all the browsers I care about, so this seems legit.

unconed added a commit that referenced this pull request Mar 28, 2014
Occurences of 'innerText' were replaced with 'textContent'
@unconed unconed merged commit 84bcd9f into unconed:master Mar 28, 2014
@ghost
Copy link

ghost commented Mar 28, 2014

Thanks!

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.

2 participants