Reverted commit D3518381

Reviewed By: gabelevi

Differential Revision: D3518381

fbshipit-source-id: 645c25191d5e7cff7689bd4dc583c478eba46496
This commit is contained in:
Ian Childs
2016-07-06 09:28:47 -07:00
committed by Facebook Github Bot 9
parent 21e997a416
commit 0fde81c816
11 changed files with 18 additions and 37 deletions

View File

@@ -1,11 +1,4 @@
/**
* 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.
*
@@ -88,7 +81,7 @@ function showValue(value) {
if (typeof ArrayBuffer !== 'undefined' &&
typeof Uint8Array !== 'undefined' &&
value instanceof ArrayBuffer) {
return `ArrayBuffer {${String(Array.from(new Uint8Array(value)))}}`;
return `ArrayBuffer {${Array.from(new Uint8Array(value))}}`;
}
return value;
}