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
5175b5ef
Commit
5175b5ef
authored
Feb 04, 2020
by
jakeburden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ensure_single_line co-location
parent
567dcec4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
app/assets/javascripts/locale/es6/ensure_single_line.js
app/assets/javascripts/locale/es6/ensure_single_line.js
+0
-5
app/assets/javascripts/locale/index.js
app/assets/javascripts/locale/index.js
+1
-1
spec/frontend/locale/ensure_single_line_spec.js
spec/frontend/locale/ensure_single_line_spec.js
+1
-1
No files found.
app/assets/javascripts/locale/es6/ensure_single_line.js
deleted
100644 → 0
View file @
567dcec4
// co-locating ensure_single_line to satisfy static analysis while allowing Node.js to import the function with CommonJS
import
ensureSingleLine
from
'
../ensure_single_line
'
;
export
default
ensureSingleLine
;
app/assets/javascripts/locale/index.js
View file @
5175b5ef
import
Jed
from
'
jed
'
;
import
ensureSingleLine
from
'
./e
s6/e
nsure_single_line
'
;
import
ensureSingleLine
from
'
./ensure_single_line
'
;
import
sprintf
from
'
./sprintf
'
;
const
languageCode
=
()
=>
document
.
querySelector
(
'
html
'
).
getAttribute
(
'
lang
'
)
||
'
en
'
;
...
...
spec/frontend/locale/ensure_single_line_spec.js
View file @
5175b5ef
import
ensureSingleLine
from
'
~/locale/e
s6/e
nsure_single_line
'
;
import
ensureSingleLine
from
'
~/locale/ensure_single_line
'
;
describe
(
'
locale
'
,
()
=>
{
describe
(
'
ensureSingleLine
'
,
()
=>
{
...
...
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