You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ sass.options({
136
136
137
137
### Compiling strings
138
138
139
-
The `Sass.compile()` method compiles a SCSS source string (SASS) to CSS. See the [the response object](#the-response-object) below for details on the operation's resulting data structure.
139
+
The `compile` method compiles a SCSS source string (SASS) to CSS. See the [the response object](#the-response-object) below for details on the operation's resulting data structure.
140
140
141
141
**NOTE:** To compile SASS source strings the option `indentedSyntax` needs to be set to `true`.
142
142
@@ -146,7 +146,7 @@ sass.compile(source, function callback(result) {
146
146
});
147
147
```
148
148
149
-
It is possible to set options for a specific `Sass.compile()` call, rather than globally for all `Sass.compile()` calls. See [Sass.options()](#libsass-compile-options) for details:
149
+
It is possible to set options for a specific `compile` call, rather than globally for all `compile` calls. See [Sass.options()](#libsass-compile-options) for details:
Chances are you want to use one of the readily available Sass mixins (e.g. [drublic/sass-mixins](https://github.com/drublic/Sass-Mixins) or [Bourbon](https://github.com/thoughtbot/bourbon)). While Sass.js doesn't feature a full-blown "loadBurbon()", registering individual files is possible:
0 commit comments