fbobjc -> Flow v0.28

Reviewed By: gabelevi

Differential Revision: D3518381

fbshipit-source-id: 2dd5f89177aaefbd098ba1fd3c193da111ff14c7
This commit is contained in:
Jeff Morrison
2016-07-06 08:56:10 -07:00
committed by Facebook Github Bot
parent dc2597ffee
commit a8e6a236cc
11 changed files with 37 additions and 18 deletions

View File

@@ -1,4 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
@@ -81,7 +88,7 @@ function showValue(value) {
if (typeof ArrayBuffer !== 'undefined' &&
typeof Uint8Array !== 'undefined' &&
value instanceof ArrayBuffer) {
return `ArrayBuffer {${Array.from(new Uint8Array(value))}}`;
return `ArrayBuffer {${String(Array.from(new Uint8Array(value)))}}`;
}
return value;
}