Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13153] TiAPI: Get current script relative path to "Resources"

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2016-03-23T09:34:24.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCore
Labelsn/a
ReporterMartin Guillon
AssigneePedro Enrique
Created2012-11-05T13:45:44.000+0000
Updated2017-03-27T22:11:46.000+0000

Description

I added a Ti javascript namespace to get the relative path (to Resources) of the current script file. Uncompress the attached file in a new Titanium mobile application. Pull request in comment.

Attachments

FileDateSize
Archive.zip2012-11-05T13:45:44.000+0000994
Resources.zip2014-05-02T20:31:35.000+00004209

Comments

  1. Martin Guillon 2012-11-05

    pull request https://github.com/appcelerator/titanium_mobile/pull/3377
  2. Sindre Sorhus 2013-09-20

    bump
  3. Ingo Muschenetz 2013-09-20

    [~farfromrefuge] Can you please provide a test case?
  4. Martin Guillon 2013-09-20

    It s attached to the ticket.Yet there is a misspell in it.In my PR i replace "ressourcesRelativePath" with "resourcesRelativePath"
  5. Pedro Enrique 2014-04-28

    PR https://github.com/appcelerator/titanium_mobile/pull/5650
  6. Pedro Enrique 2014-05-02

    Updated the test case, the original one had a type in it
  7. Hans Knöchel 2016-03-23

    Closed the PR, since there was no review-activity for nearly 2 years now. Feel free to re-open is necessary!
  8. Lee Morris 2017-03-27

    Closing ticket with reference to the above comments.

JSON Source