OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f46287
)
Show emoji popup if : preceeding by space or is new line.
author
Aleks Bunin
<b@enlnt.com>
Tue, 30 Apr 2013 13:29:43 +0000
(09:29 -0400)
committer
Aleks Bunin
<b@enlnt.com>
Tue, 30 Apr 2013 13:29:43 +0000
(09:29 -0400)
app/assets/javascripts/gfm_auto_complete.js.coffee
patch
|
blob
|
history
diff --git
a/app/assets/javascripts/gfm_auto_complete.js.coffee
b/app/assets/javascripts/gfm_auto_complete.js.coffee
index
1cc9d34
..
9ef194f
100644
(file)
--- a/
app/assets/javascripts/gfm_auto_complete.js.coffee
+++ b/
app/assets/javascripts/gfm_auto_complete.js.coffee
@@
-20,7
+20,7
@@
GitLab.GfmAutoComplete =
input = $('.js-gfm-input')
# Emoji
- input.atWho ':',
+ input.atWho '
(?:^|\\s)
:',
data: @Emoji.data
tpl: @Emoji.template