From f37a84fb853ce8cc5f00bebfb1e877312157cb56 Mon Sep 17 00:00:00 2001 From: Scott Hunter Date: Mon, 7 Apr 2014 17:25:32 -0400 Subject: [PATCH] Fix build for new transferTypedArrayTest worker. --- Source/Workers/transferTypedArrayTest.js | 4 +++- build.xml | 24 ++++++++++++++++++------ 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/Source/Workers/transferTypedArrayTest.js b/Source/Workers/transferTypedArrayTest.js index afc53c0d7aa..01c34cfb400 100644 --- a/Source/Workers/transferTypedArrayTest.js +++ b/Source/Workers/transferTypedArrayTest.js @@ -1,6 +1,8 @@ /*global self:true*/ // make sure self is defined so that the Dojo build can evaluate this file without crashing. -self = self || {}; +if (typeof self === 'undefined') { + self = {}; +} self.onmessage = function(event) { "use strict"; diff --git a/build.xml b/build.xml index ed67fa80685..36eeeff3f98 100644 --- a/build.xml +++ b/build.xml @@ -365,8 +365,8 @@ - - + + @@ -375,11 +375,22 @@ - - - + + + + + + + + + + + + + + - + @@ -396,6 +407,7 @@ +