Skip to content

Commit

Permalink
added requireJS options so levels work when useStatic is on (dev serv…
Browse files Browse the repository at this point in the history
…er thing)
  • Loading branch information
delfick committed Dec 30, 2010
1 parent dc107a2 commit 4b6dcab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/fancy/view.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "view.html" %}

{% block bodyOpts %}style="background:black"{%endblock%}
{% block bodyOpts %}style="background:black"{% endblock %}

{% block staticRequireOpts %}
require({
Expand All @@ -10,6 +10,11 @@
});
{% endblock %}

{% block requireOpts %}
{{block.super}}
require.paths = {'_levels' : '/scripts/examples/fancy/_levels'};
{% endblock %}

{% block canvas %}
<div id="gamma"></div>
{% endblock %}

0 comments on commit 4b6dcab

Please sign in to comment.