Skip to content

Commit 1135c86

Browse files
committed
fixed example readme
1 parent 8f603e5 commit 1135c86

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

examples/mixed/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ require([
1616
);
1717
```
1818

19+
# amd.js
20+
1921
``` javascript
2022
// AMD Module Format
2123
define(
@@ -30,6 +32,8 @@ define(
3032
);
3133
```
3234

35+
# commonjs.js
36+
3337
``` javascript
3438
// CommonJs Module Format
3539
module.exports = 123;

examples/mixed/template.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@
44
{{example.js}}
55
```
66

7+
# amd.js
8+
79
``` javascript
810
{{amd.js}}
911
```
1012

13+
# commonjs.js
14+
1115
``` javascript
1216
{{commonjs.js}}
1317
```

0 commit comments

Comments
 (0)