This is an example to test the usage of multiple files (arrays) in the
config file.
X should be 3 (story scripts) -> X = <%= s.x %>
Y should be 30 (global scripts) -> Y = <%= s.y %>
Z should be 200 (tag scripts) -> Z = <%= s.z %>
W should be 3000 (snippet scripts) -> W = <%= s.w %>
The background should be blue.
let x = 1;
x += 1;
x += 1;
s.x = x;
$(function () {
$("#iff-snippet").append("<p>This should appear FIRST</p>");
});
y = 10;
$(function () {
$("#iff-snippet").append("<p>This should appear SECOND</p>");
});
y += 10;
$(function () {
$("#iff-snippet").append("<p>This should appear THIRD</p>");
});
y += 10;
s.y = y;
$(function () {
$("#iff-snippet").append("<p>This should appear FOURTH</p>");
});
z = 100;
$(function () {
$("#iff-snippet").append(
"<p>This should appear SIXTH (and FIFTH should have been skipped)</p>"
);
});
z += 100;
s.z = z;
$(function () {
$("#iff-snippet").append("<p>This should appear SEVENTH</p>");
});
w = 1000;
$(function () {
$("#iff-snippet").append("<p>This should appear EIGHTH</p>");
});
w += 1000;
$(function () {
$("#iff-snippet").append("<p>This should appear NINTH</p>");
});
w += 1000;
s.w = w;