Skip to content

Commit

Permalink
[BUGFIX] In TestEditor : getFile().getValue() -> getFile().getContents()
Browse files Browse the repository at this point in the history
  • Loading branch information
hwshim committed Jul 24, 2015
1 parent 47ed721 commit ce6b7df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ define([
var pre = document.createElement('pre');
pre.contentEditable = true;
pre.style.fontSize = '8pt';
pre.innerText = this.getFile().getValue();
pre.innerText = this.getFile().getContents();
parent.appendChild(pre);
return pre;
},
Expand Down Expand Up @@ -122,4 +122,4 @@ define([





2 comments on commit ce6b7df

@wcho
Copy link
Contributor

@wcho wcho commented on ce6b7df Jul 24, 2015

Choose a reason for hiding this comment

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

innerText property is an IE-specific property. Use textContent property instead.

@hwshim
Copy link
Member Author

@hwshim hwshim commented on ce6b7df Jul 24, 2015

Choose a reason for hiding this comment

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

Ok this example is under refactoring.
This method will be removed.
Thanks.

Please sign in to comment.