summaryrefslogtreecommitdiff
path: root/doc/development/ee_features.md
diff options
context:
space:
mode:
authorMark Florian <553096-markrian@users.noreply.gitlab.com>2019-04-03 22:20:08 +0000
committerEvan Read <eread@gitlab.com>2019-04-03 22:20:08 +0000
commitaf3f98f0cd1f600c26dedf8a4b7e7334588d652d (patch)
treeb1f587c23bb79e4cc0b53e87411196b2243c6765 /doc/development/ee_features.md
parent6202820c169ce1f1c5887a1e792455808a11401a (diff)
downloadgitlab-ce-af3f98f0cd1f600c26dedf8a4b7e7334588d652d.tar.gz
Use correct `ifEE` variable name
Presumably the `renderIfEE` is from an older edit.
Diffstat (limited to 'doc/development/ee_features.md')
-rw-r--r--doc/development/ee_features.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/ee_features.md b/doc/development/ee_features.md
index c2e05b2d065..9452593c510 100644
--- a/doc/development/ee_features.md
+++ b/doc/development/ee_features.md
@@ -943,7 +943,7 @@ import mixin from 'ee_else_ce/path/mixin';
```html
- <ul v-if="renderIfEE">
+ <ul v-if="ifEE">
<li>One wrapped</li>
<li>element</li>
<li>that is rendered</li>
@@ -962,7 +962,7 @@ For regular JS files, the approach is similar.
```javascript
import { ifEE } from '~/lib/utils/common_utils'
-if (renderIfEE) {
+if (ifEE) {
$('.js-import-git-toggle-button').on('click', () => {
const $projectMirror = $('#project_mirror');
@@ -976,7 +976,7 @@ if (renderIfEE) {
To separate EE-specific styles in SCSS files, if a component you're adding styles for
is limited to only EE, it is better to have a separate SCSS file in appropriate directory
within `app/assets/stylesheets`.
-See [backporting changes](#backporting-changes-from-EE-to-CE) for instructions on how to merge changes safely.
+See [backporting changes](#backporting-changes-from-ee-to-ce) for instructions on how to merge changes safely.
In some cases, this is not entirely possible or creating dedicated SCSS file is an overkill,
e.g. a text style of some component is different for EE. In such cases,