app/assets/javascripts/ext/src/util/TextMetrics.js
Function Instance
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Ext.util.TextMetrics.Instance = function(bindTo, fixedWidth){
var ml = new Ext.Element(document.createElement('div'));
document.body.appendChild(ml.dom);
ml.position('absolute');
ml.setLeftTop(-1000, -1000);