summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commons/bootstrap.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-01 16:01:33 -0600
committerMike Greiling <mike@pixelcog.com>2017-03-03 16:47:38 -0600
commitcb6c036d8942ab24048b9ecebcc6c3fa408c9a3e (patch)
tree148d8eaf97ed02498cb348baa8f844d4bbc5ee65 /app/assets/javascripts/commons/bootstrap.js
parente80fa69895dadfbd5cdc95f7feb9593cfe52e9b6 (diff)
downloadgitlab-ce-cb6c036d8942ab24048b9ecebcc6c3fa408c9a3e.tar.gz
create a common.js bundle and include all jQuery plugins
Diffstat (limited to 'app/assets/javascripts/commons/bootstrap.js')
-rw-r--r--app/assets/javascripts/commons/bootstrap.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/javascripts/commons/bootstrap.js b/app/assets/javascripts/commons/bootstrap.js
new file mode 100644
index 00000000000..72e43d34a74
--- /dev/null
+++ b/app/assets/javascripts/commons/bootstrap.js
@@ -0,0 +1,10 @@
+require('./jquery');
+
+// twitter bootstrap plugins
+require('bootstrap-sass/assets/javascripts/bootstrap/affix');
+require('bootstrap-sass/assets/javascripts/bootstrap/alert');
+require('bootstrap-sass/assets/javascripts/bootstrap/dropdown');
+require('bootstrap-sass/assets/javascripts/bootstrap/modal');
+require('bootstrap-sass/assets/javascripts/bootstrap/tab');
+require('bootstrap-sass/assets/javascripts/bootstrap/transition');
+require('bootstrap-sass/assets/javascripts/bootstrap/tooltip');