Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

update sourceComments documentation in README.md #1820

Merged
merged 5 commits into from
Dec 2, 2016
Merged

update sourceComments documentation in README.md #1820

merged 5 commits into from
Dec 2, 2016

Conversation

screamingmunch
Copy link
Contributor

expand on sourceComments description in README.md

expand on sourceComments description in README.md
@@ -351,7 +351,8 @@ var result = sass.renderSync({
data: 'body{background:blue; a{color:black;}}',
outputStyle: 'compressed',
outFile: '/to/my/output.css',
sourceMap: true, // or an absolute or relative (to outFile) path
sourceMap: true, // or an absolute or relative (to outFile) path,
sourceComments: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Not needed since the Sass project doesn't recommend using this option anymore (AFIK)

@@ -257,7 +257,7 @@ Used to determine how many digits after the decimal will be allowed. For instanc
Type: `Boolean`
Default: `false`

`true` enables additional debugging information in the output file as CSS comments
`true` enables additional debugging information (line number and source scss file reference, similar to :line_comments in compass) in the output file as CSS comments
Copy link
Contributor

Choose a reason for hiding this comment

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

:line_numbers is the Ruby Sass one (with :line_comments as an alias) http://sass-lang.com/documentation/file.SASS_REFERENCE.html#options
Compass is depreciated now, so probably shouldn't be mentioned

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes please remove the reference to compass.

@@ -257,7 +257,7 @@ Used to determine how many digits after the decimal will be allowed. For instanc
Type: `Boolean`
Default: `false`

`true` enables additional debugging information in the output file as CSS comments
`true` enables additional debugging information (line number and source scss file reference, similar to :line_comments in compass) in the output file as CSS comments
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes please remove the reference to compass.

updated doc (removed reference to compass) per code review recommendations
edits to sourceComments doc in README.md
@@ -351,7 +351,7 @@ var result = sass.renderSync({
data: 'body{background:blue; a{color:black;}}',
outputStyle: 'compressed',
outFile: '/to/my/output.css',
sourceMap: true, // or an absolute or relative (to outFile) path
sourceMap: true, // or an absolute or relative (to outFile) path,
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove the comma at the end of the comment

@xzyfer
Copy link
Contributor

xzyfer commented Dec 2, 2016

Thank you @screamingmunch! ❤️

@screamingmunch
Copy link
Contributor Author

Apologies to all the rookie misses.. first-time contributing to open source.

Removed references to compass, and removed the comma in code sample(left by previous author). =)

@xzyfer xzyfer dismissed nschonni’s stale review December 2, 2016 00:30

PR has been updated.

@xzyfer xzyfer merged commit dc92c18 into sass:master Dec 2, 2016
@xzyfer
Copy link
Contributor

xzyfer commented Dec 2, 2016

No worries @screamingmunch, we're excited you have your help!

jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this pull request Apr 7, 2024
selector-unify should return null instead of an empty list
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.

3 participants