| OLD | NEW | 
|---|
| 1 // Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 4 | 4 | 
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. | 
| 6 | 6 | 
| 7 part of $LIBRARYNAME; | 7 part of $LIBRARYNAME; | 
| 8 | 8 | 
| 9 @Experimental() | 9 @Experimental() | 
| 10 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 10 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
     { | 
| 11 $!MEMBERS | 11 $!MEMBERS | 
| 12 | 12 | 
| 13   /** | 13   /** | 
| 14    * An override to place the contents into content rather than as child nodes. | 14    * An override to place the contents into content rather than as child nodes. | 
| 15    * | 15    * | 
| 16    * See also: | 16    * See also: | 
| 17    * | 17    * | 
| 18    * * <https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.h
    tml#innerhtml-on-templates> | 18    * * <https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.h
    tml#innerhtml-on-templates> | 
| 19    */ | 19    */ | 
| 20   void setInnerHtml(String html, | 20   void setInnerHtml(String html, | 
| 21     {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { | 21     {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { | 
| 22     text = null; | 22     text = null; | 
| 23     var fragment = createFragment( | 23     var fragment = createFragment( | 
| 24         html, validator: validator, treeSanitizer: treeSanitizer); | 24         html, validator: validator, treeSanitizer: treeSanitizer); | 
| 25 | 25 | 
| 26     content.append(fragment); | 26     content.append(fragment); | 
| 27   } | 27   } | 
| 28 } | 28 } | 
| OLD | NEW | 
|---|