Skip to content

Commit

Permalink
Refactor build / dist
Browse files Browse the repository at this point in the history
  • Loading branch information
replete committed Jun 24, 2024
1 parent 1e030fd commit 973ce45
Show file tree
Hide file tree
Showing 13 changed files with 1,580 additions and 134 deletions.
3 changes: 1 addition & 2 deletions biscuitman.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
This stylesheet is the source stylesheet
and is processed to un-nested native CSS nesting
and include vendor
*/
.biscuitman {
*/.biscuitman {
--t: #444;
--b: #fff;
--c: #105d89;
Expand Down
8 changes: 4 additions & 4 deletions biscuitman.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
accept: 'Accept All',
save: 'Save My Settings',
settingsTitle: 'My Consent Settings',
info: ``,
info: ``,
more: '(Show more)',
noCookies: 'No cookies to display',
acceptNonEU: false,
Expand Down Expand Up @@ -42,7 +42,7 @@
}
const o = {...defaults, ...w.biscuitman}

/* UI & Events */
// UI & Events:

const ui = d.createElement('div')
let dialog
Expand Down Expand Up @@ -164,7 +164,7 @@
console.debug(name, payload);
}

/* Data */
// Data:

const setConsents = consents => {
w[o.global] = consents
Expand Down Expand Up @@ -271,7 +271,7 @@
});
}

/* Start */
// Start:

setConsents(loadConsents() || {})

Expand Down
52 changes: 0 additions & 52 deletions build.mjs

This file was deleted.

Loading

0 comments on commit 973ce45

Please sign in to comment.