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

Fixed spacing for better consistency #138

Merged
merged 1 commit into from
Jun 10, 2018
Merged

Conversation

AlexJeng
Copy link
Contributor

Fixed the spacing in code-reuse-patterns/prototypal-inheritance.html for better consistency.

For example, from:

// create a new person
var papa = new Person();
// inherit
var kid = object(papa);
// test that both the own property
// and the prototype property were inherited
console.log(kid.getName()); // "Adam"

to:

// create a new person
var papa = new Person();

// inherit
var kid = object(papa);

// test that both the own property
// and the prototype property were inherited
console.log(kid.getName()); // "Adam"

@chuanxshi chuanxshi merged commit 57975d5 into chuanxshi:master Jun 10, 2018
@chuanxshi
Copy link
Owner

@AlexJeng thanks, merged!

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.

None yet

2 participants