You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After customizing MDB Free using Gulp and removing the line related to Chart.js component in \MDB Gulp Free\js\modules.js, mdb.js file still contains some code that injects the style below into site header.
The text was updated successfully, but these errors were encountered:
ni-fara
changed the title
Chart.js style is injected regardless of deleting the chart.js library
Chart.js style is injected into site header regardless of deleting the chart.js library
Apr 3, 2020
Hi. Try run 3 commands: npm run js-compile-plugins, npm run js-build' and npm run js-minify`. And check again. This should compile js again and delete chart.js code from mdb.js.
Hi. Try run 3 commands: npm run js-compile-plugins, npm run js-build' and npm run js-minify`. And check again. This should compile js again and delete chart.js code from mdb.js.
Thanks @gbujanski , the extra code is deleted. But actually after deleting the line related to Chart.js in \MDB Gulp Free\js\modules.js and saving the file, the MDBootstrap gulp package automatically compiles new mdb.js and mdb.js.css files and deletes main chart.js code from them. Shouldn't it delete that extra code too?
After customizing MDB Free using Gulp and removing the line related to Chart.js component in \MDB Gulp Free\js\modules.js, mdb.js file still contains some code that injects the style below into site header.
<style type="text/css"> /* Chart.js */ @-webkit-keyframes chartjs-render-animation{from{opacity:0.99}to{opacity:1}}@keyframes chartjs-render-animation{from{opacity:0.99}to{opacity:1}}.chartjs-render-monitor{-webkit-animation:chartjs-render-animation 0.001s;animation:chartjs-render-animation 0.001s;} </style>
The function that injects the style is:
The text was updated successfully, but these errors were encountered: