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
12ec767a
Commit
12ec767a
authored
Sep 07, 2020
by
Lukas Eipert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move jquery.atwho initialization away from main.js
parent
9a0b8b32
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
8 deletions
+7
-8
app/assets/javascripts/commons/jquery.js
app/assets/javascripts/commons/jquery.js
+0
-2
app/assets/javascripts/gfm_auto_complete.js
app/assets/javascripts/gfm_auto_complete.js
+1
-1
app/assets/javascripts/lib/utils/jquery_at_who.js
app/assets/javascripts/lib/utils/jquery_at_who.js
+3
-0
app/assets/javascripts/notes.js
app/assets/javascripts/notes.js
+1
-2
ee/app/assets/javascripts/gfm_auto_complete.js
ee/app/assets/javascripts/gfm_auto_complete.js
+1
-0
spec/frontend/gfm_auto_complete_spec.js
spec/frontend/gfm_auto_complete_spec.js
+1
-3
No files found.
app/assets/javascripts/commons/jquery.js
View file @
12ec767a
...
...
@@ -2,6 +2,4 @@ import 'jquery';
// common jQuery plugins
import
'
jquery-ujs
'
;
import
'
jquery.caret
'
;
// must be imported before at.js
import
'
@gitlab/at.js
'
;
import
'
vendor/jquery.scrollTo
'
;
app/assets/javascripts/gfm_auto_complete.js
View file @
12ec767a
import
$
from
'
jquery
'
;
import
'
@gitlab/at.js
'
;
import
'
~/lib/utils/jquery_at_who
'
;
import
{
escape
,
template
}
from
'
lodash
'
;
import
SidebarMediator
from
'
~/sidebar/sidebar_mediator
'
;
import
glRegexp
from
'
./lib/utils/regexp
'
;
...
...
app/assets/javascripts/lib/utils/jquery_at_who.js
0 → 100644
View file @
12ec767a
import
'
jquery
'
;
import
'
jquery.caret
'
;
// required by at.js
import
'
@gitlab/at.js
'
;
app/assets/javascripts/notes.js
View file @
12ec767a
...
...
@@ -11,11 +11,10 @@ old_notes_spec.js is the spec for the legacy, jQuery notes application. It has n
*/
import
$
from
'
jquery
'
;
import
'
~/lib/utils/jquery_at_who
'
;
import
{
escape
,
uniqueId
}
from
'
lodash
'
;
import
Cookies
from
'
js-cookie
'
;
import
Autosize
from
'
autosize
'
;
import
'
jquery.caret
'
;
// required by at.js
import
'
@gitlab/at.js
'
;
import
Vue
from
'
vue
'
;
import
{
GlDeprecatedSkeletonLoading
as
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
AjaxCache
from
'
~/lib/utils/ajax_cache
'
;
...
...
ee/app/assets/javascripts/gfm_auto_complete.js
View file @
12ec767a
import
$
from
'
jquery
'
;
import
'
~/lib/utils/jquery_at_who
'
;
import
GfmAutoComplete
from
'
~/gfm_auto_complete
'
;
/**
...
...
spec/frontend/gfm_auto_complete_spec.js
View file @
12ec767a
/* eslint no-param-reassign: "off" */
import
$
from
'
jquery
'
;
import
'
~/lib/utils/jquery_at_who
'
;
import
GfmAutoComplete
,
{
membersBeforeSave
}
from
'
ee_else_ce/gfm_auto_complete
'
;
import
'
jquery.caret
'
;
import
'
@gitlab/at.js
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
...
...
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