Skip to content

Commit

Permalink
Documentation (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Oct 18, 2017
1 parent 3281593 commit 5c92487
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/tutorials/REQUIRE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ In general, the `gpf` symbol is always available. It allows you to access the gl
`{@see gpf.context}` API.
In particular, you may define a gpf module using {@see gpf.require.define}.

### GPF Module

```JavaScript
gpf.require.define({
name1: "dependency1.js",
Expand Down Expand Up @@ -70,7 +72,7 @@ gpf.require.define({
});
```

## Asynchronous Module Definition (AMD)
### Asynchronous Module Definition (AMD)

The [AMD](https://en.wikipedia.org/wiki/Asynchronous_module_definition) format

Expand Down Expand Up @@ -167,7 +169,7 @@ define(function () {
});
```

## CommonJS
### CommonJS

The [CommonJS](https://en.wikipedia.org/wiki/CommonJS) format:

Expand Down

0 comments on commit 5c92487

Please sign in to comment.