Files
sdk/tools/dom/templates/html/impl/impl_FileReader.darttemplate
T
leafp@google.com 8e3aaa4e75 Blink uses types in entry points
This CL changes the way that blink entry points are named to
use the type signature uniformly.  This makes us somewhat
more robust against changes in the idl.

BUG=
R=vsm@google.com

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

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

26 lines
669 B
Plaintext

// Copyright (c) 2014, 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$IMPLEMENTS {
@DomName('FileReader.result')
@DocsEditable()
Object get result {
$if DART2JS
var res = JS('Null|String|NativeByteBuffer', '#.result', this);
$else
var res = _blink.BlinkFileReader.result_Getter(this);
$endif
if (res is ByteBuffer) {
return new Uint8List.view(res);
}
return res;
}
$!MEMBERS
}