diff --git a/Gruntfile.js b/Gruntfile.js index 60b474103..fc881ddee 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -110,13 +110,13 @@ module.exports = function(grunt) { "editor/js/nodes.js", "editor/js/history.js", "editor/js/validators.js", + "editor/js/ui/utils.js", "editor/js/ui/common/editableList.js", "editor/js/ui/common/menu.js", "editor/js/ui/common/popover.js", "editor/js/ui/common/searchBox.js", "editor/js/ui/common/tabs.js", "editor/js/ui/common/typedInput.js", - "editor/js/ui/utils.js", "editor/js/ui/actions.js", "editor/js/ui/deploy.js", "editor/js/ui/diff.js", diff --git a/editor/js/ui/common/typedInput.js b/editor/js/ui/common/typedInput.js index e7a26cf3d..06359a9ec 100644 --- a/editor/js/ui/common/typedInput.js +++ b/editor/js/ui/common/typedInput.js @@ -14,82 +14,13 @@ * limitations under the License. **/ (function($) { - function validateExpression(str) { - var length = str.length; - var start = 0; - var inString = false; - var inBox = false; - var quoteChar; - var v; - for (var i=0;i