/*
===============================================================================================

    	Unify Project

		Homepage: unify-project.org
		License: MIT + Apache (V2)
		Copyright: 2012, Sebastian Fastner, Mainz, Germany, http://unify-training.com

===============================================================================================
*/

/**
 * Detects the operating system name
 */
core.Module("unify.bom.detect.Html5Placeholder", {
	
	/** {Boolean} If html5 placeholders are supported */
	VALUE : (function(doc) {
		var i = doc.createElement("input");
        return ("placeholder" in i);
	})(document)
});

/*
===============================================================================================

    	Unify Project

		Homepage: unify-project.org
		License: MIT + Apache (V2)
		Copyright: 2012, Sebastian Fastner, Mainz, Germany, http://unify-training.com

===============================================================================================
*/


if (jasy.Env.isSet("runtime", "browser")) {
	/**
	 * Detects the operating system name
	 */
	core.Module("unify.bom.detect.Html5Placeholder", {
	
		/** {Boolean} If html5 placeholders are supported */
		VALUE : (function(doc) {
			var i = doc.createElement("input");
		    return ("placeholder" in i);
		})(document)
	});
} else {
	core.Module("unify.bom.detect.Html5Placeholder", {
		VALUE: true
	});
}

Fix detection classes to support workers (no head, body document etc)
Fix detection classes to support workers (no head, body document etc)
