mirror of
https://github.com/github/choosealicense.com
synced 2024-12-23 05:10:11 +01:00
3989f02359
Now the main page doesn't include any JS since it doesn't use them. This results in -4 http requests and a lot of bytes saved.
10 lines
295 B
JavaScript
10 lines
295 B
JavaScript
var annotations = {
|
|
{% for type_hash in site.rules %}
|
|
"{{ type_hash[0] }}": {
|
|
{% for rule_hash in type_hash[1] %}
|
|
"{{ rule_hash.tag }}" : "{{ rule_hash.description }}"{% if forloop.rindex0 > 0 %},{% endif %}
|
|
{% endfor %}
|
|
}{% if forloop.rindex0 > 0 %},{% endif %}
|
|
{% endfor %}
|
|
};
|