INNER CODE UNIT · JavaScript

NewGistForm

carvel-dev/ytt · pkg/website/js/app.js:356

function NewGistForm(formEl, gistLocation, gist) {
  formEl.submit(function(event) {
    event.preventDefault();
    gistLocation.set($("input", formEl).val());
    console.log(gistLocation.get());
    gist.load(gistLocation.get(), {
      scrollIntoView: true,
      preDoneCallback: function(exampleId) {
        $("#playground").show();
      }
    });
    return false;
  });

  return {}
}

function NewGoogleAnalytics() {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…