jquery/test/data/support/getComputedSupport.js

15 lines
257 B
JavaScript
Raw Normal View History

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;
}