feat(DirectiveParser): throw errors when expected directives are not present
closes #527 Closes #570
This commit is contained in:

committed by
Misko Hevery

parent
715ee14ced
commit
94e203b9df
@ -40,7 +40,7 @@ export function main() {
|
||||
function match() {
|
||||
var matchCount = 0;
|
||||
for (var i=0; i<count; i++) {
|
||||
fixedMatcher.match(fixedSelectors[i], (selected) => {
|
||||
fixedMatcher.match(fixedSelectors[i], (selector, selected) => {
|
||||
matchCount += selected;
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user