Skip to content

Commit

Permalink
refactor: asset manager reference script attributes from driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Harminder Virk authored and Harminder Virk committed Nov 22, 2022
1 parent 8204d66 commit 0db6ee0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/AssetsManager/index.ts
Expand Up @@ -38,7 +38,9 @@ export class AssetsManager implements AssetsManagerContract {
/**
* Attributes to apply to the script tag
*/
public scriptAttributes: Record<string, any> = {}
public get scriptAttributes(): Record<string, any> {
return this.driver.scriptAttributes
}

/**
* Configured driver
Expand Down

0 comments on commit 0db6ee0

Please sign in to comment.