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

Unified Diff: lib/src/js/polymer_bind_dart.html

Issue 1351693003: Update to use one less proxy per element (Closed) Base URL: git@github.com:dart-lang/polymer-dart.git@behaviors
Patch Set: update comments Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/js/polymer_base_dart.html ('k') | test/src/common/behavior_composition_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/js/polymer_bind_dart.html
diff --git a/lib/src/js/polymer_bind_dart.html b/lib/src/js/polymer_bind_dart.html
index c10ca9f9c4cf8be584d8df1deebe9e767ca38e6e..dcb0c3fa182eedd9ddda2c16e11cb7c37ceb4e77 100644
--- a/lib/src/js/polymer_bind_dart.html
+++ b/lib/src/js/polymer_bind_dart.html
@@ -5,13 +5,6 @@ BSD-style license that can be found in the LICENSE file.
-->
<script>
if (Polymer.Bind) {
- // Overwrite prepareInstance to a no-op for dart elements.
- Polymer.Bind._originalPrepareInstance = Polymer.Bind.prepareInstance;
- Polymer.Bind.prepareInstance = function (inst) {
- if (inst.__isPolymerDart__) return;
- this._originalPrepareInstance(inst);
- };
-
// We always need to create property accessors for dart elements, because we
// always have `effects` (updating the dart class).
// TODO(jakemac): Investigate making the updating of the dart class be an
« no previous file with comments | « lib/src/js/polymer_base_dart.html ('k') | test/src/common/behavior_composition_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698