From efda359accb575ff0132bafdf56597752a65404a Mon Sep 17 00:00:00 2001 From: leper Date: Sat, 19 Dec 2015 01:10:13 +0000 Subject: [PATCH] Use new when calling the builtin typed array constructor. The current code will be forbidden in ES6. This was SVN commit r17504. --- source/simulation2/tests/test_Serializer.h | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/source/simulation2/tests/test_Serializer.h b/source/simulation2/tests/test_Serializer.h index 544cc0e193..394dfb97e5 100644 --- a/source/simulation2/tests/test_Serializer.h +++ b/source/simulation2/tests/test_Serializer.h @@ -498,10 +498,10 @@ public: void test_script_typed_arrays_complex() { helper_script_roundtrip("ArrayBuffer with Int16Array", - "var buf=new ArrayBuffer(16);" - "var int16=Int16Array(buf);" - "for(var i=0; i