From 7d1baa87982bceb7d4848909f6d19fa0e32f3ef5 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 17 Nov 2013 18:58:08 -0800 Subject: [PATCH] Update vendor/benchmark.js. [ci skip] --- vendor/benchmark.js/benchmark.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vendor/benchmark.js/benchmark.js b/vendor/benchmark.js/benchmark.js index 835e9d5db..c76cf6629 100644 --- a/vendor/benchmark.js/benchmark.js +++ b/vendor/benchmark.js/benchmark.js @@ -1471,6 +1471,11 @@ destination = data.destination, currValue = destination[key]; + // skip pseudo private properties like `_timerId` which could be a + // Java object in environments like RingoJS + if (key.charAt(0) == '_') { + return; + } if (value && typeof value == 'object') { if (_.isArray(value)) { // check if an array value has changed to a non-array value