codemirror-rails 4.10 → 4.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21ab3de91803458aaa6261829f266e1c642a6ff1
4
- data.tar.gz: 6f20754757968a96505791548f751f75bde3f87c
3
+ metadata.gz: 3a4bb46e0301a0f307a6f66351d88880b3491fda
4
+ data.tar.gz: a0b67a693c500f1e6b6f111138b445b46316d22f
5
5
  SHA512:
6
- metadata.gz: 7175a8806588bdaf6abc17d046f928d4e758e0857522c86d3c5a0d061ca90db7c58848baf9d7fbaa758066b40487f588055c99d67c16358c7632e00980bc9b17
7
- data.tar.gz: ae4fbb37194b88852966f082b8a90a34068c78c01b1233bc9143ee27f5019d6b232e4b1e4d06b68eeb2f639e5d673274edf0b8f6e6676bf160fa668265fd3138
6
+ metadata.gz: a6240ed9f991dff857cca43479ed33f3adabf85d443408f88228f9a5a9b7e31e63643d59b617bf6c3da1b5ad36f25beb99e8bf9190b1ec6b809fc39b11de74ee
7
+ data.tar.gz: a2af425ce6c2042e65526137fdd577cd72a88975f779bf7ec7458d30dc1e2ea6ec244ec17fbfc773b096c4f4ee0861e9b6ddc5e76b8fbda9fcbc0496d7f24101
@@ -1,6 +1,6 @@
1
1
  module Codemirror
2
2
  module Rails
3
- VERSION = '4.10'
4
- CODEMIRROR_VERSION = '4.10'
3
+ VERSION = '4.11'
4
+ CODEMIRROR_VERSION = '4.11'
5
5
  end
6
6
  end
@@ -719,7 +719,7 @@
719
719
  // width and height.
720
720
  removeChildren(display.cursorDiv);
721
721
  removeChildren(display.selectionDiv);
722
- display.heightForcer.style.top = display.gutters.style.height = 0;
722
+ display.gutters.style.height = 0;
723
723
 
724
724
  if (different) {
725
725
  display.lastWrapHeight = update.wrapperHeight;
@@ -777,9 +777,9 @@
777
777
 
778
778
  function setDocumentHeight(cm, measure) {
779
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";
780
+ var total = measure.docHeight + cm.display.barHeight;
781
+ cm.display.heightForcer.style.top = total + "px";
782
+ cm.display.gutters.style.height = Math.max(total + scrollGap(cm), measure.clientHeight) + "px";
783
783
  }
784
784
 
785
785
  // Read the actual heights of the rendered lines, and update their
@@ -8023,7 +8023,7 @@
8023
8023
 
8024
8024
  // THE END
8025
8025
 
8026
- CodeMirror.version = "4.10.0";
8026
+ CodeMirror.version = "4.11.0";
8027
8027
 
8028
8028
  return CodeMirror;
8029
8029
  });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codemirror-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: '4.10'
4
+ version: '4.11'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Fixler