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
c22a7bb5
Commit
c22a7bb5
authored
Mar 22, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix user_callout module
parent
a55fe33d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+1
-1
app/assets/javascripts/user_callout.js
app/assets/javascripts/user_callout.js
+1
-3
spec/javascripts/user_callout_spec.js
spec/javascripts/user_callout_spec.js
+1
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
c22a7bb5
...
...
@@ -44,11 +44,11 @@ import GroupsList from './groups_list';
import
ProjectsList
from
'
./projects_list
'
;
import
MiniPipelineGraph
from
'
./mini_pipeline_graph_dropdown
'
;
import
BlobLinePermalinkUpdater
from
'
./blob/blob_line_permalink_updater
'
;
import
UserCallout
from
'
./user_callout
'
;
import
GeoNodes
from
'
./geo_nodes
'
;
const
ShortcutsBlob
=
require
(
'
./shortcuts_blob
'
);
const
UserCallout
=
require
(
'
./user_callout
'
);
(
function
()
{
var
Dispatcher
;
...
...
app/assets/javascripts/user_callout.js
View file @
c22a7bb5
...
...
@@ -27,7 +27,7 @@ const USER_CALLOUT_TEMPLATE = `
</div>
</div>`
;
class
UserCallout
{
export
default
class
UserCallout
{
constructor
()
{
this
.
isCalloutDismissed
=
Cookies
.
get
(
USER_CALLOUT_COOKIE
);
this
.
userCalloutBody
=
$
(
userCalloutElementName
);
...
...
@@ -56,5 +56,3 @@ class UserCallout {
}
}
}
module
.
exports
=
UserCallout
;
spec/javascripts/user_callout_spec.js
View file @
c22a7bb5
import
Cookies
from
'
js-cookie
'
;
const
UserCallout
=
require
(
'
~/user_callout
'
);
import
UserCallout
from
'
~/user_callout
'
;
const
USER_CALLOUT_COOKIE
=
'
user_callout_dismissed
'
;
...
...
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