Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 6bf9901

Browse files
authored
Merge pull request #833 from timneutkens/hotfix/typo
Correct requires to requirejs
2 parents d7bee67 + 112853d commit 6bf9901

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

guides/v2.0/javascript-dev-guide/javascript/js-resources.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ The <a href="http://requirejs.org" target="_blank">RequireJS library</a> loads J
103103

104104
<h2 id="m2devgde-js-resources-mapping">Specify JavaScript resources mapping</h2>
105105

106-
To work with the RequireJS library, specify the mapping of JavaScript resources; that is, assign the aliases to resources. Use `requires-config.js` to create the mapping.
106+
To work with the RequireJS library, specify the mapping of JavaScript resources; that is, assign the aliases to resources. Use `requirejs-config.js` to create the mapping.
107107

108-
To make your configurations more precise and specific for different modules/themes, you can identify mapping in `requires-config.js` file at several <a href="#m2devgde-js-resources-configuring">levels</a> depending on your needs. All configurations will be collected and executed in the following order:
108+
To make your configurations more precise and specific for different modules/themes, you can identify mapping in `requirejs-config.js` file at several <a href="#m2devgde-js-resources-configuring">levels</a> depending on your needs. All configurations will be collected and executed in the following order:
109109

110110
<ol>
111111
<li>Library configurations.</li>
@@ -145,4 +145,3 @@ You can adjust RequireJS for your needs in two ways:
145145

146146
* Fallback mechanism: general rules on customizing URLs or paths for static view files apply to JavaScript, because JavaScript files are static view files
147147
* Configuration files as described earlier in <a href="#m2devgde-js-resources-configrequirejs">Configure the RequireJS library</a>
148-

0 commit comments

Comments
 (0)