summaryrefslogtreecommitdiff
path: root/doc/development/frontend.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/development/frontend.md')
-rw-r--r--doc/development/frontend.md16
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