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
Boxiang Sun
gitlab-ce
Commits
8ede8603
Commit
8ede8603
authored
Nov 22, 2016
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
timeago should be a dependency of datetime_utility
parent
e5a968c4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
8 deletions
+12
-8
app/assets/javascripts/application.js
app/assets/javascripts/application.js
+0
-1
app/assets/javascripts/environments/components/environment_item.js.es6
...vascripts/environments/components/environment_item.js.es6
+4
-4
app/assets/javascripts/lib/utils/datetime_utility.js
app/assets/javascripts/lib/utils/datetime_utility.js
+7
-1
spec/javascripts/build_spec.js.es6
spec/javascripts/build_spec.js.es6
+0
-1
spec/javascripts/merge_request_widget_spec.js
spec/javascripts/merge_request_widget_spec.js
+1
-1
No files found.
app/assets/javascripts/application.js
View file @
8ede8603
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
/*= require jquery.scrollTo */
/*= require jquery.scrollTo */
/*= require jquery.turbolinks */
/*= require jquery.turbolinks */
/*= require js.cookie */
/*= require js.cookie */
/*= require timeago */
/*= require turbolinks */
/*= require turbolinks */
/*= require autosave */
/*= require autosave */
/*= require bootstrap/affix */
/*= require bootstrap/affix */
...
...
app/assets/javascripts/environments/components/environment_item.js.es6
View file @
8ede8603
/*= require lib/utils/timeago */
/* global Vue */
/* global timeago */
/*= require timeago */
/*= require lib/utils/text_utility */
/*= require lib/utils/text_utility */
/*= require vue_common_component/commit */
/*= require vue_common_component/commit */
/*= require ./environment_actions */
/*= require ./environment_actions */
...
@@ -6,9 +9,6 @@
...
@@ -6,9 +9,6 @@
/*= require ./environment_stop */
/*= require ./environment_stop */
/*= require ./environment_rollback */
/*= require ./environment_rollback */
/* global Vue */
/* global timeago */
(() => {
(() => {
/**
/**
* Envrionment Item Component
* Envrionment Item Component
...
...
app/assets/javascripts/lib/utils/datetime_utility.js
View file @
8ede8603
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, no-undef, comma-dangle, no-unused-expressions, prefer-template, padded-blocks, max-len */
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, comma-dangle, no-unused-expressions, prefer-template, padded-blocks, max-len */
/* global timeago */
/* global dateFormat */
/*= require timeago */
/*= require date.format */
(
function
()
{
(
function
()
{
(
function
(
w
)
{
(
function
(
w
)
{
var
base
;
var
base
;
...
...
spec/javascripts/build_spec.js.es6
View file @
8ede8603
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
/* global Build */
/* global Build */
/* global Turbolinks */
/* global Turbolinks */
//= require lib/utils/timeago
//= require lib/utils/datetime_utility
//= require lib/utils/datetime_utility
//= require build
//= require build
//= require breakpoints
//= require breakpoints
...
...
spec/javascripts/merge_request_widget_spec.js
View file @
8ede8603
/* eslint-disable space-before-function-paren, quotes, comma-dangle, dot-notation, indent, quote-props, no-var, padded-blocks, max-len */
/* eslint-disable space-before-function-paren, quotes, comma-dangle, dot-notation, indent, quote-props, no-var, padded-blocks, max-len */
/*= require merge_request_widget */
/*= require merge_request_widget */
/*= require lib/utils/timeago */
/*= require lib/utils/datetime_utility */
/*= require lib/utils/datetime_utility */
(
function
()
{
(
function
()
{
...
...
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