Skip to content

Commit

Permalink
Renamed name in import functions to depName for improved clarit…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Dec 25, 2024
1 parent 646a33f commit d494d7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion starters/chrome/extension/components/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
window.icons = {
dependencies: {
import(dependencies) { // { app }
for (const name in dependencies) this[name] = dependencies[name] }
for (const depName in dependencies) this[depName] = dependencies[depName] }
},

create({ name, size = 16, width, height, ...additionalAttrs }) {
Expand Down
2 changes: 1 addition & 1 deletion starters/chrome/extension/components/modals.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ window.modals = {

dependencies: {
import(dependencies) { // { app, env }
for (const name in dependencies) this[name] = dependencies[name] }
for (const depName in dependencies) this[depName] = dependencies[depName] }
},

alert(title = '', msg = '', btns = '', checkbox = '', width = '') { // generic one from chatgpt.alert()
Expand Down
2 changes: 1 addition & 1 deletion starters/chrome/extension/lib/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ window.dom = {

dependencies: {
import(dependencies) { // { env) }
for (const name in dependencies) this[name] = dependencies[name] }
for (const depName in dependencies) this[depName] = dependencies[depName] }
},

create: {
Expand Down

0 comments on commit d494d7f

Please sign in to comment.