Commit 532b0c18 authored by Damien Lespiau's avatar Damien Lespiau

js: Split the series list page JS in a separate file

I'll add more logic to this file, time to split the JS into its own
file.
Signed-off-by: 's avatarDamien Lespiau <damien.lespiau@intel.com>
parent 8ed1f37a
$(function () {
pw.setup_series_list('#serieslist');
});
{% extends "base.html" %}
{% load staticfiles %}
{% load person %}
{% block title %}{{project.name}}{% endblock %}
{% block headers %}
<script type="text/javascript">
$(function () {
pw.setup_series_list('#serieslist');
});
</script>
<script type="text/javascript" src="{% static "js/series-list.js" %}"></script>
{% endblock %}
{% block series_active %}active{% endblock %}
......
......@@ -5,5 +5,6 @@ root_dir=`dirname $script_dir`
js=$root_dir/htdocs/js
tests=$root_dir/tests
files="$js/patchwork.js $js/common.js $js/bundle.js $tests/test_*.js"
files="$files $js/series-list.js"
jshint $files
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment