diff options
author | Phil Hughes <me@iamphill.com> | 2017-04-11 18:50:21 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-04-11 18:50:21 +0100 |
commit | 4755f6066bff2617988704e18c8c141056f1b4bd (patch) | |
tree | 7e1c58dfdc96134f7d2594bf63d2be226a98b4d7 /app/assets/javascripts/blob/notebook | |
parent | 3082a1195cc0939e0aa0b48a9f59dd84152ebdad (diff) | |
download | gitlab-ce-4755f6066bff2617988704e18c8c141056f1b4bd.tar.gz |
Moved NotebookLab assets into repo
Moved all the notebooklab assets into the GitLab repo
Diffstat (limited to 'app/assets/javascripts/blob/notebook')
-rw-r--r-- | app/assets/javascripts/blob/notebook/index.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/blob/notebook/index.js b/app/assets/javascripts/blob/notebook/index.js index 9b8bfbfc8c0..36fe8a7184f 100644 --- a/app/assets/javascripts/blob/notebook/index.js +++ b/app/assets/javascripts/blob/notebook/index.js @@ -1,10 +1,9 @@ /* eslint-disable no-new */ import Vue from 'vue'; import VueResource from 'vue-resource'; -import NotebookLab from 'vendor/notebooklab'; +import notebookLab from '../../notebook/index.vue'; Vue.use(VueResource); -Vue.use(NotebookLab); export default () => { const el = document.getElementById('js-notebook-viewer'); @@ -19,6 +18,9 @@ export default () => { json: {}, }; }, + components: { + notebookLab, + }, template: ` <div class="container-fluid md prepend-top-default append-bottom-default"> <div |