Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-2027

Android: Weird behavior when setting custom sub properties on proxies

    Details

      Description

      {html}<div><p>An example from hal:<br></p>
      <pre>
      <code class=
      "javascript">var viewInvRow = Ti.UI.createView(viewRowOptions);
      Ti.API.info('----');
      viewInvRow.customObj = "hello";
      Ti.API.info('viewInvRow.customObj: '+viewInvRow.customObj); // output ok
      viewInvRow.customObj = {};
      viewInvRow.customObj.test = "hello";
      Ti.API.info('viewInvRow.customObj.test: '+viewInvRow.customObj.test); // undefined
      viewInvRow.customObj = { test : "hello" };
      Ti.API.info('viewInvRow.customObj.test: '+viewInvRow.customObj.test); // output ok
      Ti.API.info('----');</code>
      </pre></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              mculpepper Marshall Culpepper
              Reporter:
              mculpepper Marshall Culpepper
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-1798
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration