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

Side by Side Diff: sky/framework/sky-element/TemplateBinding.sky

Issue 694423002: Replace <link rel="import"> with <import> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 2 // Copyright 2014 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 --> 5 -->
6 <link rel="import" href="observe.sky" as="observe" /> 6 <import src="observe.sky" as="observe" />
7 7
8 <script> 8 <script>
9 Node.prototype.bind = function(name, observable, oneTime) { 9 Node.prototype.bind = function(name, observable, oneTime) {
10 var self = this; 10 var self = this;
11 11
12 if (oneTime) { 12 if (oneTime) {
13 this[name] = observable; 13 this[name] = observable;
14 return; 14 return;
15 } 15 }
16 16
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 this.closeInstanceBindings(this.instances[i]); 995 this.closeInstanceBindings(this.instances[i]);
996 } 996 }
997 997
998 this.instances.length = 0; 998 this.instances.length = 0;
999 this.closeDeps(); 999 this.closeDeps();
1000 this.templateElement_.iterator_ = undefined; 1000 this.templateElement_.iterator_ = undefined;
1001 this.closed = true; 1001 this.closed = true;
1002 } 1002 }
1003 }; 1003 };
1004 </script> 1004 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698