test/widget-main/bower_components/mock/dist/scripts/main.js
/*
	     * Convert DOM collection of property nodes from model.xml into a map of preference: value.
	     */
Convert DOM collection of property nodes from model.xml into a map of preference: value.
Convert DOM collection of property nodes from model . xml into a map of preference : value .
function propertiesToPreferences(propertyCollection) {
	        var i;
	        var preference;
	        var preferences = {};
	        for (i = 0; i < propertyCollection.length; i++) {
	            preference = propertyToPreference(propertyCollection[i]);
	            if (preference) {
	                preferences[preference.name] = preference.value;
	            }
	        }
	        return preferences;
	    }
function propertiesToPreferences ( propertyCollection ) { var i ; var preference ; var preferences = { } ; for ( i = 0 ; i < propertyCollection . length ; i ++ ) { preference = propertyToPreference ( propertyCollection [ i ] ) ; if ( preference ) { preferences [ preference . name ] = preference . value ; } } return preferences ; }
Convert DOM collection of property nodes from model.xml into a map of preference: value.
Convert DOM collection of property nodes from model . xml into a map of preference : value .