Skip to content

Commit

Permalink
Make Script public once again (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptoffy authored Jun 23, 2024
1 parent 2783dd1 commit accca17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/VaporDesign/Components/Script.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import Plot
/// Component used to render an `<script>` element for embetdding scripts.
public struct Script: Component {
/// The URL of the script.
var url: URLRepresentable
public var url: URLRepresentable

/// Create a new script instance.
/// - parameters:
/// - url: The URL of the script to include.
init(url: URLRepresentable) {
public init(url: URLRepresentable) {
self.url = url
}

Expand Down

0 comments on commit accca17

Please sign in to comment.