Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13183] CodeProcessor: Merge require and common-globals plugins into ti-api-provider

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-08-22T00:42:32.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2013 Sprint 17, 2013 Sprint 17 Tooling, Release 3.2.0
ComponentsCode Processor
Labelsn/a
ReporterIngo Muschenetz
AssigneeMatt Langston
Created2013-03-24T22:47:35.000+0000
Updated2017-03-09T00:19:23.000+0000

Description

When we move to adding support for node.acs, there will be a clash with the existing require and common-globals. These plugins are really ti-specific, so they should go inside of the ti-api-provider plugin. This is also necessary to fix a current architectural issue preventing TIMOB-13088 from being implemented. Currently, the plugins directly set their variables/methods on the global object, but when they are integrated with ti-api-provider, they need to be updated to use the JSCA reading mechanisms in ti-api-provider

Comments

  1. Bryan Hughes 2013-08-15

    PR: https://github.com/appcelerator/titanium-code-processor/pull/231
  2. Bryan Hughes 2013-08-21

    To test: run the code analyzer on a Titanium app via 'ti analyze -p iphone --all-plugins' while using the latest (3.2.0) CLI (this will require a custom deployment of the CLI). This is a technical debt ticket, so if the PR works, there will be no change in the output.
  3. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source