[ALOY-131] Use uglify to intelligently determine if getRoot() should be used in add() or remove() functions
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | High |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2012-08-28T20:21:40.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | XML |
| Labels | n/a |
| Reporter | Tony Lukasavage |
| Assignee | Russell McMahon |
| Created | 2012-07-26T08:56:02.000+0000 |
| Updated | 2014-02-04T00:34:53.000+0000 |
Can't use the
\_.isFunction(view.getRoot)call because on iOS this ALWAYS returns true on proxy objects due to the native mappings. I'm instead using a custom property\_\_iamalloy\_\_to simply mark components, also making the runtime check faster.