codemirror-rails 4.9 → 4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 284033712dc0b2bfb8a7dfacbf9978310a1a9da2
4
- data.tar.gz: 9e39f05137ce738d972d9d52f557671d0449d9a7
3
+ metadata.gz: 21ab3de91803458aaa6261829f266e1c642a6ff1
4
+ data.tar.gz: 6f20754757968a96505791548f751f75bde3f87c
5
5
  SHA512:
6
- metadata.gz: b786c5741f9fa9638104a273b5b5b1c3c7791add1ff0b0f9720e5d9e50a05e733d06bbb2e9d1addcbf2f609240c7b2ccdc96cdcc28a854b2edaa15a631ce080e
7
- data.tar.gz: 54801430f624d1651b225da319fcd972d7cf699f9954521ec735ad71690cc00f0b0fc5eb3578d090abb5d8799988f988bd2558c5157e2e3ea3ecaf1ddd03b9a2
6
+ metadata.gz: 7175a8806588bdaf6abc17d046f928d4e758e0857522c86d3c5a0d061ca90db7c58848baf9d7fbaa758066b40487f588055c99d67c16358c7632e00980bc9b17
7
+ data.tar.gz: ae4fbb37194b88852966f082b8a90a34068c78c01b1233bc9143ee27f5019d6b232e4b1e4d06b68eeb2f639e5d673274edf0b8f6e6676bf160fa668265fd3138
@@ -1,6 +1,6 @@
1
1
  module Codemirror
2
2
  module Rails
3
- VERSION = '4.9'
4
- CODEMIRROR_VERSION = '4.9'
3
+ VERSION = '4.10'
4
+ CODEMIRROR_VERSION = '4.10'
5
5
  end
6
6
  end
@@ -776,8 +776,10 @@
776
776
  }
777
777
 
778
778
  function setDocumentHeight(cm, measure) {
779
- cm.display.sizer.style.minHeight = cm.display.heightForcer.style.top = measure.docHeight + "px";
780
- cm.display.gutters.style.height = Math.max(measure.docHeight + scrollGap(cm), measure.clientHeight) + "px";
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.9.0";
8026
+ CodeMirror.version = "4.10.0";
8025
8027
 
8026
8028
  return CodeMirror;
8027
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.9'
4
+ version: '4.10'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Fixler