diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-10 17:48:23 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-10 18:15:10 +0300 |
commit | 440ff838f7646ac7ea7a660280b51740ebeed70f (patch) | |
tree | f0060b451291cee5f9a06ad42b3871da9b5724f3 /app/assets/javascripts/blob/balsamiq_viewer.js | |
parent | e1b0ed391fcbd1c622b6e3c866674b85ccd0edea (diff) |
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.js | 7 |
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(); +}); |