Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / swingjs / plaf / JSTextAreaUI.js
index 860dd33..bebbd02 100644 (file)
@@ -1,19 +1,19 @@
-Clazz.declarePackage ("swingjs.plaf");\r
-Clazz.load (["swingjs.plaf.JSTextUI"], "swingjs.plaf.JSTextAreaUI", ["swingjs.api.DOMNode"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.domBtn = null;\r
-Clazz.instantialize (this, arguments);\r
-}, swingjs.plaf, "JSTextAreaUI", swingjs.plaf.JSTextUI);\r
-Clazz.overrideMethod (c$, "getDOMObject", \r
-function () {\r
-if (this.domNode == null) {\r
-this.updateHandler.checkDocument ();\r
-this.domBtn = this.focusNode = this.enableNode = this.textNode = this.domNode = this.createDOMObject ("textarea", this.id, []);\r
-this.bindMouse (this.domNode);\r
-this.bindKeys (this.domNode);\r
-this.setFocusable ();\r
-}this.setCssFont (swingjs.api.DOMNode.setAttr (this.domNode, "innerHTML", this.getComponentText ()), this.c.getFont ());\r
-if (!this.editable) swingjs.api.DOMNode.setAttr (this.domNode, "readOnly", "true");\r
-return this.domNode;\r
-});\r
-});\r
+Clazz.declarePackage ("swingjs.plaf");
+Clazz.load (["swingjs.plaf.JSTextUI"], "swingjs.plaf.JSTextAreaUI", ["swingjs.api.DOMNode"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.domBtn = null;
+Clazz.instantialize (this, arguments);
+}, swingjs.plaf, "JSTextAreaUI", swingjs.plaf.JSTextUI);
+Clazz.overrideMethod (c$, "getDOMObject", 
+function () {
+if (this.domNode == null) {
+this.updateHandler.checkDocument ();
+this.domBtn = this.focusNode = this.enableNode = this.textNode = this.domNode = this.createDOMObject ("textarea", this.id, []);
+this.bindMouse (this.domNode);
+this.bindKeys (this.domNode);
+this.setFocusable ();
+}this.setCssFont (swingjs.api.DOMNode.setAttr (this.domNode, "innerHTML", this.getComponentText ()), this.c.getFont ());
+if (!this.editable) swingjs.api.DOMNode.setAttr (this.domNode, "readOnly", "true");
+return this.domNode;
+});
+});