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
024c31fe
Commit
024c31fe
authored
Oct 17, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove superfluous IIFEs
parent
f666026d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
250 additions
and
256 deletions
+250
-256
spec/javascripts/bootstrap_linked_tabs_spec.js
spec/javascripts/bootstrap_linked_tabs_spec.js
+48
-50
spec/javascripts/labels_issue_sidebar_spec.js
spec/javascripts/labels_issue_sidebar_spec.js
+78
-80
spec/javascripts/signin_tabs_memoizer_spec.js
spec/javascripts/signin_tabs_memoizer_spec.js
+124
-126
No files found.
spec/javascripts/bootstrap_linked_tabs_spec.js
View file @
024c31fe
import
LinkedTabs
from
'
~/lib/utils/bootstrap_linked_tabs
'
;
import
LinkedTabs
from
'
~/lib/utils/bootstrap_linked_tabs
'
;
(()
=>
{
describe
(
'
Linked Tabs
'
,
()
=>
{
describe
(
'
Linked Tabs
'
,
()
=>
{
preloadFixtures
(
'
static/linked_tabs.html.raw
'
);
preloadFixtures
(
'
static/linked_tabs.html.raw
'
);
beforeEach
(()
=>
{
beforeEach
(()
=>
{
...
@@ -65,5 +64,4 @@ import LinkedTabs from '~/lib/utils/bootstrap_linked_tabs';
...
@@ -65,5 +64,4 @@ import LinkedTabs from '~/lib/utils/bootstrap_linked_tabs';
}
}
});
});
});
});
});
});
})();
spec/javascripts/labels_issue_sidebar_spec.js
View file @
024c31fe
...
@@ -12,11 +12,10 @@ import '~/api';
...
@@ -12,11 +12,10 @@ import '~/api';
import
'
~/create_label
'
;
import
'
~/create_label
'
;
import
'
~/users_select
'
;
import
'
~/users_select
'
;
(()
=>
{
let
saveLabelCount
=
0
;
let
saveLabelCount
=
0
;
let
mock
;
let
mock
;
describe
(
'
Issue dropdown sidebar
'
,
()
=>
{
describe
(
'
Issue dropdown sidebar
'
,
()
=>
{
preloadFixtures
(
'
static/issue_sidebar_label.html.raw
'
);
preloadFixtures
(
'
static/issue_sidebar_label.html.raw
'
);
beforeEach
(()
=>
{
beforeEach
(()
=>
{
...
@@ -115,5 +114,4 @@ import '~/users_select';
...
@@ -115,5 +114,4 @@ import '~/users_select';
},
0
);
},
0
);
},
0
);
},
0
);
});
});
});
});
})();
spec/javascripts/signin_tabs_memoizer_spec.js
View file @
024c31fe
import
AccessorUtilities
from
'
~/lib/utils/accessor
'
;
import
AccessorUtilities
from
'
~/lib/utils/accessor
'
;
import
SigninTabsMemoizer
from
'
~/pages/sessions/new/signin_tabs_memoizer
'
;
import
SigninTabsMemoizer
from
'
~/pages/sessions/new/signin_tabs_memoizer
'
;
(()
=>
{
describe
(
'
SigninTabsMemoizer
'
,
()
=>
{
describe
(
'
SigninTabsMemoizer
'
,
()
=>
{
const
fixtureTemplate
=
'
static/signin_tabs.html.raw
'
;
const
fixtureTemplate
=
'
static/signin_tabs.html.raw
'
;
const
tabSelector
=
'
ul.new-session-tabs
'
;
const
tabSelector
=
'
ul.new-session-tabs
'
;
const
currentTabKey
=
'
current_signin_tab
'
;
const
currentTabKey
=
'
current_signin_tab
'
;
...
@@ -167,5 +166,4 @@ import SigninTabsMemoizer from '~/pages/sessions/new/signin_tabs_memoizer';
...
@@ -167,5 +166,4 @@ import SigninTabsMemoizer from '~/pages/sessions/new/signin_tabs_memoizer';
});
});
});
});
});
});
});
});
})();
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