[AC-3297] Allow arguments[0] in tss
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2013-01-30T15:47:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | alloy, style |
Reporter | Hilko Lantinga |
Assignee | Tony Lukasavage |
Created | 2013-01-30T15:31:02.000+0000 |
Updated | 2016-03-08T07:57:43.000+0000 |
Description
Alloy.createController('bottombarbutton', {backgroundImage : 'img/bottombarbutton/tab_btn_r.png'});
"#bottombarbutton": {
backgroundSelectedImage : 'img/bottombarbutton/tab_btn_p.png',
backgroundImage: arguments[0].backgroundImage,
top: 1,
height: 69,
width: 128
}
[ERROR] : [ERROR] Expected "Alloy", "L", "Ti", "Titanium", "WPATH", "[", "false", "null", "true", "{", comment, end of line, number, string or whitespace but "a" found.
conversation here: https://groups.google.com/forum/?fromgroups=#!topic/appc-ti-alloy/5hV7FpWPWxs In short, adding arguments into the TSS is messy and unintuitive for other developers inspecting code. Dynamic styling and ALOY-362 would make this unnecessary.
Closing this ticket in favor of Dynamic Styling and ALOY-362 as per Tony's comments.