| 117 | |
| 118 | |
| 119 | class Script(MediaAsset): |
| 120 | element_template = '<script src="{path}"{attributes}></script>' |
| 121 | |
| 122 | def __init__(self, src, **attributes): |
| 123 | # Alter the signature to allow src to be passed as a keyword argument. |
| 124 | super().__init__(src, **attributes) |
| 125 | |
| 126 | |
| 127 | class Stylesheet(MediaAsset): |
no outgoing calls