Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: appengine/swarming/elements/res/imp/common/common-behavior.html

Issue 2372323002: Add pageable data widget (Closed) Base URL: git@github.com:luci/luci-py@master
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/elements/res/imp/common/common-behavior.html
diff --git a/appengine/swarming/elements/res/imp/common/common-behavior.html b/appengine/swarming/elements/res/imp/common/common-behavior.html
index 60ad8b773a54cd4cfee025614c4d326b3e367bf0..9a10e463055692d20807bcd234b6ac79fc441195 100644
--- a/appengine/swarming/elements/res/imp/common/common-behavior.html
+++ b/appengine/swarming/elements/res/imp/common/common-behavior.html
@@ -144,6 +144,10 @@
}
return this._humanDuration((second.getTime() - first.getTime())/1000);
},
+
+ _truthy: function(a){
+ return !!a;
+ }
};
})();
</script>

Powered by Google App Engine
This is Rietveld 408576698