Which part of the code that discovers mobile template


(nXqd) #1

I’m still learning Emberjs, I find it’s pretty interesting that Discourse automatically find mobile template. How is it implemented, I have tried to look around but i’m not so lucky :frowning:


(Jeff Atwood) #2

Search for user agent strings.