Skip to content

Commit

Permalink
chore(integration): Rename generic -> dom-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
shantanuraj committed Dec 10, 2019
1 parent f25be55 commit 71b0479
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
togglbutton.render('.toggl-root:not(.toggl)', { observe: true }, function (
elem
) {
console.log(elem);
const integrationClassName = elem.getAttribute('data-class-name');
const description = elem.getAttribute('data-description');
const projectName = elem.getAttribute('data-project-name');
Expand All @@ -12,7 +11,7 @@ togglbutton.render('.toggl-root:not(.toggl)', { observe: true }, function (
const type = elem.getAttribute('data-type');

const link = togglbutton.createTimerLink({
className: integrationClassName || 'generic-toggl',
className: integrationClassName || 'dom-integration',
description: description,
projectName: projectName,
projectId: parseInt(projectId, 10),
Expand Down
8 changes: 4 additions & 4 deletions src/scripts/origins.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ export default {
name: 'DokuWiki',
file: 'dokuwiki.js'
},
'dom-integration': {
url: '*://*/*',
name: 'DOM Integration'
},
'draftin.com': {
url: '*://*.draftin.com/*',
name: 'Draftin'
Expand Down Expand Up @@ -184,10 +188,6 @@ export default {
url: '*://*.freshdesk.com/*',
name: 'Freshdesk'
},
'generic-toggl': {
url: '*://*/*',
name: 'Generic Toggl'
},
'getflow.com': {
url: '*://*.getflow.com/*',
name: 'Getflow'
Expand Down

0 comments on commit 71b0479

Please sign in to comment.