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

Side by Side Diff: appengine/swarming/ui/res/imp/common/error-toast.html

Issue 2408743002: Move elements/ to ui/ (Closed)
Patch Set: rebase again Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright 2016 The LUCI Authors. All rights reserved. 2 Copyright 2016 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0 3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file. 4 that can be found in the LICENSE file.
5 5
6 Listens for 'error-sk' events that bubble up to the document 6 Listens for 'error-sk' events that bubble up to the document
7 and displays them. 7 and displays them.
8 8
9 The 'error-sk' event should have 'detail' of the form: 9 The 'error-sk' event should have 'detail' of the form:
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 this.$.toast.duration = duration; 48 this.$.toast.duration = duration;
49 this.$.toast.show(); 49 this.$.toast.show();
50 } else { 50 } else {
51 console.log("Empty message?", e); 51 console.log("Empty message?", e);
52 } 52 }
53 }.bind(this)); 53 }.bind(this));
54 }, 54 },
55 }); 55 });
56 </script> 56 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698