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

Side by Side Diff: web/inc/luci-sleep-promise/luci-sleep-promise.html

Issue 2543323004: Rewrite LogDog log viewer app. (Closed)
Patch Set: Control all fetch sizes, fix follow on initial click, fix small fetch when auth is retrid. Created 4 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 Copyright 2016 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file.
5 -->
6
7 <link rel="import" href="../bower_components/polymer/polymer.html">
8
9 <!--
10 Generates a Promise object that resolves after a specified delay.
11 -->
12 <dom-module id="luci-sleep-promise">
13
14 <script>
15 "use strict";
16
17 function LuciSleepPromise(delay) {
18 return new Promise(function(resolve, reject) {
19 setTimeout(resolve, delay);
20 });
21 }
22 </script>
23
24 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698