Skip to content

Commit d3532b6

Browse files
committed
1.0.0
1 parent c6b84d5 commit d3532b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ o10n.extract();
2424

2525
// callback
2626
o10n.extract('critical',function(css) {
27-
console.log('Extracted critical CSS:',css);
27+
console.log('Extracted critical CSS:',css);
2828
});
2929
```
3030

@@ -36,7 +36,7 @@ o10n.extract('full');
3636

3737
// callback
3838
o10n.extract('full',function(css) {
39-
console.log('Extracted Full CSS:',css);
39+
console.log('Extracted Full CSS:',css);
4040
});
4141
```
4242

@@ -47,7 +47,7 @@ The following code will instantly start a Critical CSS download after pasting th
4747

4848
```javascript
4949
(function(d,c,s) {s=d.createElement('script');s.async=true;s.onload=c;s.src='https://cdn.rawgit.com/o10n-x/critical-css-widget/master/critical-css-widget.min.js';d.head.appendChild(s);})(document,function() {
50-
// critical css file download
51-
o10n.extract();
50+
// critical css file download
51+
o10n.extract();
5252
});
5353
```

0 commit comments

Comments
 (0)