Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Erasmus <jerasmus@gitlab.com>2020-02-07 05:14:59 +0300
committerEvan Read <eread@gitlab.com>2020-02-07 05:14:59 +0300
commit654d129d594807e8ffd3cde05bd75b83e201f422 (patch)
treec0a708ede0c5b7d376a7cae4e2375ed385f3267e /README.md
parent590d7eb66699d45d0bc791884663fefe399f6852 (diff)
Move specs `spec/javascripts/` -> `specs/frontend/`
Moved specs from `spec/javascripts/` to `specs/frontend/`
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4f88146d..a2f4ab32 100644
--- a/README.md
+++ b/README.md
@@ -361,11 +361,11 @@ JavaScript. All modern JavaScript should be added to the [content/frontend/](/co
When adding a new bundle, the layout name (html) and bundle name (js) should
match to make it easier to find:
-1. Add the new bundle to `content/frontend/bundles/<bundle-name>.js`
+1. Add the new bundle to `content/frontend/<bundle-name>/<bundle-name>.js`
1. Import the bundle in the html file `layouts/<bundle-name>.html`:
```html
- <script src="<%= @items['/frontend/bundles/<bundle-name>.*'].path %>"></script>
+ <script src="<%= @items['/frontend/<bundle-name>/<bundle-name>.*'].path %>"></script>
```
You should replace `<bundle-name>` with whatever you'd like to call your