-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.js
More file actions
26 lines (21 loc) · 832 Bytes
/
index.js
File metadata and controls
26 lines (21 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// ref: https://github.com/webpack/imports-loader
// require("imports-loader?$=jquery,window!./js/filereader.js");
// require("imports?$=jquery!./js/materialize.min.js");
// import "./js/filereader.js";
// generic libraries
// import "materialize-css";
// import $ from "jquery";
import App from "./js/app";
// window.App = App;
console.log("this is ", this, window);
$(document).ready(function() {
console.log("doc ready");
App.init();
// $("#file-input").fileReaderJS(options);
// init the "materialize tabs" manually as vue messes up with initial stuff
// console.log("initing tabs");
$('.tabs').tabs();
// for now let us manually change to preview window using materialize plugin
// PREVIEW BUG: disabling preview stuffs for now
// $('ul.tabs').tabs('select_tab', 'preview-window');
});