// 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

  void appendRule(String rule) {
    if (JS('bool', '("appendRule" in #)', this)) {
      JS('', '#.appendRule(#)', this, rule);
    } else {
      JS('', '#.insertRule(#)', this, rule);
    }
  }
}
