aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/support/getComputedSupport.js
blob: ce3f118eaf8b30794ec0a7ac24cf93453f80b9e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function getComputedSupport( support ) {
	var prop,
		result = {};

	for ( prop in support ) {
		if ( typeof support[ prop ] === "function" ) {
			result[ prop ] = support[ prop ]();
		} else {
			result[ prop ] = support[ prop ];
		}
	}

	return result;
}