| 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 8e307a41ff76ac3b206261f3a336c7ccebdf9c08..474979e2784ca8c4f02b861c90662d0fefcd7526 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -8333,9 +8333,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);
|
| }
|
|
|
| /**
|
| @@ -20852,7 +20852,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.
|
|
|
| @@ -20940,15 +20940,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();
|
| }
|
|
|
|
|
|
|