Files
sdk/tools/dom/templates/html/impl/impl_WebKitCSSKeyframesRule.darttemplate
T
sra@google.com 11a19d95be Use @Native annotation on dart2js DOM native classes
This is one of many steps to removing non-standard syntax from the dart2js libraries.

R=blois@google.com

Review URL: https://codereview.chromium.org//409053002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38484 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 00:23:17 +00:00

21 lines
575 B
Plaintext

// Copyright (c) 2012, 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.
part of $LIBRARYNAME;
@DocsEditable()
$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS {
$!MEMBERS
$if DART2JS
void appendRule(String rule) {
if (JS('bool', '("appendRule" in #)', this)) {
JS('', '#.appendRule(#)', this, rule);
} else {
JS('', '#.insertRule(#)', this, rule);
}
}
$endif
}