From 03c82ba38ffaf87de94ac66a754b41a23ae61a6c Mon Sep 17 00:00:00 2001 From: jos Date: Mon, 21 Dec 2015 13:15:59 +0100 Subject: [PATCH] Upgraded to brace v0.7.0 --- package.json | 2 +- src/js/textmode.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a8a8a98..2a37e56 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "test": "mocha test" }, "dependencies": { - "brace": "^0.4.1" + "brace": "0.7.0" }, "devDependencies": { "gulp": "^3.8.11", diff --git a/src/js/textmode.js b/src/js/textmode.js index 0b4de12..bd4751a 100644 --- a/src/js/textmode.js +++ b/src/js/textmode.js @@ -131,6 +131,7 @@ textmode.create = function (container, options) { this.content.appendChild(this.editorDom); var editor = _ace.edit(this.editorDom); + editor.$blockScrolling = Infinity; editor.setTheme(this.theme); editor.setShowPrintMargin(false); editor.setFontSize(13);