Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
af3f98f0
Commit
af3f98f0
authored
Apr 03, 2019
by
Mark Florian
Committed by
Evan Read
Apr 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct `ifEE` variable name
Presumably the `renderIfEE` is from an older edit.
parent
6202820c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/development/ee_features.md
doc/development/ee_features.md
+3
-3
No files found.
doc/development/ee_features.md
View file @
af3f98f0
...
...
@@ -943,7 +943,7 @@ import mixin from 'ee_else_ce/path/mixin';
```
html
<ul
v-if=
"
renderI
fEE"
>
<ul
v-if=
"
i
fEE"
>
<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
(
renderI
fEE
)
{
if
(
i
fEE
)
{
$
(
'
.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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment