index.js
function svgUrl(name, collection) {
  for (var i = 0, result; i < COLLECTION_FILTERS.length; i++) {
    if (COLLECTION_FILTERS[i][0].test(collection)) {
      result = COLLECTION_FILTERS[i][1];
      collection = _.isFunction(result)? result(collection) : result;
      break;
    }
  }
  return 'https://raw.github.com/fontello/' + collection +
         '/master/src/svg/' + name + '.svg';
}
function svgUrl(name, collection) {
  for (var i = 0, result; i < COLLECTION_FILTERS.length; i++) {
    if (COLLECTION_FILTERS[i][0].test(collection)) {
      result = COLLECTION_FILTERS[i][1];
      collection = _.isFunction(result)? result(collection) : result;
      break;
    }
  }
  return 'https://raw.github.com/fontello/' + collection +
         '/master/src/svg/' + name + '.svg';
}
function svgUrl ( name , collection ) { for ( var i = 0 , result ; i < COLLECTION_FILTERS . length ; i ++ ) { if ( COLLECTION_FILTERS [ i ] [ 0 ] . test ( collection ) ) { result = COLLECTION_FILTERS [ i ] [ 1 ] ; collection = _ . isFunction ( result ) ? result ( collection ) : result ; break ; } } return 'https://raw.github.com/fontello/' + collection + '/master/src/svg/' + name + '.svg' ; }
Returns the URL of a Fontello SVG
Returns the URL of a Fontello SVG