summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2017-08-09 21:13:45 +0000
committerJacob Schatz <jschatz@gitlab.com>2017-08-09 21:13:45 +0000
commit4aa6abf4533012e8b6e79c7ed1d4efc46405d785 (patch)
tree47ae3d51807fea37a8a8bf7fcc3fcd6a43e77cb2
parentea29e7eb03ced009e0254aadb513e0bb0e225a73 (diff)
downloadgitlab-ce-4aa6abf4533012e8b6e79c7ed1d4efc46405d785.tar.gz
Update style_guide_js.md
-rw-r--r--doc/development/fe_guide/style_guide_js.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/development/fe_guide/style_guide_js.md b/doc/development/fe_guide/style_guide_js.md
index 4f6845119a3..a1c2425be50 100644
--- a/doc/development/fe_guide/style_guide_js.md
+++ b/doc/development/fe_guide/style_guide_js.md
@@ -515,6 +515,7 @@ A forEach will cause side effects, it will be mutating the array being iterated.
The goal of this accord is to make sure we are all on the same page.
1. When writing Vue, you may not use jQuery in your application. You may query the DOM 1 time while bootstrapping your application to grab data attributes using `dataset`. Using jQuery with Vue can be useful, however it is impossible to come up with a specific rule of proper usage within Vue.
+ 1. You may use a jQuery dependency in Vue.js following [this example from the docs](https://vuejs.org/v2/examples/select2.html).
1. You may have a temporary but immediate need to create technical debt by writing code that does not follow our standards, to be refactored later. You may do this as long as:
1. The technical debt is handled in the next release by you with a higher priority than your next month deliverables.