aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/macros.fmark7
-rw-r--r--examples/test.css2
2 files changed, 6 insertions, 3 deletions
diff --git a/examples/macros.fmark b/examples/macros.fmark
index 1fa4351..fe69b1b 100644
--- a/examples/macros.fmark
+++ b/examples/macros.fmark
@@ -1,4 +1,4 @@
-<script type="text/javascript">
+<div><script type="text/javascript">
function loadCSS(filename){
var file = document.createElement("link");
@@ -8,10 +8,13 @@
document.head.appendChild(file);
}
- loadCSS("./test.css");
+ loadCSS("file:///home/yannherklotz/Github/FMark/examples/test.css");
</script>
+<p>sdassdd</p>
+</div>
+
{% macro input(text)
<form action="/html/tags/html_form_tag_action.cfm" method="post">
diff --git a/examples/test.css b/examples/test.css
index aa84b8c..9cc4e60 100644
--- a/examples/test.css
+++ b/examples/test.css
@@ -1,3 +1,3 @@
-p {
+body {
color: #ff0000;
} \ No newline at end of file