[ALOY-171] "src" and "type" attributes from <Require> should not be passed to the generated code
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-08-15T07:45:14.000+0000 |
Affected Version/s | 2012 Sprint 17 |
Fix Version/s | 2012 Sprint 17, Release 3.0.0 |
Components | XML |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2012-08-13T12:19:49.000+0000 |
Updated | 2018-03-07T22:25:46.000+0000 |
Description
<Require type="widget" src="com.appc.someWidget" id="theWidget"/>
generate this:
$.theWidget = new (Alloy.getWidget("com.appc.someWidget"))({
type: "widget",
src: "com.appc.someWidget"
});
it should just generate this:
$.theWidget = new (Alloy.getWidget("com.appc.someWidget"))();
No comments