diff --git a/editor/js/ui/typedInput.js b/editor/js/ui/typedInput.js index a02a39998..758bb51c8 100644 --- a/editor/js/ui/typedInput.js +++ b/editor/js/ui/typedInput.js @@ -14,10 +14,79 @@ * 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