Skip to content
Snippets Groups Projects
Commit 0b33589f authored by Pankaj Vishwani's avatar Pankaj Vishwani
Browse files

Fixing indentation

parent 19e29ca2
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ worker.postMessage("Hello World!"); ...@@ -31,7 +31,7 @@ worker.postMessage("Hello World!");
The worker helper script (helper.js): The worker helper script (helper.js):
```javascript ```javascript
export const dataFormatter = (data) => { export const dataFormatter = (data) => {
return `${data} World!`; return `${data} World!`;
}; };
``` ```
...@@ -40,7 +40,7 @@ The worker script (repeat.js): ...@@ -40,7 +40,7 @@ The worker script (repeat.js):
import { dataFormatter } from "./helper"; import { dataFormatter } from "./helper";
onmessage = function (ev) { onmessage = function (ev) {
const data = dataFormatter(ev.data); const data = dataFormatter(ev.data);
postMessage(data); postMessage(data);
}; };
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment