Skip to content

Commit

Permalink
Get rid of ace warning
Browse files Browse the repository at this point in the history
Ace always throws the warning Automatically scrolling cursor into view
after selection change this will be disabled in the next version set
editor.$blockScrolling = Infinity to disable this message. This commit
avoids this warning
  • Loading branch information
DavidSichau committed Jul 29, 2016
1 parent 73f24f4 commit 8a4bda9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sharejs-ace/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class ShareJSAceConnector extends ShareJSConnector {
rendered(element){
super.rendered(element);
this.ace = ace.edit(element);
this.ace.getSession().setValue("loading...");
this.ace.$blockScrolling = Infinity;
this.ace.getSession().setValue("loading...");
if (typeof this.configCallback === "function") {
this.configCallback(this.ace);
}
Expand Down
2 changes: 1 addition & 1 deletion sharejs-ace/package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package.describe({
name: "mizzao:sharejs-ace",
summary: "ShareJS with the Ace Editor",
version: "1.4.0",
version: "1.4.1",
git: "https://github.com/mizzao/meteor-sharejs.git"
});

Expand Down

0 comments on commit 8a4bda9

Please sign in to comment.