emberjs / emberjs/ember-debug

Detect whether or not URL is recognized by router

Open
#5 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

A function that does this:

1. Check whether or not a URL has the same domain as the Ember application (insert regex/window code here)
2. If so, then get the relative pathname and check to see if it is recognized by the router `router.recognize(urlPath)` and return a boolean accordingly (return value can be up for debate imo)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.