openlayers/ol3 — pull request #1220 by bartvde (2013-11-04 18:53:54+00:00)
Title: shouldn't we allow to pass in target as string as well for controls?

This won't work currently:

```
new ol.control.ScaleLine({target: 'scale-line'})
```

but I think people expect this to work.