-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inheritance #16
Inheritance #16
Conversation
@@ -62,7 +62,36 @@ | |||
// TODO: disallow name clashes in match. Allow regex? | |||
|
|||
__tryToMatch: function(path, match) { | |||
if (this._skipMatch || !path || !match) { | |||
debugger; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 🪲 🔥
if (matchResult == null) { | ||
this._matched = null; | ||
// this.tail = null; | ||
// this.data = ???; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If these are related to something meaningful, can we leave a TODO
?
return; | ||
} | ||
|
||
var matchResult = this.matchPath(path, match); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an explicit signature for matchPath
? Is it okay if sometimes it returns null
vs undefined
?
Fixes #15
Shouldn't be merged until the
extends
branch lands in Polymer, and without changes to revert thebower.json
change in this PR.