Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6_3_X][TIMOB-25437] Remove const/let usage and use strict #9549

Merged
merged 4 commits into from Oct 26, 2017

Conversation

ewanharris
Copy link
Collaborator

JIRA: https://jira.appcelerator.org/browse/TIMOB-25437

#9535 Was a bad fix and exposed errors due to the code now running in strict mode. This PR removes the 'use strict' and usage of const/let. If we backport any fixes in the CLI code from master we need to remember to not use const/let.

Verification

  1. Exercise general building of with Node 4
  2. Download the test app from https://github.com/ewanharris/TIMOB-25437 and build. The error should not be seen and the app should build and load as expected.

@hansemannn hansemannn added this to the 6.3.0 milestone Oct 24, 2017
@garymathews garymathews changed the title [TIMOB-25437] Remove const/let usage and use strict [6_3_X][TIMOB-25437] Remove const/let usage and use strict Oct 24, 2017
@mukherjee2 mukherjee2 self-requested a review October 26, 2017 22:43
Copy link
Contributor

@mukherjee2 mukherjee2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passed FR with this environment:
Node Version: 6.11.5
NPM Version: 3.10.10
Mac OS: 10.13
Appc CLI: 6.3.0-master.16
Appc CLI NPM: 4.2.10-2
Titanium SDK version: 6.3.0.v20171026142134 (artifact from this PR)
Appcelerator Studio vers 4.10.0
Xcode 9.0.1/iOS 11.0.3 iPhone 7 Plus

I first built the test app with an SDK without the fix, and saw the same error that was mentioned in the ticket. I then built the app with the SDK that has the fix, and saw no errors. The app also functioned as expected.

@mukherjee2 mukherjee2 merged commit ad48738 into tidev:6_3_X Oct 26, 2017
@ewanharris ewanharris deleted the TIMOB-25437 branch August 31, 2021 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants