summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-03-08 15:05:16 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-03-08 15:05:16 +0000
commit0cda287a295680f6b46274ea005e4c7bef965663 (patch)
treecc589d3c439f26d87199e8eb62553124458f2344
parentc45604d4a8c3a5856b184b762b2e27d4d679fb6c (diff)
downloadgitlab-ce-0cda287a295680f6b46274ea005e4c7bef965663.tar.gz
Add statement about jQuery event listeners with Vue
-rw-r--r--doc/development/new_fe_guide/principles.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/development/new_fe_guide/principles.md b/doc/development/new_fe_guide/principles.md
index e671381f0fd..81fecf53116 100644
--- a/doc/development/new_fe_guide/principles.md
+++ b/doc/development/new_fe_guide/principles.md
@@ -26,7 +26,9 @@ Whenever you see with existing code that does not follow our current style guide
## Mixing Vue and jQuery
-Mixing Vue and jQuery is not recommended. If you need to use a specific jQuery plugin in Vue, [create a wrapper around it][select2].
+- Mixing Vue and jQuery is not recommended.
+- If you need to use a specific jQuery plugin in Vue, [create a wrapper around it][select2].
+- It is acceptable for Vue to listen to jQuery events using jQuery event listeners.
[jquery-future]: https://gitlab.com/gitlab-org/gitlab-ce/issues/43559
[select2]: https://vuejs.org/v2/examples/select2.html