Merge pull request #14 from kckarnige/main
Made it easier to change the version var
This commit is contained in:
commit
621836da5e
|
@ -1,9 +1,9 @@
|
|||
exports.Version = require("../package.json").version;
|
||||
|
||||
exports.addStyle = function (styleString) {
|
||||
const style = document.createElement("style");
|
||||
style.textContent = styleString;
|
||||
document.head.append(style);
|
||||
exports.addStyle = function(styleString) {
|
||||
const style = document.createElement('style');
|
||||
style.textContent = styleString;
|
||||
document.head.append(style);
|
||||
};
|
||||
|
||||
exports.addScript = function (scriptString) {
|
||||
|
|
Loading…
Reference in New Issue