This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="categories"> | |
Read more about | |
{% for category in page.categories %} | |
{% if forloop.last %} | |
<a href="{{site.url}}/categories/{{category}}">{{category}}</a> | |
{% else %} | |
<a href="{{site.url}}/categories/{{category}}">{{category}}</a>, | |
{% endif %} | |
{% endfor %} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* requestAnimationFrame() by Miguel Rentes | |
* Corrects all JSLint warnings and uses a browser-compatible requestAnimFrame() function | |
* Based on Paul Irish's work - http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
* Also, please see https://gist.github.com/joelambert/1002116 | |
*/ | |
window.requestAnimFrame = (function () { | |
"use strict"; | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_issues_relations_from_issue(issue) | |
relations = IssueRelation.find(:all, :include => [ :issue_from, :issue_to ], | |
:conditions => [ 'issue_from_id = ' + issue.id.to_s + ' or issue_to_id = ' + issue.id.to_s]) | |
relations.each do |relation| | |
if relation.issue_from_id == issue.id | |
puts "From issue" + issue.id.to_s + " -> " + issue.id.to_s + " " + relation.relation_type + " " + relation.issue_to_id.to_s | |
elsif relation.issue_to_id == issue.id | |
puts "To issue " + issue.id.to_s + " -> " + relation.issue_from_id.to_s + " " + relation.relation_type + " " + issue.id.to_s | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select id="get_version" name="get[version]"><option value=""> </option> | |
<option value="15.1.0">15.1.0</option> | |
<option value="15.0.0">15.0.0</option> | |
<option value="15.0.3">15.0.3</option> | |
<option value="15.0.1">15.0.1</option> | |
<option value="15.0.2">15.0.2</option> | |
<option value="15.2.0">15.2.0</option> | |
<option value="15.0.4">15.0.4</option> | |
<option value="15.0.5">15.0.5</option> | |
<option value="15.3.0">15.3.0</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= select("get", "version", @versions, {include_blank: true}) %> |