Initial commit, 90% there
This commit is contained in:
13
.node-red/node_modules/node-red-dashboard/fixgrid.js
generated
vendored
Normal file
13
.node-red/node_modules/node-red-dashboard/fixgrid.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
var fs = require("fs");
|
||||
|
||||
// Remove jquery old versions from gridstack dist
|
||||
try { fs.rmSync('../gridstack/dist/jquery-ui.js'); }
|
||||
catch(e) { console.log("unable to delete jquery-ui.js") };
|
||||
try { fs.rmSync('../gridstack/dist/jquery-ui.min.js');}
|
||||
catch(e) { console.log("unable to delete jquery-ui.min.js") };
|
||||
try { fs.rmSync('../gridstack/dist/jquery.js'); }
|
||||
catch(e) { console.log("unable to delete jquery.js") };
|
||||
try { fs.rmSync('../gridstack/dist/jquery.min.js'); }
|
||||
catch(e) { console.log("unable to delete jquery.min.js") };
|
||||
Reference in New Issue
Block a user