-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
console: make console consistent with the standard - overridable #12454
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
Closed
Wandalen
wants to merge
21
commits into
nodejs:master
from
Wandalen:console-consistent-with-standard
+92
−2
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
ea237b2
console: make console consistent with the standard - overridable
Wandalen d98c130
console: make console consistent - writable, not enumerable
Wandalen 4a0669d
console: add WPT footer as requested
Wandalen fad6725
console: remove extra comments as requested
Wandalen 6e86bca
console : add WPT header as requested
Wandalen 79dc629
console: take care of console set undefined case
Wandalen e10a6dd
console : remove diagnostic information output
Wandalen 28c32a2
console : fix typo
Wandalen 02768c0
console : few more test cases
Wandalen 5f9d30f
console : stadard remove redundandt test case
Wandalen bb26718
console : reference specific commit instead of master in test suite
Wandalen 352d504
console : fix jsling issue
Wandalen 197ec07
console : reverse requires in test as requested
Wandalen c653812
console : => shorthand
Wandalen 5a411bc
console : requested comment
Wandalen c9c572a
console : requested comment
Wandalen b553b49
console : requested comment
Wandalen b7d9771
console : requested comment
Wandalen 8023728
console : requested comment
Wandalen 490374f
squash: update test-console-is-a-namespace
Trott 2f43d8d
squash: rename test
Trott File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
console : fix jsling issue
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make jslintthrew an error:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding require common gives "'common' is assigned a value but never used". What would be appropriate resolution of the problem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simulating of usage or adding a directive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just don't assign it anywhere. Instead of
const common = require('../common');dorequire('../common');.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aqrln Smart. Do you participate in OdesaJS this year?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@watilde fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Wandalen almost there :) The
commonmodule should be the first one that a testrequires. Please see our guide on writing tests.Yep.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aqrln I shall share my experience too if organizers won't be mean :)