[ALOY-76] Compiling of json style files break when a object value is used.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-19T11:52:06.000+0000 |
Affected Version/s | 2012 Sprint 14 |
Fix Version/s | 2012 Sprint 14 |
Components | n/a |
Labels | n/a |
Reporter | Russell McMahon |
Assignee | Russell McMahon |
Created | 2012-06-14T16:37:53.000+0000 |
Updated | 2014-06-22T13:21:02.000+0000 |
Description
/usr/local/lib/node_modules/alloy/Alloy/uglify-js/lib/parse-js.js:271 throw new JS_Parse_Error(message, line, col, pos); when parsing: { ".name" : { "width": Ti.UI.FIT, "height": Ti.UI.FIT, "textAlign": Ti.UI.TEXT_ALIGNMENT_LEFT, "color": "black", "test2": {}, "left": 20 }, ".title": { "width": Ti.UI.FIT, "test2": {}, "test1": "text", "test3": 20 } } However it's okay with: { ".name" : { "width": Ti.UI.FIT, "height": Ti.UI.FIT, "textAlign": Ti.UI.TEXT_ALIGNMENT_LEFT, "color": "black", "left": 20 }, ".done" : { "width": Ti.UI.FIT, "height": Ti.UI.FIT, "textAlign": Ti.UI.TEXT_ALIGNMENT_RIGHT, "color": "red", "right": 20 }, ".title": { "width": Ti.UI.FIT, "test2": {}, "test1": "text", "test3": 20 } } Notice the rule .title has a object value for test2Comments
No comments