openlayers/ol3 — pull request #361 by bbinet (2013-03-13 16:18:34+00:00)
Title: Factorize code that expand a template url into multiples urls

This factorize code that turns url such as: ``'http://tile-{c-e}/{z}/{x}/{y}'`` into: ``['http://tile-c/{z}/{x}/{y}', 'http://tile-d/{z}/{x}/{y}', 'http://tile-e/{z}/{x}/{y}']``.

This PR also applies this ``expandUrl`` function to the TiledWMS source.