Skip to content

Commit 4a9f8f1

Browse files
committed
.
1 parent 9fc11f4 commit 4a9f8f1

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ SVG Path with simplification:
8181

8282
![Rough.js rectangle](https://roughjs.com/images/main/m9.png) ![Rough.js rectangle](https://roughjs.com/images/main/m10.png)
8383

84-
### Using web workers with Workly
84+
### Using web workers
8585

86-
If you have [Workly](https://github.com/pshihn/workly) imported on your web page (~1k only), RoughJS will automatically offload all processing to a web worker - freeing up your main UI thread. This is great when creating complex drawings using RoughJs.
86+
If you have [Workly](https://github.com/pshihn/workly) imported on your web page (~1k only), RoughJS will automatically offload all processing to a web worker - freeing up your main UI thread. This is great when creating complex drawings using RoughJs like maps. Read more about it [here](https://github.com/pshihn/rough/wiki/RoughJS-in-a-web-worker).
8787

8888
```html
8989
<script src="https://cdn.jsdelivr.net/gh/pshihn/workly/dist/workly.min.js"></script>
@@ -98,11 +98,6 @@ If you have [Workly](https://github.com/pshihn/workly) imported on your web page
9898

9999
[View examples here](https://github.com/pshihn/rough/wiki/Examples)
100100

101-
## RoughJS in a web worker
102-
103-
RoughJS processing can easily be delegated to a web worker.
104-
Read about it [here](https://github.com/pshihn/rough/wiki/RoughJS-in-a-web-worker).
105-
106101
## API & Documentation
107102

108103
[Full Rough.js API](https://github.com/pshihn/rough/wiki)

docs/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ SVG Path with simplification:
8181

8282
![Rough.js rectangle](https://roughjs.com/images/main/m9.png) ![Rough.js rectangle](https://roughjs.com/images/main/m10.png)
8383

84-
### Using web workers with Workly
84+
### Using web workers
8585

86-
If you have [Workly](https://github.com/pshihn/workly) imported on your web page (~1k only), RoughJS will automatically offload all processing to a web worker - freeing up your main UI thread. This is great when creating complex drawings using RoughJs.
86+
If you have [Workly](https://github.com/pshihn/workly) imported on your web page (~1k only), RoughJS will automatically offload all processing to a web worker - freeing up your main UI thread. This is great when creating complex drawings using RoughJs like maps. Read more about it [here](https://github.com/pshihn/rough/wiki/RoughJS-in-a-web-worker).
8787

8888
```html
8989
<script src="https://cdn.jsdelivr.net/gh/pshihn/workly/dist/workly.min.js"></script>
@@ -98,11 +98,6 @@ If you have [Workly](https://github.com/pshihn/workly) imported on your web page
9898

9999
[View examples here](https://github.com/pshihn/rough/wiki/Examples)
100100

101-
## RoughJS in a web worker
102-
103-
RoughJS processing can easily be delegated to a web worker.
104-
Read about it [here](https://github.com/pshihn/rough/wiki/RoughJS-in-a-web-worker).
105-
106101
## API & Documentation
107102

108103
[Full Rough.js API](https://github.com/pshihn/rough/wiki)

0 commit comments

Comments
 (0)