Skip to content

Commit

Permalink
Removed unnecessary extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveverwer committed Jun 1, 2021
1 parent 4e4a05c commit 98c2a48
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Sources/Plot/API/HTMLAttributes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,6 @@ public extension Attribute where Context == HTML.InputContext {
}
}

public extension Attribute where Context == HTML.ButtonContext {
/// Assign a button type to the element.
/// - parameter type: The button type to assign.
static func type(_ type: HTMLButtonType) -> Attribute {
Attribute(name: "type", value: type.rawValue)
}
}

public extension Node where Context == HTML.ButtonContext {
/// Assign a button type to the element.
/// - parameter type: The button type to assign.
Expand Down

0 comments on commit 98c2a48

Please sign in to comment.