| Index: tools/dom/templates/html/impl/impl_FileReader.darttemplate
|
| ===================================================================
|
| --- tools/dom/templates/html/impl/impl_FileReader.darttemplate (revision 38259)
|
| +++ tools/dom/templates/html/impl/impl_FileReader.darttemplate (working copy)
|
| @@ -7,17 +7,19 @@
|
| @DocsEditable()
|
| $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
|
|
| -$if DART2JS
|
| @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;
|
| }
|
| -$endif
|
|
|
| $!MEMBERS
|
| }
|
|
|