Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
8b055d89
Commit
8b055d89
authored
Sep 19, 2017
by
chrisgarrity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
follow injectIntl convention
wrap the createClass with injectIntl to be consistent with other uses in www
parent
b48411a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/views/download/download.jsx
src/views/download/download.jsx
+3
-4
No files found.
src/views/download/download.jsx
View file @
8b055d89
...
...
@@ -14,7 +14,7 @@ var SubNavigation = require('../../components/subnavigation/subnavigation.jsx');
require
(
'
./download.scss
'
);
require
(
'
../../components/forms/button.scss
'
);
var
Download
=
React
.
createClass
({
var
Download
=
injectIntl
(
React
.
createClass
({
type
:
'
Download
'
,
getInitialState
:
function
()
{
return
{
...
...
@@ -240,7 +240,6 @@ var Download = React.createClass({
</
div
>
);
}
});
})
)
;
var
IntlDownload
=
injectIntl
(
Download
);
render
(<
Page
><
IntlDownload
/></
Page
>,
document
.
getElementById
(
'
app
'
));
render
(<
Page
><
Download
/></
Page
>,
document
.
getElementById
(
'
app
'
));
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