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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
6985dfe7
Commit
6985dfe7
authored
May 16, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix eslint failures
parent
ecd25831
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
app/assets/javascripts/lib/utils/datetime_utility.js
app/assets/javascripts/lib/utils/datetime_utility.js
+1
-2
spec/javascripts/activities_spec.js
spec/javascripts/activities_spec.js
+1
-1
spec/javascripts/boards/board_card_spec.js
spec/javascripts/boards/board_card_spec.js
+1
-1
spec/javascripts/merge_request_tabs_spec.js
spec/javascripts/merge_request_tabs_spec.js
+1
-1
No files found.
app/assets/javascripts/lib/utils/datetime_utility.js
View file @
6985dfe7
...
...
@@ -102,8 +102,7 @@ window.dateFormat = dateFormat;
};
w
.
gl
.
utils
.
updateTimeagoText
=
function
(
el
)
{
const
timeago
=
gl
.
utils
.
getTimeago
();
const
formattedDate
=
timeago
.
format
(
el
.
getAttribute
(
'
datetime
'
),
'
gl_en
'
);
const
formattedDate
=
gl
.
utils
.
getTimeago
().
format
(
el
.
getAttribute
(
'
datetime
'
),
'
gl_en
'
);
if
(
el
.
textContent
!==
formattedDate
)
{
el
.
textContent
=
formattedDate
;
...
...
spec/javascripts/activities_spec.js
View file @
6985dfe7
/* eslint-disable no-unused-expressions, no-prototype-builtins, no-new, no-shadow, max-len */
import
'
vendor/jquery.endless-scroll
.js
'
;
import
'
vendor/jquery.endless-scroll
'
;
import
'
~/pager
'
;
import
'
~/activities
'
;
...
...
spec/javascripts/boards/board_card_spec.js
View file @
6985dfe7
...
...
@@ -11,7 +11,7 @@ import '~/boards/models/assignee';
import
'
~/boards/models/list
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/stores/boards_store
'
;
const
boardCard
=
require
(
'
~/boards/components/board_card
'
).
default
;
import
boardCard
from
'
~/boards/components/board_card
'
;
import
'
./mock_data
'
;
describe
(
'
Issue card
'
,
()
=>
{
...
...
spec/javascripts/merge_request_tabs_spec.js
View file @
6985dfe7
/* eslint-disable no-var, comma-dangle, object-shorthand */
import
'
~/merge_request_tabs
'
;
import
'
~/commit/pipelines/pipelines_bundle
.js
'
;
import
'
~/commit/pipelines/pipelines_bundle
'
;
import
'
~/breakpoints
'
;
import
'
~/lib/utils/common_utils
'
;
import
'
~/diff
'
;
...
...
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