This file contains hidden or 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
| ;(function() { | |
| var pres = document.getElementsByTagName("pre"); | |
| for(var i=0; i < pres.length; i++) { | |
| if(pres[i].getElementsByTagName('code').length > 0) | |
| { | |
| pres[i].className += "prettyprint"; | |
| } | |
| } |
This file contains hidden or 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
| jQuery.fn.fadeLink = function(options) { | |
| var config = $.extend({ | |
| color: '#ff8c28', | |
| duration: 500 | |
| }, options); | |
| return $(this).each(function() { | |
| var | |
| originalColour = $(this).css('color'), |
This file contains hidden or 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
| poet.helpers.getPostPage = function(title) { | |
| var postsPerPage = poet.options.postsPerPage; | |
| var pageCount = poet.helpers.getPageCount(); | |
| for(var i=1; i < pageCount; i++) { | |
| var from = (i-1) * postsPerPage; | |
| var to = from + postsPerPage; | |
| var posts = poet.helpers.getPosts(from, to); | |
| if(title in posts) { | |
| return i; | |
| } |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project name="ProjectName" default="dist"> | |
| <property name="builddir" value="./build" /> | |
| <!-- ============================================ --> | |
| <!-- Target: prepare --> | |
| <!-- ============================================ --> | |
| <target name="prepare"> | |
| <echo msg="Making directory ${builddir}" /> |
NewerOlder