Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #5 from HappyFacade/patch-1
Add syntax highlighting to readme
  • Loading branch information
petersalomonsen committed Apr 5, 2020
2 parents fbce8c7 + 93724b1 commit e49b86f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -20,7 +20,7 @@ For running in the browser you should have your git interaction code in a [webwo

Here's an example of a simple webworker that uses pre-built binaries from https://unpkg.com/wasm-git@0.0.1/

```
```js
var Module = {
locateFile: function(s) {
return 'https://unpkg.com/wasm-git@0.0.2/' + s;
Expand Down Expand Up @@ -63,7 +63,7 @@ You may install the npm package containing the binaries:

example source code for cloning a repository from github:

```
```js
const lg = require('./node_modules/wasm-git/lg2.js');

lg.onRuntimeInitialized = () => {
Expand Down

0 comments on commit e49b86f

Please sign in to comment.