Skip to content

Commit 6a803a5

Browse files
authored
Merge pull request #654 from shidhincr/patch-1
`RequireJS` in the title is misleading.
2 parents 9477421 + 3426242 commit 6a803a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/guides/code-splitting-require.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Code Splitting - Using RequireJS
2+
title: Code Splitting - Using require.ensure
33
sort: 5
44
contributors:
55
- pksjce
@@ -95,4 +95,4 @@ require.ensure(['./a.js'], function(require) {
9595
```
9696

9797
In the above code, `a.js` and `b.js` are bundled together and split from the main bundle. But only the contents of `b.js` are executed. The contents of `a.js` are only made available and not executed.
98-
To execute `a.js`, we will have to require it in a sync manner like `require('./a.js')` for the JavaScript to get executed.
98+
To execute `a.js`, we will have to require it in a sync manner like `require('./a.js')` for the JavaScript to get executed.

0 commit comments

Comments
 (0)