Move isUndefined check to CSSConstants in java code

This commit is contained in:
Krzysztof Magiera
2014-12-02 22:30:44 +00:00
parent edcc4b5944
commit fbd14263f9
5 changed files with 23 additions and 23 deletions

View File

@@ -24,7 +24,7 @@ function __transpileToJavaCommon(code) {
.replace(/trailing\[([^\]]+)\]/g, 'getTrailing($1)')
.replace(/pos\[([^\]]+)\]/g, 'getPos($1)')
.replace(/dim\[([^\]]+)\]/g, 'getDim($1)')
.replace(/isUndefined/g, 'FloatUtil.isUndefined')
.replace(/isUndefined/g, 'CSSConstants.isUndefined')
// Since Java doesn't store its attributes in arrays, we need to use setters/getters to access
// the appropriate layout/style fields