EnhanceJS

Bei der Filament Group las ich gerade über EnhanceJS:

Introducing EnhanceJS, a JavaScript framework designed specifically to deliver a usable experience to the widest possible audience, by testing the browser to determine whether it is capable of correctly supporting a range of essential CSS and JavaScript properties, and delivering features only to those that pass the test.

Aussehen tut das dann so;

<script type="text/javascript" src="enhance.js"></script>
<script type="text/javascript">
	enhance({
		loadStyles: [
			'css/enhancements.css'
		],
		loadScripts: [
			'js/jquery.min.js',
			'js/enhancements.js'
		]
	});
</script>

Bei Zeiten mal testen…

Possibly related posts (automatically generated)