| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 5478158e9ed8e7238479fade60159e98b132593f..f62de230676f5905898350902ad3f0c4aa803cc0 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -8580,9 +8580,9 @@ abstract class Element extends Node implements ElementTraversal native "Element"
|
| * This is only supported if [isTemplate] is true.
|
| */
|
| @Experimental()
|
| - DocumentFragment createInstance() {
|
| + DocumentFragment createInstance(model, String syntax) {
|
| _ensureTemplate();
|
| - return TemplateElement.mdvPackage(this).createInstance();
|
| + return TemplateElement.mdvPackage(this).createInstance(model, syntax);
|
| }
|
|
|
| /**
|
| @@ -21320,7 +21320,7 @@ class TableSectionElement extends _HTMLElement native "HTMLTableSectionElement"
|
| @DocsEditable()
|
| Element $dom_insertRow(int index) native;
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| @@ -21408,15 +21408,6 @@ abstract class CustomBindingSyntax {
|
| * the value, it should simply return the `model` value it was passed.
|
| */
|
| getInstanceModel(Element template, model) => model;
|
| -
|
| - /**
|
| - * This syntax method allows a syntax to provide an alterate expansion of
|
| - * the [template] contents. When the template wants to create an instance,
|
| - * it will call this method with the template element.
|
| - *
|
| - * By default this will call `template.createInstance()`.
|
| - */
|
| - getInstanceFragment(Element template) => template.createInstance();
|
| }
|
|
|
|
|
|
|