codemirror-rails 4.9 → 4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codemirror/rails/version.rb +2 -2
- data/vendor/assets/javascripts/codemirror.js +5 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21ab3de91803458aaa6261829f266e1c642a6ff1
|
4
|
+
data.tar.gz: 6f20754757968a96505791548f751f75bde3f87c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7175a8806588bdaf6abc17d046f928d4e758e0857522c86d3c5a0d061ca90db7c58848baf9d7fbaa758066b40487f588055c99d67c16358c7632e00980bc9b17
|
7
|
+
data.tar.gz: ae4fbb37194b88852966f082b8a90a34068c78c01b1233bc9143ee27f5019d6b232e4b1e4d06b68eeb2f639e5d673274edf0b8f6e6676bf160fa668265fd3138
|
@@ -776,8 +776,10 @@
|
|
776
776
|
}
|
777
777
|
|
778
778
|
function setDocumentHeight(cm, measure) {
|
779
|
-
cm.display.sizer.style.minHeight =
|
780
|
-
|
779
|
+
cm.display.sizer.style.minHeight = measure.docHeight + "px";
|
780
|
+
var plusGap = measure.docHeight + scrollGap(cm);
|
781
|
+
cm.display.heightForcer.style.top = plusGap + "px";
|
782
|
+
cm.display.gutters.style.height = Math.max(plusGap, measure.clientHeight) + "px";
|
781
783
|
}
|
782
784
|
|
783
785
|
// Read the actual heights of the rendered lines, and update their
|
@@ -8021,7 +8023,7 @@
|
|
8021
8023
|
|
8022
8024
|
// THE END
|
8023
8025
|
|
8024
|
-
CodeMirror.version = "4.
|
8026
|
+
CodeMirror.version = "4.10.0";
|
8025
8027
|
|
8026
8028
|
return CodeMirror;
|
8027
8029
|
});
|