UNPKG

ace-diff

Version:

A diff/merging wrapper for Ace Editor built on google-diff-match-patch

5 lines (4 loc) 209 B
module.exports = function getEditorHeight(acediff) { // editorHeight: document.getElementById(acediff.options.left.id).clientHeight return document.getElementById(acediff.options.left.id).offsetHeight; };