Skip to content

rename com.tns.Platform to com.tns.Runtime and make it use instances instead of statics#408

Merged
slavchev merged 2 commits intomasterfrom
slavchev/refactor-statics
Apr 4, 2016
Merged

rename com.tns.Platform to com.tns.Runtime and make it use instances instead of statics#408
slavchev merged 2 commits intomasterfrom
slavchev/refactor-statics

Conversation

@slavchev
Copy link
Copy Markdown

@slavchev slavchev commented Apr 3, 2016

No description provided.

@ns-bot
Copy link
Copy Markdown

ns-bot commented Apr 3, 2016

💔

@ns-bot
Copy link
Copy Markdown

ns-bot commented Apr 3, 2016

💚

@slavchev slavchev merged commit 15c22ce into master Apr 4, 2016
@slavchev slavchev deleted the slavchev/refactor-statics branch April 4, 2016 07:26
{
ex.printStackTrace();
Platform.passUncaughtExceptionToJsNative(ex, errorMessage);
if (runtime != null)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe minor but don't we need to fail here like sanity check. Also if runtime is available why go through the static Runtime.isInitialzied() if we require runtime instance set upfront anyway.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Good point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants