refactor(shadow dom): do not use injectors nor directives
This prepares us for the app/render split in the compiler.
This commit is contained in:
@@ -208,6 +208,10 @@ export class RegExpWrapper {
|
||||
return input.match(regExp.single);
|
||||
}
|
||||
static matcher(regExp, input) {
|
||||
// Reset regex state for the case
|
||||
// someone did not loop over all matches
|
||||
// last time.
|
||||
regExp.multiple.lastIndex = 0;
|
||||
return {
|
||||
re: regExp.multiple,
|
||||
input: input
|
||||
|
||||
Reference in New Issue
Block a user