Added lengthFieldClass indirection
diff --git a/dev/js/src/hint/lengthField.js b/dev/js/src/hint/lengthField.js
new file mode 100644
index 0000000..0662b89
--- /dev/null
+++ b/dev/js/src/hint/lengthField.js
@@ -0,0 +1,25 @@
+define(['menu/lengthField'], function (lengthFieldClass) {
+ return {
+
+ /**
+ * Create lengthField object for the hint helper menu.
+ */
+ create : function () {
+ return Object.create(lengthFieldClass).
+ upgradeTo(this)._init();
+ },
+
+ /**
+ * Override the prefix action.
+ */
+ add : function (param) {
+ this._element.appendChild(document.createElement('span'))
+ .appendChild(document.createTextNode(param[0] + '--'));
+
+ var desc = this._element.appendChild(document.createElement('span'));
+ desc.classList.add("desc");
+ desc.appendChild(document.createTextNode(param[2] + '--'));
+ this._element.appendChild(desc);
+ }
+ };
+});