From b01f57bfdbc80d3e1e34ef5c61b54aa1b329ca25 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Tue, 3 Jun 2014 06:10:27 -0700 Subject: [PATCH] Explicitly enable strict compilation for the Aphlict client SWF. Summary: Strict mode is enabled by default, but it would be best to explicitly enable it... just in case. Strict mode prints undefined property and function calls; also performs compile-time type checking on assignments and options supplied to method calls. See http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9354 --- support/aphlict/client/build_aphlict_client.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/support/aphlict/client/build_aphlict_client.sh b/support/aphlict/client/build_aphlict_client.sh index a9a324052a..7c9eb01bc6 100755 --- a/support/aphlict/client/build_aphlict_client.sh +++ b/support/aphlict/client/build_aphlict_client.sh @@ -12,6 +12,7 @@ set -e $MXMLC \ -output=$ROOT/webroot/rsrc/swf/aphlict.swf \ + -strict=true \ -warnings=true \ -source-path=$ROOT/externals/vegas/src \ -static-link-runtime-shared-libraries=true \