archive/v1/util.js
function filterValidPaths(type, paths, version) {
		var valid = [];
		
		version = env.schema[version] || env.schema['5.1'];
		
		_.forEach(paths, function(p) {
			if (env.schema.hasProperty(version, type, p)) {
				valid.push(p);
			}
		});
		
		return valid;
	}
function filterValidPaths(type, paths, version) {
		var valid = [];
		
		version = env.schema[version] || env.schema['5.1'];
		
		_.forEach(paths, function(p) {
			if (env.schema.hasProperty(version, type, p)) {
				valid.push(p);
			}
		});
		
		return valid;
	}
function filterValidPaths ( type , paths , version ) { var valid = [ ] ; version = env . schema [ version ] || env . schema [ '5.1' ] ; _ . forEach ( paths , function ( p ) { if ( env . schema . hasProperty ( version , type , p ) ) { valid . push ( p ) ; } } ) ; return valid ; }
function to get valid paths
function to get valid paths