Skip to content

refactor(console): remove the console module #5338

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

Merged
merged 2 commits into from
Feb 4, 2018

Conversation

petekanev
Copy link
Contributor

@petekanev petekanev commented Jan 26, 2018

Resubmitting PR based on the 'master' branch.

Removing the console module implementation eliminates some error-prone formatting logic, and certain platform-specific checks. The implementation was also android-specific. Left a stub Console class
implementation as one is necessary to avoid errors with console being undefined during the snapshot stage for android.

The console module is replaced by a 'console' implementation in the Android Runtime. See android-runtime/PR NativeScript/android#884

Unit test changes PR - NativeScript/functional-tests#9

Removing the console module implementation eliminates some error-prone
formatting logic, and certain platform-specific checks. The
implementation was also android-specific. Left a stub Console class
implementation as one is necessary to avoid errors with `console` being
undefined during the snapshot stage for android.

The console module is replaced by a 'console' implementation in the Android Runtime. See
android-runtime/PR #884
@SvetoslavTsenov
Copy link
Contributor

uitests

@SvetoslavTsenov
Copy link
Contributor

test android uitests

1 similar comment
@SvetoslavTsenov
Copy link
Contributor

test android uitests

@SvetoslavTsenov
Copy link
Contributor

test android#pete/revert-console uitests

@SvetoslavTsenov
Copy link
Contributor

test android#pete/revert-console uitests#pete/fix-console-tests

4 similar comments
@SvetoslavTsenov
Copy link
Contributor

test android#pete/revert-console uitests#pete/fix-console-tests

@SvetoslavTsenov
Copy link
Contributor

test android#pete/revert-console uitests#pete/fix-console-tests

@SvetoslavTsenov
Copy link
Contributor

test android#pete/revert-console uitests#pete/fix-console-tests

@SvetoslavTsenov
Copy link
Contributor

test android#pete/revert-console uitests#pete/fix-console-tests

@SvetoslavTsenov SvetoslavTsenov merged commit 0b1c361 into master Feb 4, 2018
@vakrilov vakrilov deleted the pete/remove-console-module branch April 5, 2018 06:29
@lock
Copy link

lock bot commented Aug 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants