Comparing version 0.9.0 to 0.9.1
@@ -25,4 +25,5 @@ /** @module infra-sk/modules/login */ | ||
// Add to the global sk namespace while we migrate away from Polymer. | ||
if (window.sk !== undefined) { | ||
sk.Login = Login; | ||
window.sk.Login = Login; | ||
} |
@@ -81,3 +81,8 @@ /** | ||
? propLine("Environment", html` | ||
${s.environment.map((env) => tr(td(env)))} | ||
<a id="button_env_${s.id}" @click=${ev => ele._toggleEnv(s)}> | ||
${expando(s.expandEnv)} | ||
</a> | ||
<collapse-sk id="env_${s.id}" ?closed="${!s.expandEnv}"> | ||
${s.environment.map(env => tr(td(env)))} | ||
</collapse-sk> | ||
`) | ||
@@ -192,2 +197,9 @@ : "" | ||
_toggleEnv(step) { | ||
let collapse = document.getElementById("env_" + step.id); | ||
collapse.closed = !collapse.closed; | ||
step.expandEnv = !collapse.closed; | ||
this._render(); | ||
} | ||
_toggleProps(step) { | ||
@@ -261,2 +273,3 @@ let collapse = document.getElementById("props_" + step.id); | ||
} | ||
step.expandEnv = false; | ||
@@ -263,0 +276,0 @@ // Step properties take up a lot of space on the screen. Only display them |
{ | ||
"name": "infra-sk", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Common Skia Infra elements and JS.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/google/skia-buildbot/tree/master/infra-sk", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67134
771