Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
a9fc3f16175b
Commit
62ced1bc
authored
Mar 29, 2019
by
Sarah Groff Hennigh-Palermo
Committed by
Filipa Lacerda
Mar 29, 2019
Browse files
Adds EE validators to CE file
parent
08e176dc52a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/assets/javascripts/vue_shared/components/svg_gradient.vue
View file @
a9fc3f16
...
...
@@ -4,10 +4,16 @@ export default {
colors
:
{
type
:
Array
,
required
:
true
,
validator
(
value
)
{
return
value
.
length
===
2
;
},
},
opacity
:
{
type
:
Array
,
required
:
true
,
validator
(
value
)
{
return
value
.
length
===
2
;
},
},
identifierName
:
{
type
:
String
,
...
...
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