ariatemplates/ariatemplates — pull request #1371 by divdavem (2014-12-05 16:24:08+00:00)
Title: Fixing issue with recursive dependency on VisualFocus

This commit fixes the following bug: if appOutlineStyle is set to a non-null value in the AppEnvironment (after Aria Templates is loaded but before any template is loaded), and if the packaging of Aria Templates is such that aria.utils.VisualFocus is available synchronously when aria.utils.environment.VisualFocus is loaded, aria.utils.VisualFocus does not get a correct reference to aria.utils.environment.VisualFocus when it is loaded, leading to the "undefined is not a function" exception when executing "ariaUtilsEnvironmentVisualFocus.getAppOutlineStyle()" in https://github.com/ariatemplates/ariatemplates/blob/master/src/aria/utils/VisualFocus.js#L39