Skip to content

Commit

Permalink
Add syntax highlighting to README code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
bronzehedwick committed May 11, 2015
1 parent 867273e commit 80c3ff2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ I am considering adding a reporting agent to make recording violations easier, w

## Use
Simple
```
```html
<script type="text/javascript" src="../build/justice.mapped.min.js"></script>
<script type="text/javascript">
Justice.init();
</script>
```
With options
```
```html
<script type="text/javascript" src="../build/justice.mapped.min.js"></script>
<script type="text/javascript">
Justice.init({
Expand All @@ -57,12 +57,12 @@ With options

## Develop
The default grunt process will watch files for changes and handle builds. I keep examples/simple.html open in a browser, which will automatically be refreshed on build.
```
```sh
npm install
grunt
```
I like to keep an eye on fill size, so you can additionally watch that.
```
```sh
watch tail log/size-log.txt
```

Expand Down

0 comments on commit 80c3ff2

Please sign in to comment.