Skip to content

Commit

Permalink
Limited lines to 120 chars max for readability ↞ [auto-sync from http…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Nov 24, 2024
1 parent 2229c49 commit 88250bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions starters/chrome/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -1341,8 +1341,9 @@ const chatgpt = {
const functionNames = [];
for (const prop in this) {
if (typeof this[prop] == 'function') {
const chatgptIsParent = !Object.keys(this).find(obj => Object.keys(this[obj]).includes(this[prop].name)),
functionParent = chatgptIsParent ? 'chatgpt' : 'other';
const chatgptIsParent = !Object.keys(this)
.find(obj => Object.keys(this[obj]).includes(this[prop].name))
const functionParent = chatgptIsParent ? 'chatgpt' : 'other';
functionNames.push([functionParent, prop]);
} else if (typeof this[prop] == 'object') {
for (const nestedProp in this[prop]) {
Expand Down
2 changes: 1 addition & 1 deletion starters/chrome/extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "ChatGPT Extension",
"short_name": "ChatGPT 🧩",
"description": "A Chromium extension template to start using chatgpt.js like a boss!",
"version": "2024.11.21",
"version": "2024.11.24",
"author": "KudoAI",
"homepage_url": "https://github.com/KudoAI/chatgpt.js-chrome-starter",
"icons": {
Expand Down

0 comments on commit 88250bf

Please sign in to comment.