Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!-- | |
| 2 Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | |
|
Siggi Cherem (dart-lang)
2015/08/13 18:52:41
2015
jakemac
2015/08/13 19:14:29
Done.
| |
| 3 for details. All rights reserved. Use of this source code is governed by a | |
| 4 BSD-style license that can be found in the LICENSE file. | |
| 5 --> | |
| 1 <script> | 6 <script> |
| 2 (function() { | 7 (function() { |
| 3 Polymer.Base.originalPolymerCreatedCallback = | 8 Polymer.Base.originalPolymerCreatedCallback = |
| 4 Polymer.Base.createdCallback; | 9 Polymer.Base.createdCallback; |
| 5 Polymer.Base.createdCallback = function() { | 10 Polymer.Base.createdCallback = function() { |
| 6 if (this.__isPolymerDart__) return; | 11 if (this.__isPolymerDart__) return; |
| 7 this.originalPolymerCreatedCallback(); | 12 this.originalPolymerCreatedCallback(); |
| 8 }; | 13 }; |
| 9 | 14 |
| 10 // Store serialize/deserialize to retain the original behavior when the | 15 // Store serialize/deserialize to retain the original behavior when the |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 40 // recognize. | 45 // recognize. |
| 41 var args = []; | 46 var args = []; |
| 42 for (var i = 0; i < arguments.length; i++) { | 47 for (var i = 0; i < arguments.length; i++) { |
| 43 args[i] = arguments[i]; | 48 args[i] = arguments[i]; |
| 44 } | 49 } |
| 45 return dartFunction(thisArg, args); | 50 return dartFunction(thisArg, args); |
| 46 } | 51 } |
| 47 }; | 52 }; |
| 48 })(); | 53 })(); |
| 49 </script> | 54 </script> |
| OLD | NEW |