lib/resolver/tagName.js
function(name, collection) {
			if (!elementTypes[collection])
				elementTypes[collection] = [];
			
			var col = this.getCollection(collection);
			if (!~col.indexOf(name)) {
				col.push(name);
			}
		}
function(name, collection) {
			if (!elementTypes[collection])
				elementTypes[collection] = [];
			
			var col = this.getCollection(collection);
			if (!~col.indexOf(name)) {
				col.push(name);
			}
		}
function ( name , collection ) { if ( ! elementTypes [ collection ] ) elementTypes [ collection ] = [ ] ; var col = this . getCollection ( collection ) ; if ( ! ~ col . indexOf ( name ) ) { col . push ( name ) ; } }
Adds new element into collection
@param {String} name Element name
@param {String} collection Collection name
Adds new element into collection