-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Hi,
I must first add that we use ember-href-to in a weird way. We don't use the helper, but use the global click handler to make custom href links work. These links are 'user-generated', and this addon makes those links integrate with ember without the user having to know the route names.
This however does not work for relative names. While we can get the href's correctly pointing to the correct url's the addon does not recognize them as it uses the href attribute, which for relative uri's never begins with the root. This then marks these links as 'external'.
Maybe we could use jQuery.prop to get the complete uri that the href will point to? This does have the side-effect that the uri will contain the hostname, but maybe recognizing this will fix some problems concerning the external links not working? #63 #57