diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-02-07 18:02:49 +0000 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-02-07 18:33:00 +0000 |
commit | df469864b1ab1e0bfaa1e843d3d0a84042604646 (patch) | |
tree | 81a59a012180c8e2c43f8573a50d5ddec26040ab /doc/development/frontend.md | |
parent | bc13687c7e374116e4830d004b82e9960d3a55cc (diff) | |
download | gitlab-ce-update-filenames-regex.tar.gz |
Updated the filename regexupdate-filenames-regex
Diffstat (limited to 'doc/development/frontend.md')
-rw-r--r-- | doc/development/frontend.md | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/doc/development/frontend.md b/doc/development/frontend.md index 75fdf3d8e63..d42922d5752 100644 --- a/doc/development/frontend.md +++ b/doc/development/frontend.md @@ -33,13 +33,13 @@ you can find a clear separation of concerns: ``` new_feature ├── components -│ └── component.js.es6 +│ └── component.js │ └── ... ├── store -│ └── new_feature_store.js.es6 +│ └── new_feature_store.js ├── service -│ └── new_feature_service.js.es6 -├── new_feature_bundle.js.es6 +│ └── new_feature_service.js +├── new_feature_bundle.js ``` _For consistency purposes, we recommend you to follow the same structure._ @@ -367,14 +367,6 @@ For our currently-supported browsers, see our [requirements][requirements]. ## Gotchas -### Spec errors due to use of ES6 features in `.js` files - -If you see very generic JavaScript errors (e.g. `jQuery is undefined`) being -thrown in Teaspoon, Spinach, or Rspec tests but can't reproduce them manually, -you may have included `ES6`-style JavaScript in files that don't have the -`.js.es6` file extension. Either use ES5-friendly JavaScript or rename the file -you're working in (`git mv <file.js> <file.js.es6>`). - ### Spec errors due to use of unsupported JavaScript Similar errors will be thrown if you're using JavaScript features not yet |