lib/actions/update-image-size.js
function findUrlToken(node, pos) {
	for (let i = 0, il = node.parsedValue.length, url; i < il; i++) {
		iterateCSSToken(node.parsedValue[i], token => {
			if (token.type === 'url' && containsPoint(token, pos)) {
				url = token;
				return false;
			}
		});

		if (url) {
			return url;
		}
	}
}
function findUrlToken(node, pos) {
	for (let i = 0, il = node.parsedValue.length, url; i < il; i++) {
		iterateCSSToken(node.parsedValue[i], token => {
			if (token.type === 'url' && containsPoint(token, pos)) {
				url = token;
				return false;
			}
		});

		if (url) {
			return url;
		}
	}
}
function findUrlToken ( node , pos ) { for ( let i = 0 , il = node . parsedValue . length , url ; i < il ; i ++ ) { iterateCSSToken ( node . parsedValue [ i ] , token => { if ( token . type === 'url' && containsPoint ( token , pos ) ) { url = token ; return false ; } } ) ; if ( url ) { return url ; } } }
Finds 'url' token for given `pos` point in given CSS property `node`
@param  {Node}  node
@param  {Point} pos
@return {Token}
Finds url token for given pos point in given CSS property node