Skip to content

Update templates.js - #435

Closed
nr59684 wants to merge 1 commit into
dcmjs-org:masterfrom
nr59684:fix/trackingidentifier-super-call
Closed

nr59684 wants to merge 1 commit into
dcmjs-org:masterfrom
nr59684:fix/trackingidentifier-super-call

Conversation

@nr59684

@nr59684 nr59684 commented May 6, 2025

Copy link
Copy Markdown

Fix TrackingIdentifier super call

Change super(options) → super() to prevent the raw options object being injected into the sequence.

Closes #434

Fix TrackingIdentifier super call

Change super(options) → super() to prevent the raw options object
being injected into the sequence.

Closes dcmjs-org#434
@netlify

netlify Bot commented May 6, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for dcmjs2 ready!

Name Link
🔨 Latest commit fd278cb
🔍 Latest deploy log https://app.netlify.com/sites/dcmjs2/deploys/6819e19276e0c30008cff6b9
😎 Deploy Preview https://deploy-preview-435--dcmjs2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment thread src/sr/templates.js
class TrackingIdentifier extends Template {
constructor(options) {
super(options);
super();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It isn't just this one, but every Template extension (5 of them) in this appears to be wrong. Can you go through them and update the others?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nr59684 do you plan to follow up on this PR?

We very much welcome your contribution!

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wayfarer3130

Copy link
Copy Markdown
Contributor

This PR is being closed in favour of the general for this issue in #494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TrackingIdentifier constructor calls super(options) and injects raw options into the ContentSequence

4 participants