/* 
==================================================================================================
  Core - JavaScript Foundation 
  Copyright 2010-2012 Zynga Inc.
  Copyright 2012-2013 Sebastian Werner
--------------------------------------------------------------------------------------------------
  Based on Remy Sharp's HTML5 Enabling Script:
  http://remysharp.com/2009/01/07/html5-enabling-script/
==================================================================================================
*/

/**
 * Adds HTML5 tag support to Internet Explorer 
 */
if (jasy.Env.isSet("runtime", "browser") && jasy.Env.isSet("engine", "trident"))
{
  (function(doc) 
  {
		var tags = 'abbr article aside audio canvas details figcaption figure footer header hgroup main mark meter nav output progress section summary time video';
		tags.replace(/\w+/g, function(tagName) {
			doc.createElement(tagName); 
		});
  })(document);
}

/* 
==================================================================================================
  Core - JavaScript Foundation 
  Copyright 2010-2012 Zynga Inc.
  Copyright 2012-2013 Sebastian Werner
--------------------------------------------------------------------------------------------------
  Based on Remy Sharp's HTML5 Enabling Script:
  http://remysharp.com/2009/01/07/html5-enabling-script/
==================================================================================================
*/

/**
 * Adds HTML5 tag support to Internet Explorer 
 */
if (jasy.Env.isSet("runtime", "browser") && core.detect.Engine.VALUE == "trident")
{
  (function(doc) 
  {
		var tags = 'abbr article aside audio canvas details figcaption figure footer header hgroup main mark meter nav output progress section summary time video';
		tags.replace(/\w+/g, function(tagName) {
			doc.createElement(tagName); 
		});
  })(document);
}

Switch from Env to raw engine detection to keep list of dependencies for fix.* small.
Switch from Env to raw engine detection to keep list of dependencies for fix.* small.
