gitlab-org--gitlab-foss/app/views/layouts/_init_auto_complete.html.haml

5 lines
239 B
Text
Raw Normal View History

:javascript
2013-06-21 15:08:16 -04:00
GitLab.GfmAutoComplete.dataSource = "#{autocomplete_sources_project_path(@project)}"
2014-03-20 08:30:27 -04:00
GitLab.GfmAutoComplete.Emoji.assetBase = "#{Gitlab.config.gitlab.relative_url_root + Emoji.asset_path}"
2013-06-21 15:08:16 -04:00
GitLab.GfmAutoComplete.setup();