Why array.join instead of string literal?

I don't know. I thought it looked nicer.. I can change it if you think
sting literals are better.
It would make sense since we never use array.join



On Thu, Aug 8, 2013 at 3:25 PM, Loïc Gasser <loicgasser4@gmail.com> wrote:

>
> http://mf-chsdi30t.bgdi.admin.ch/rest/services/geoadmin/SearchServer?searchText=lausanne&bbox=225223.0688,7442.487399999984,1097723.0688,368942.4874&lang=fr&features=&type=locations
>
> you need to add a type
> type=locations
>
>
> mf-chsdi30t.bgdi.admin.ch/rest/services/geoadmin/SearchServer?searchText=wander&lang=fr&features=&type=layers
>
> here type=layers
>
>
> On Thu, Aug 8, 2013 at 3:21 PM, Gilbert Jeiziner <notifications@github.com
> > wrote:
>
>> In src/components/search/SearchDirective.js:
>>
>> > +          'title="Follow us on Twitter" ',
>> > +          'ng-href="https://twitter.com/swiss_geoportal">',
>> > +          '<i class="icon-twitter"></i>',
>> > +          '</a>',
>> > +          '<a class="share-icon"',
>> > +          'title="Send us an email" ',
>> > +          'ng-click="getHref()" ',
>> > +          'ng-mouseover="getHref()" ',
>> > +          'ng-href="mailto:webgis@swisstopo.ch?',
>> > +          'body={{encodedPermalinkHref}}">',
>> > +          '<i class="icon-envelope-alt"></i>',
>> > +          '</a>',
>> > +          '</div>',
>> > +          '</div>',
>> > +          '</div>'].join('');
>> > +
>>
>> Why array.join instead of string literal?
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/geoadmin/mf-geoadmin3/pull/220/files#r5657010>
>> .
>>
>
>