mystor / meteor-device-detection

(NO LONGER SUPPORTED) Client-Side Device Type Detection & Template Switching with Optional Meteor-Router Support
MIT License
69 stars 17 forks source link

Iron Router Support #11

Open justindra opened 9 years ago

justindra commented 9 years ago

Hi,

I've just added Iron Router support. I've tested it with web and phone on my end. But I don't have the other devices to test on.

Cheers!

outluch commented 9 years ago

I tweaked a little:

        opts = Router.current().route.options;
        name = opts.template || opts.name || Router.current().route.path().slice(1);

Who can add this to pull request? I'm not so familiar with github yet

mystor commented 9 years ago

@justindra can add commits to the pull request. When I merge it, I can also merge a pull request from you with the changes.

I'll probably merge this soonish, I've just been really busy lately.

davidjb commented 9 years ago

+1 since meteor-router is deprecated in lieu of Iron Router.

MichaelJCole commented 9 years ago

Bump.

justindra commented 8 years ago

Hey @mystor @outluch, Sorry for the delay. I just commited your tweaks. I think that's right anyways. Please have a check.