From 38124ab93811838bd2f45bf990dcc6e00f34ad88 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 8 Feb 2019 20:18:40 -0500 Subject: [PATCH] mock - Define two directives, one which references the other --- ext/afform/mock/ang/afformExamplepage.aff.html | 3 ++- ext/afform/mock/ang/afformExamplepage.aff.json | 2 +- ext/afform/mock/ang/fakelibFoo.aff.html | 1 + ext/afform/mock/ang/fakelibFoo.aff.json | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 ext/afform/mock/ang/fakelibFoo.aff.html create mode 100644 ext/afform/mock/ang/fakelibFoo.aff.json diff --git a/ext/afform/mock/ang/afformExamplepage.aff.html b/ext/afform/mock/ang/afformExamplepage.aff.html index 0f1db46e78..f527239687 100644 --- a/ext/afform/mock/ang/afformExamplepage.aff.html +++ b/ext/afform/mock/ang/afformExamplepage.aff.html @@ -1 +1,2 @@ -
Hello {{routeParams.name}}
+
Hello {{routeParams.name}}.
+
The foo says "".
diff --git a/ext/afform/mock/ang/afformExamplepage.aff.json b/ext/afform/mock/ang/afformExamplepage.aff.json index fbdd9d36ba..355d29cf62 100644 --- a/ext/afform/mock/ang/afformExamplepage.aff.json +++ b/ext/afform/mock/ang/afformExamplepage.aff.json @@ -1 +1 @@ -{"server_route": "civicrm/example-page"} +{"server_route": "civicrm/example-page", "requires":["fakelibFoo"]} diff --git a/ext/afform/mock/ang/fakelibFoo.aff.html b/ext/afform/mock/ang/fakelibFoo.aff.html new file mode 100644 index 0000000000..996cbd8d81 --- /dev/null +++ b/ext/afform/mock/ang/fakelibFoo.aff.html @@ -0,0 +1 @@ +the foo bar stuff \ No newline at end of file diff --git a/ext/afform/mock/ang/fakelibFoo.aff.json b/ext/afform/mock/ang/fakelibFoo.aff.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/ext/afform/mock/ang/fakelibFoo.aff.json @@ -0,0 +1 @@ +{} \ No newline at end of file -- 2.25.1