summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/blob/balsamiq_viewer.js
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-10 15:48:23 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-10 16:15:10 +0100
commit440ff838f7646ac7ea7a660280b51740ebeed70f (patch)
treef0060b451291cee5f9a06ad42b3871da9b5724f3 /app/assets/javascripts/blob/balsamiq_viewer.js
parente1b0ed391fcbd1c622b6e3c866674b85ccd0edea (diff)
downloadgitlab-ce-440ff838f7646ac7ea7a660280b51740ebeed70f.tar.gz
Tidy balsamiq viewer and remove unused Vue
Diffstat (limited to 'app/assets/javascripts/blob/balsamiq_viewer.js')
-rw-r--r--app/assets/javascripts/blob/balsamiq_viewer.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/blob/balsamiq_viewer.js b/app/assets/javascripts/blob/balsamiq_viewer.js
index b1493398099..1dacf84470f 100644
--- a/app/assets/javascripts/blob/balsamiq_viewer.js
+++ b/app/assets/javascripts/blob/balsamiq_viewer.js
@@ -1,5 +1,6 @@
-import BalsamiqViewer from './balsamiq';
+import BalsamiqViewer from './balsamiq/balsamiq_viewer';
document.addEventListener('DOMContentLoaded', () => {
- new BalsamiqViewer(document.getElementById('js-balsamiq-viewer'));
-}); \ No newline at end of file
+ const balsamiqViewer = new BalsamiqViewer(document.getElementById('js-balsamiq-viewer'));
+ balsamiqViewer.loadFile();
+});