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

Side by Side Diff: polymer_0.5.0/bower_components/paper-checkbox/paper-checkbox.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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 (c) 2014 The Polymer Project Authors. All rights reserved. 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
6 Code distributed by Google as part of the polymer project is also 6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
8 --> 8 -->
9 9
10 <!-- 10 <!--
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 checkboxAnimationEnd: function() { 101 checkboxAnimationEnd: function() {
102 var cl = this.$.checkbox.classList; 102 var cl = this.$.checkbox.classList;
103 cl.toggle('checkmark', this.checked && !cl.contains('checkmark')); 103 cl.toggle('checkmark', this.checked && !cl.contains('checkmark'));
104 cl.toggle('box', !this.checked && !cl.contains('box')); 104 cl.toggle('box', !this.checked && !cl.contains('box'));
105 } 105 }
106 106
107 }); 107 });
108 108
109 </script> 109 </script>
110 </polymer-element> 110 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698