Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
site
Commits
5004eaad
Verified
Commit
5004eaad
authored
Sep 11, 2019
by
Aral Balkan
Browse files
Ensure demo shows the correct install command based on platform
parent
48af1988
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/site-js-terminal-presentation.js
View file @
5004eaad
...
@@ -91,7 +91,7 @@ const firstTerminalPresentation = new TerminalPresentation(
...
@@ -91,7 +91,7 @@ const firstTerminalPresentation = new TerminalPresentation(
[
[
[
[
`
${
PROMPT
}
${
comment
(
'
Install
'
)}${
WAIT_QUARTER_SEC
}
`
,
`
${
PROMPT
}
${
comment
(
'
Install
'
)}${
WAIT_QUARTER_SEC
}
`
,
`
${
PROMPT
}
wget -qO- https://sitejs.org/install | bash`
,
`
${
PROMPT
}
${
navigator
.
userAgent
.
toLowerCase
().
includes
(
'
mac os x
'
)
?
'
curl -s
'
:
'
wget -qO-
'
}
https://sitejs.org/install | bash`
,
],
],
[
[
''
,
''
,
...
...
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