Skip to content

Commit 8c75fa1

Browse files
committed
feat(pat push): Scan the injected element for patterns.
1 parent 11189d4 commit 8c75fa1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pat/push/push.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import "regenerator-runtime/runtime"; // needed for ``await`` support
22
import Base from "../../core/base";
33
import logging from "../../core/logging";
44
import Parser from "../../core/parser";
5+
import registry from "../../core/registry";
56

67
const logger = logging.getLogger("push");
78

@@ -38,6 +39,7 @@ export default Base.extend({
3839
} else {
3940
this.el.innerHTML = data;
4041
}
42+
registry.scan(this.el);
4143
} catch (e) {
4244
logger.error(
4345
`Could not fetch from ${this.options.url} on push-id ${this.options.pushId}.`

0 commit comments

Comments
 (0)