Skip to content

Commit 0db6ee0

Browse files
Harminder VirkHarminder Virk
authored andcommitted
refactor: asset manager reference script attributes from driver
1 parent 8204d66 commit 0db6ee0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/AssetsManager/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ export class AssetsManager implements AssetsManagerContract {
3838
/**
3939
* Attributes to apply to the script tag
4040
*/
41-
public scriptAttributes: Record<string, any> = {}
41+
public get scriptAttributes(): Record<string, any> {
42+
return this.driver.scriptAttributes
43+
}
4244

4345
/**
4446
* Configured driver

0 commit comments

Comments
 (0)