Skip to content

Commit

Permalink
docs(getting-started): Add Sass instantiation for WebWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
Li357 authored and rodneyrehm committed Jul 11, 2018
1 parent 18d5e32 commit 4377b88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The regular way of running Sass.js in the browser is by using the Web Worker (se
```html
<script src="dist/sass.js"></script>
<script>
var sass = new Sass();
var scss = '$someVar: 123px; .some-selector { width: $someVar; }';
sass.compile(scss, function(result) {
console.log(result);
Expand Down

0 comments on commit 4377b88

Please sign in to comment.