| 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 (function() { | 5 (function() { |
| 6 'use strict'; | 6 'use strict'; |
| 7 | 7 |
| 8 Polymer('volume-controller', { | 8 Polymer('volume-controller', { |
| 9 /** | 9 /** |
| 10 * Initializes an element. This method is called automatically when the | 10 * Initializes an element. This method is called automatically when the |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 case 'Up': | 106 case 'Up': |
| 107 case 'Down': | 107 case 'Down': |
| 108 case 'PageUp': | 108 case 'PageUp': |
| 109 case 'PageDown': | 109 case 'PageDown': |
| 110 event.preventDefault(); | 110 event.preventDefault(); |
| 111 break; | 111 break; |
| 112 } | 112 } |
| 113 }, | 113 }, |
| 114 }); | 114 }); |
| 115 })(); // Anonymous closure | 115 })(); // Anonymous closure |
| OLD | NEW |