Skip to content

playground: add (s)css examples#3696

Merged
j-f1 merged 4 commits intoprettier:masterfrom
Haroenv:patch-1
Jan 10, 2018
Merged

playground: add (s)css examples#3696
j-f1 merged 4 commits intoprettier:masterfrom
Haroenv:patch-1

Conversation

@Haroenv
Copy link
Copy Markdown
Contributor

@Haroenv Haroenv commented Jan 10, 2018

see #3667

These are derived from Bootstrap, should there be a license comment?

@azz
Copy link
Copy Markdown
Member

azz commented Jan 10, 2018

What's the license terms of bootstrap? (It probably doesn't matter here though? I don't know...)

@Haroenv
Copy link
Copy Markdown
Contributor Author

Haroenv commented Jan 10, 2018

It's MIT, so I'm not 100% sure if this is allowed without license text. It's such a small block that it doesn't matter I guess though 🤔 https://getbootstrap.com/docs/4.0/about/license/

@azz
Copy link
Copy Markdown
Member

azz commented Jan 10, 2018

Yeah I really don't think it matters for tiny extracts. I guess you could put a comment in the code linking to bootstrap?

@j-f1
Copy link
Copy Markdown
Member

j-f1 commented Jan 10, 2018

What about putting something like this in the JS?

// Excerpted from the Bootstrap source, which is licensed under the MIT license:
// https://github.com/twbs/bootstrap/blob/v4.0.0-beta.3/LICENSE

@Haroenv
Copy link
Copy Markdown
Contributor Author

Haroenv commented Jan 10, 2018

done now (sorry for earlier mistakes, commited on GitHub so didn't see the linting errors)

Copy link
Copy Markdown
Member

@j-f1 j-f1 left a comment

Choose a reason for hiding this comment

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

LGTM (CSS and SCSS on the playground)

@j-f1 j-f1 merged commit 408f3d3 into prettier:master Jan 10, 2018
@Haroenv Haroenv deleted the patch-1 branch January 10, 2018 13:16
@Haroenv
Copy link
Copy Markdown
Contributor Author

Haroenv commented Jan 10, 2018

awesome 👌

@lock lock Bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 18, 2019
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants