OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 <include src="../../../../third_party/polymer/platform/platform.js"> | 5 <include src="../../../../third_party/polymer/platform/platform.js"> |
6 <include src="../../../../third_party/polymer/polymer/polymer.js"> | 6 <include src="../../../../third_party/polymer/polymer/polymer.js"> |
7 | 7 |
8 // Define the file-systems element. | 8 // Define the file-systems element. |
9 Polymer('file-systems', { | 9 Polymer('file-systems', { |
10 ready: function() { | 10 ready: function() { |
(...skipping 19 matching lines...) Expand all Loading... |
30 } | 30 } |
31 | 31 |
32 document.addEventListener('DOMContentLoaded', function() { | 32 document.addEventListener('DOMContentLoaded', function() { |
33 chrome.send('updateFileSystems'); | 33 chrome.send('updateFileSystems'); |
34 | 34 |
35 // Refresh periodically. | 35 // Refresh periodically. |
36 setInterval(function() { | 36 setInterval(function() { |
37 chrome.send('updateFileSystems'); | 37 chrome.send('updateFileSystems'); |
38 }, 1000); | 38 }, 1000); |
39 }); | 39 }); |
OLD | NEW |