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
337acf4b
Commit
337acf4b
authored
May 16, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix eslint failures
parent
f68a3f3f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
6 deletions
+5
-6
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
spec/javascripts/project_title_spec.js
spec/javascripts/project_title_spec.js
+1
-1
No files found.
app/assets/javascripts/lib/utils/datetime_utility.js
View file @
337acf4b
...
...
@@ -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 @
337acf4b
/* 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 @
337acf4b
...
...
@@ -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 @
337acf4b
/* 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
'
;
...
...
spec/javascripts/project_title_spec.js
View file @
337acf4b
/* eslint-disable space-before-function-paren, no-unused-expressions, no-return-assign, no-param-reassign, no-var, new-cap, wrap-iife, no-unused-vars, quotes, jasmine/no-expect-in-setup-teardown, max-len */
/* global Project */
import
'
select2/select2
.js
'
;
import
'
select2/select2
'
;
import
'
~/gl_dropdown
'
;
import
'
~/api
'
;
import
'
~/project_select
'
;
...
...
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