Titanium JIRA Archive
Alloy (ALOY)

[ALOY-178] Add exports basecontroller property

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-08-16T12:34:13.000+0000
Affected Version/s2012 Sprint 17
Fix Version/s2012 Sprint 17, Release 3.0.0
ComponentsRuntime, XML
Labelsn/a
ReporterRussell McMahon
AssigneeUnknown
Created2012-08-13T19:50:33.000+0000
Updated2018-03-07T22:26:13.000+0000

Description

By default use BaseController

Comments

  1. Tony Lukasavage 2012-08-16

    This isn't working as written. For example, setting baseController like this:
       exports.baseController = "someBaseController";
       
    results in invalid generated code:
       require('alloy/controllers/"someBaseController"')
       
    re-opening to fix
  2. Tony Lukasavage 2012-08-16

    exports.baseController sets inheritance appropriately now

JSON Source