Explorer

html-ui.diff-text

As of snapshot DF5k8nCc9J. See the latest

description
The text of a part to compare on the diff page: the result of definy_get_part from the visibility line (without the id and the content hash). Empty if the part is not there
type
Fn(response: @html-ui.response) -> String
expression
fn(response$0) =>
  match @core.equal(left: $0.status, right: 200) {
    true =>
      @core.string-concat(
        left: "visibility: ",
        right: @html-ui.part-section(text: $0.text, start: "\nvisibility: ", end: "")
      ),
    false =>
      ""
  }
visibility
public
html-ui.diff-text (project html-ui, branch remove-deploy-button, snapshot DF5k8nCc9JE9bLtcFxvjmijDXbsmpCopMRxqClLQ3Mc)
id: VZwUBXbYU-Zu7ncuxVYv2K09aCc9xdjhBGlS_F3UnlQ
content hash: i9L4sR0SYm7v6MDgYfQN_BzXtgmCfsO9jEHABNStdDs