Details

    • Type: Story
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 2.1.0
    • Fix Version/s: None
    • Component/s: TiAPI
    • Labels:

      Description

      Needs to implement the "minispec" for require() that was decided on by core:

      1. Conform to commonjs spec: http://wiki.commonjs.org/wiki/Modules/1.1
        -> Testing to be https://github.com/commonjs/commonjs/tree/master/tests/modules
      2. non-MW platforms throw an exception when confronted with async syntax
        -> {{ require(["foo"], callbackFunction); }}

      There is also the possibility of:

      1. Leading '/' not allowed in module names
      2. Leading '/' always indicates a resource at the root of the project

      This should be done for all platforms.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                stephentramer Stephen Tramer
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration