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

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

Issue 2570963003: Revert of Rewrite LogDog log viewer app. (Closed)
Patch Set: 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
« no previous file with comments | « web/inc/logdog-stream/logdog-error.html ('k') | web/inc/luci-sleep-promise/promise.ts » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « web/inc/logdog-stream/logdog-error.html ('k') | web/inc/luci-sleep-promise/promise.ts » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698