Moved jQuery to use NPM and fixed some asset refs

This commit is contained in:
Dan Brown
2018-03-17 15:20:15 +00:00
parent b64940be82
commit 0a1546daea
10 changed files with 16 additions and 105 deletions

View File

@ -1,5 +1,9 @@
import "babel-polyfill"
import "./dom-polyfills"
import jQuery from "jquery"
window.jQuery = window.$ = jQuery;
import "./pages/page-show"
import Translations from "./translations"
import vues from "./vues/vues"

View File

@ -350,7 +350,7 @@ if (document.querySelector('[drawio-enabled]').getAttribute('drawio-enabled') ==
module.exports = {
selector: '#html-editor',
content_css: [
window.baseUrl('/css/styles.css'),
window.baseUrl('/dist/styles.css'),
],
branding: false,
body_class: 'page-content',