1
Fork 0

Make mermaid global, and use $ directly

This commit is contained in:
Jake Howard 2018-03-11 21:41:47 +00:00
parent 250298dd12
commit e3b59c4852
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 3 deletions

View file

@ -1,9 +1,10 @@
{ {
"extends": [ "extends": [
"dabapps/commonjs", "dabapps/commonjs",
"dabapps/browser", "dabapps/browser"
], ],
"globals": { "globals": {
"$": true "mermaid": true
} }
} }

View file

@ -1,6 +1,6 @@
'use strict'; 'use strict';
require('./jquery-global'); var $ = require('./jquery-global');
require('./fa'); require('./fa');
require('bootstrap'); require('bootstrap');