Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eouia committed Sep 28, 2018
1 parent a5d249b commit c8ed7e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -2,7 +2,7 @@
MagicMirror module for external web widgets

## Screenshot

![Screenshot](https://raw.githubusercontent.com/eouia/MMM-Widget/master/screenshot.png)

## Installation
```shell
Expand Down Expand Up @@ -95,15 +95,15 @@ git clone https://github.com/eouia/MMM-Widget
```

### Tip
You could have a problem of syntax error, when your script codes are too long and multi-lines.
Use these way;
You could have a problem of syntax error, when your script codes have too long and multi lines.
Use these ways;
- ES5 Style
```javascript
html: "your very very very very very very \
long long long long long long script",
```

- ES6 Style
- ES6 Style (Recommended. You don't need to escape quotation and double quotation marks.)
```javascript
html: `your very very very very very very
long long long long long long script`,
Expand Down

0 comments on commit c8ed7e7

Please sign in to comment.