Skip to content

Commit 4377b88

Browse files
Li357rodneyrehm
authored andcommitted
docs(getting-started): Add Sass instantiation for WebWorker
1 parent 18d5e32 commit 4377b88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/getting-started.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The regular way of running Sass.js in the browser is by using the Web Worker (se
1717
```html
1818
<script src="dist/sass.js"></script>
1919
<script>
20+
var sass = new Sass();
2021
var scss = '$someVar: 123px; .some-selector { width: $someVar; }';
2122
sass.compile(scss, function(result) {
2223
console.log(result);

0 commit comments

Comments
 (0)