439cd3ebd3
update jquery-atwho-rails to v0.3.0 add autocomplete_source action to project for gfm autocomplete move init_autocomplete layout from head_panel to project_resource
6 lines
230 B
Text
6 lines
230 B
Text
:javascript
|
|
$(function() {
|
|
GitLab.GfmAutoComplete.dataSource = "#{autocomplete_sources_project_path(@project)}"
|
|
GitLab.GfmAutoComplete.Emoji.assetBase = '#{image_path("emoji")}'
|
|
GitLab.GfmAutoComplete.setup();
|
|
});
|