{"action":"created","comment":{"url":"https://api.github.com/repos/Reedyn/Saga/pulls/comments/39372105","id":39372105,"diff_hunk":"@@ -1,191 +1,227 @@\n /* global hljs, $, console */\n /* jshint browser: true */\n \n-var siteurl = $('#site-url').attr(\"href\"); // Get url for blog (in case site is run under a sub-domain)\n-\n-/******************\n- * HIGHLIGHT CODE *\n- ******************/\n-\n-if($(\"code\").length !== 0){\n-    $.getScript(siteurl+\"/assets/js/helper/highlight.min.js\", function() { \n-        hljs.initHighlightingOnLoad();\n-    });\n-}\n-\n-/**********************\n- * RESPONSIVE VIDEOS  *\n- **********************/\n-\n-$.getScript(siteurl+\"/assets/js/helper/jquery.fitvids.js\", function() { \n-    $(\"#main\").fitVids();\n-});\n-\n-/***********\n- * GALLERY *\n- ***********/\n-\n-if($('p a:not(:only-child) img').closest('p').length !== 0 || $('p img:not(:only-child)').closest('p').length !== 0){ // If there is a gallery present.\n-    $.getScript(siteurl+\"/assets/js/helper/imagesloaded.pkgd.min.js\", function() {\n-        $('p a:not(:only-child) img').closest('p').addClass('gallery');\n-        $('p img:not(:only-child)').closest('p').addClass('gallery');\n-        $(\".gallery\").imagesLoaded(gallery);\n-        $(window).resize(gallery);\n-    });\n-}\n-\n-function gallery(){\n-    $.getScript(siteurl+\"/assets/js/helper/gallery.min.js\", function() { // Load in script for gallery\n-        var size = 0;\n-        if ($(window).height() > $(window).width()){\n-            size = $(window).height();\n-        } else {\n-            size = $(window).width();\n-        }\n-        if (size < 210 ){\n-            size = 210;\n-        }\n-        $('.gallery').removeWhitespace().collagePlus(\n-            {\n-                'targetHeight':size/5\n+!function(){\n+    var Saga = {\n+\n+        /* \n+         *  Switch this to true if all the dependencies are already loaded,\n+         *  for example via a bundeld js file.\n+         */\n+\n+        scriptsPresent: false,\n+\n+        initialize: function(){\n+            // Get url for blog (in case site is run under a sub-domain)\n+            this.siteurl = $('#site-url').attr('href');\n+            this.$main = $('#main');\n+\n+            this.highlightCode();\n+            this.responsiveVideos();\n+            this.gallery();\n+            this.fullWidthImages();\n+            this.lightBox();\n+            this.stickyFooter();\n+            this.initializeFeed();\n+            this.initializePostNavigation();\n+        },\n+\n+        highlightCode: function(){\n+            if($('code').length === 0){\n+                return;\n             }\n-        );\n-    });\n-}\n-\n-/*********************\n- * FULL WIDTH IMAGES *\n- *********************/\n-\n-if($(\"#main\").hasClass(\"content\")){\n-    $.getScript(siteurl+\"/assets/js/helper/imagesloaded.pkgd.min.js\", function() { \n-        function fullImage(){\n-            $('img[src$=\"#full\"]:only-child').each(function() {\n-                $(this).addClass(\"full-loaded\");\n-                $(this).closest(\"p\").css(\"min-height\",$(this).height());\n-                $(this).closest(\"p\").addClass(\"full-image-container\");\n+\n+            this.getScript('/assets/js/helper/highlight.min.js')\n+            .then(function() { \n+                hljs.initHighlightingOnLoad();\n             });\n-        }\n-        $(\"#main\").imagesLoaded(fullImage);\n-        $(window).resize(fullImage);\n-    });\n-}\n-\n-/************\n- * LIGHTBOX *\n- ************/\n-\n-if($(\"#main\").hasClass(\"content\")){\n-    $.getScript(siteurl+\"/assets/js/helper/jquery.fluidbox.min.js\", function() {\n-        $.getScript(siteurl+\"/assets/js/helper/imagesloaded.pkgd.min.js\", function() {\n-            function lightBox(){\n-                $('.content a').filter(function() {\n-                    return $(this).attr('href').match(/\\.(jpeg|jpg|png|gif)/i);\n-                }).fluidbox({\n-                        closeTrigger: [\n-                            { selector: '#fluidbox-overlay', event: 'click'         },\n-                            { selector: 'window',            event: 'resize scroll' }\n-                        ]\n-                });\n+        },\n+\n+        responsiveVideos: function(){\n+            this.getScript('/assets/js/helper/jquery.fitvids.js').then($.proxy(function() { \n+                this.$main.fitVids();\n+            }, this));\n+        },\n+\n+        gallery: function(){\n+            if( $('p a:not(:only-child) img').closest('p').length === 0 \n+                && $('p img:not(:only-child)').closest('p').length !== 0){\n+                return;\n             }\n-            $(\"#main\").imagesLoaded(lightBox);\n-        });\n-    });\n-}\n-\n-/*****************\n- * STICKY FOOTER *\n- *****************/\n-\n-$(window).load(function(){\n-    $(\"#main\").css(\"min-height\",$(window).height() - $(\"#header\").height() - $(\"#footer\").height() );\n-});\n-$(window).resize(function(){\n-    $(\"#main\").css(\"min-height\",$(window).height() - $(\"#header\").height() - $(\"#footer\").height() );\n-});\n-\n-/********\n- * FEED *\n- ********/\n-\n-var $masonry;\n-if($(\"#main\").hasClass(\"archive\")){\n-    $.getScript(siteurl+\"/assets/js/helper/masonry.pkgd.min.js\", function() {\n-        $.getScript(siteurl+\"/assets/js/helper/imagesloaded.pkgd.min.js\", function() {\n-            $(\"#main\").imagesLoaded(function(){\n-                $masonry = $('.feed').masonry({\n-                    columnWidth: '.post:not(.featured)',\n-                    itemSelector: '.post',\n-                    gutter: 20\n-                });\n-                $('.post').each(function(){\n-                    $(this).css(\"opacity\", \"1.0\");\n-                });\n-                $('#loadmore').each(function(){\n-                    $(this).css(\"opacity\", \"1.0\");\n+\n+            this.getScript('/assets/js/helper/imagesloaded.pkgd.min.js').then(function() {\n+                $('p a:not(:only-child) img').closest('p').addClass('gallery');\n+                $('p img:not(:only-child)').closest('p').addClass('gallery');\n+                $('.gallery').imagesLoaded($.proxy(this.onGallery, this));\n+                $(window).resize($.proxy(this.onGallery, this));\n+            });\n+        },\n+\n+        onGallery: function(){\n+            this.getScript('/assets/js/helper/gallery.min.js').then(function() { // Load in script for gallery\n+                    var size = 0;\n+                    if ($(window).height() > $(window).width()){\n+                        size = $(window).height();\n+                    } else {\n+                        size = $(window).width();\n+                    }\n+                    if (size < 210){\n+                        size = 210;\n+                    }\n+                    $('.gallery').removeWhitespace().collagePlus({\n+                            'targetHeight': size/5\n+                    });\n                 });\n+        },\n+\n+        fullWidthImages: function(){\n+            if(!this.$main.hasClass('content')){\n+                return;\n+            }\n+\n+            this.getScript('/assets/js/helper/imagesloaded.pkgd.min.js')\n+            .then($.proxy(function() {\n+                this.$main.imagesLoaded($.proxy(this.onFullWidthImages, this));\n+                $(window).resize($.proxy(this.onFullWidthImages, this));\n+            }, this));\n+        },\n+\n+        onFullWidthImages: function(){\n+            $(\"img[src$='#full']:only-child\").each(function() {\n+                var $t = $(this);\n+                $t.addClass('full-loaded');\n+                $t.closest('p').css('min-height', $t.height());\n+                $t.closest('p').addClass('full-image-container');\n             });\n-        });\n-    });\n-}\n-\n-/*******************\n- * LOAD MORE POSTS *\n- *******************/\n-\n-if($(\"#main\").hasClass(\"archive\")){\n-    $(document).ready(function($) {\n-\n-        // The number of the next page to load (/page/x/).\n-        var numbers = $(\".page-number\").text().match(/[-+]?[0-9]*\\.?[0-9]+/g);\n-        var pageNum = parseInt(numbers[0]);\n-        // The maximum number of pages the current query can return.\n-        var max = parseInt(numbers[1]);\n-        // The link of the next page of posts.\n-        var nextLink = $(\".older-posts\").attr('href');\n-        /**\n-         * Replace the traditional navigation with our own,\n-         * but only if there is at least one page of new posts to load.\n-         */\n-        if(pageNum < max) {\n-            // Insert the \"More Posts\" link.\n-            $('#feed').append('<div id=\"loadmore\" style=\"opacity: 0;\"><a class=\"btn\">Load more <i class=\"fa fa-plus-circle\"></i></a></div>');\n-\n-            // Remove the traditional navigation.\n-            $('.pagination').remove();\n-        } else {\n-            $('.pagination').remove();\n-        }\n+        },\n \n+        lightBox: function(){\n+            if(!this.$main.hasClass('content')){\n+                return;\n+            }\n+\n+            this.getScripts([\n+                '/assets/js/helper/jquery.fluidbox.min.js',\n+                '/assets/js/helper/imagesloaded.pkgd.min.js'\n+            ]).then($.proxy(function(){\n+                this.$main.imagesLoaded(this.onLightBox.bind(this));\n+            }, this));\n+        },\n+\n+        onLightBox: function(){\n+            $('.content a').filter(function() {\n+                return $(this).attr('href').match(/\\.(jpeg|jpg|png|gif)/i);\n+            }).fluidbox({\n+                closeTrigger: [\n+                    { selector: '#fluidbox-overlay', event: 'click'         },\n+                    { selector: 'window',            event: 'resize scroll' }\n+                ]\n+            });\n+        },\n+\n+        stickyFooter: function(){\n+            var resize = $.proxy(function(){\n+                this.$main.css('min-height', \n+                    $(window).height() - $('#header').height() - $('#footer').height()\n+                );\n+            }, this);\n+\n+            $(window).load(resize);\n+            $(window).resize(resize);\n+        },\n+\n+        initializeFeed: function(){\n+            if(!this.$main.hasClass('archive')){\n+                return;\n+            }\n+\n+            this.getScripts([\n+                '/assets/js/helper/masonry.pkgd.min.js',\n+                '/assets/js/helper/imagesloaded.pkgd.min.js'\n+            ]).then($.proxy(function(){\n+                this.$main.imagesLoaded($.proxy(this.feed, this));\n+            }, this));\n+        },\n+\n+        feed: function(){\n+            this.$masonry = $('.feed').masonry({\n+                columnWidth: '.post:not(.featured)',\n+                itemSelector: '.post',\n+                gutter: 20\n+            });\n+\n+            $('.post').each(function(){\n+                $(this).css('opacity', '1.0');\n+            });\n+            $('#loadmore').each(function(){\n+                $(this).css('opacity', '1.0');\n+            });\n+        },\n+\n+        initializePostNavigation: function(){\n+            if(!this.$main.hasClass('archive')){\n+                return;\n+            }\n+\n+            // The number of the next page to load (/page/x/).\n+            this.numbers = $('.page-number').text().match(/[-+]?[0-9]*\\.?[0-9]+/g);\n+            this.pageNum = parseInt(this.numbers[0], 10);\n+            // The maximum number of pages the current query can return.\n+            this.max = parseInt(this.numbers[1], 10);\n+            // The link of the next page of posts.\n+            this.nextLink = $('.older-posts').attr('href');\n+            /**\n+             * Replace the traditional navigation with our own,\n+             * but only if there is at least one page of new posts to load.\n+             */\n+            if(this.pageNum < this.max) {\n+                // Insert the 'More Posts' link.\n+                var html = [\n+                    \"<div id='loadmore' style='opacity: 0;'>\",\n+                    \"<a class='btn'>Load more <i class='fa fa-plus-circle'></i></a>\",\n+                    \"</div>\"\n+                ];\n+\n+                $('#feed').append(html.join(''));\n+\n+                // Remove the traditional navigation.\n+                $('.pagination').remove();\n+            } else {\n+                $('.pagination').remove();\n+            }\n+\n+            $('#loadmore a').on('click', $.proxy(this.loadMorePosts, this));\n+        },\n+\n+        loadMorePosts: function(event){\n+            var $masonry = this.$masonry;\n+\n+            event.preventDefault();\n \n-        /**\n-         * Load new posts when the link is clicked.\n-         */\n-        $('#loadmore a').click(function() {\n             // Are there more posts to load?\n-            if(pageNum < max) {\n+            if(this.pageNum < this.max) {\n \n                 // Show that we're working.\n-                $(this).html('<i class=\"fa fa-spinner fa-spin\"></i>');\n+                $(this).html(\"<i class='fa fa-spinner fa-spin'></i>\");\n \n                 // Grab data from next page\n-                $.get(nextLink, function(data){ \n+                $.get(this.nextLink, function(data){ \n                     // Append all posts to #content\n-                    var posts = $(data).find(\".post\");\n+                    var posts = $(data).find('.post');\n                     $.each(posts,function(){\n-                        $(this).css(\"opacity\", 0);\n+                        $(this).css('opacity', 0);\n                     });\n                     $masonry.append(posts);\n                     // Change nextLink to next page\n-                    $(\"#feed\").imagesLoaded(function(){\n-                        pageNum++;\n-                        nextLink = nextLink.substring(0, nextLink.indexOf('page/'));\n-                        nextLink += \"page/\"+(pageNum+1);\n+                    $('#feed').imagesLoaded(function(){\n+                        this.pageNum++;\n+                        this.nextLink = this.nextLink.substring(0, this.nextLink.indexOf('page/'));\n+                        this.nextLink += 'page/'+(this.pageNum+1);\n \n                         // Remove button if last page else move the button to end of #content\n-                        if(pageNum < max) {\n+                        if(this.pageNum < this.max) {\n                             $('#loadmore').insertAfter($('#feed .post:last'));\n-                            $('#loadmore a').html('Load more <i class=\"fa fa-plus-circle\"></i>');\n+                            $('#loadmore a').html(\"Load more <i class='fa fa-plus-circle'></i>\");","path":"assets/js/scripts.js","position":389,"original_position":389,"commit_id":"b7da18d34b7c0612e0e05b48c4076255383720fe","original_commit_id":"b7da18d34b7c0612e0e05b48c4076255383720fe","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.<br>Mixed double and single quotes.","created_at":"2015-09-14T08:51:46Z","updated_at":"2015-09-14T08:51:46Z","html_url":"https://github.com/Reedyn/Saga/pull/77#discussion_r39372105","pull_request_url":"https://api.github.com/repos/Reedyn/Saga/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/Reedyn/Saga/pulls/comments/39372105"},"html":{"href":"https://github.com/Reedyn/Saga/pull/77#discussion_r39372105"},"pull_request":{"href":"https://api.github.com/repos/Reedyn/Saga/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/Reedyn/Saga/pulls/77","id":44904821,"html_url":"https://github.com/Reedyn/Saga/pull/77","diff_url":"https://github.com/Reedyn/Saga/pull/77.diff","patch_url":"https://github.com/Reedyn/Saga/pull/77.patch","issue_url":"https://api.github.com/repos/Reedyn/Saga/issues/77","number":77,"state":"open","locked":false,"title":"rewrote scripts.js in a more modular fashion","user":{"login":"wemakeweb","id":458714,"avatar_url":"https://avatars.githubusercontent.com/u/458714?v=3","gravatar_id":"","url":"https://api.github.com/users/wemakeweb","html_url":"https://github.com/wemakeweb","followers_url":"https://api.github.com/users/wemakeweb/followers","following_url":"https://api.github.com/users/wemakeweb/following{/other_user}","gists_url":"https://api.github.com/users/wemakeweb/gists{/gist_id}","starred_url":"https://api.github.com/users/wemakeweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wemakeweb/subscriptions","organizations_url":"https://api.github.com/users/wemakeweb/orgs","repos_url":"https://api.github.com/users/wemakeweb/repos","events_url":"https://api.github.com/users/wemakeweb/events{/privacy}","received_events_url":"https://api.github.com/users/wemakeweb/received_events","type":"User","site_admin":false},"body":"Pull Request for: https://github.com/Reedyn/Saga/issues/76","created_at":"2015-09-14T08:37:55Z","updated_at":"2015-09-14T08:51:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"820e72cd79b9ac6d149d649b051e305f427c11d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Reedyn/Saga/pulls/77/commits","review_comments_url":"https://api.github.com/repos/Reedyn/Saga/pulls/77/comments","review_comment_url":"https://api.github.com/repos/Reedyn/Saga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Reedyn/Saga/issues/77/comments","statuses_url":"https://api.github.com/repos/Reedyn/Saga/statuses/b7da18d34b7c0612e0e05b48c4076255383720fe","head":{"label":"wemakeweb:master","ref":"master","sha":"b7da18d34b7c0612e0e05b48c4076255383720fe","user":{"login":"wemakeweb","id":458714,"avatar_url":"https://avatars.githubusercontent.com/u/458714?v=3","gravatar_id":"","url":"https://api.github.com/users/wemakeweb","html_url":"https://github.com/wemakeweb","followers_url":"https://api.github.com/users/wemakeweb/followers","following_url":"https://api.github.com/users/wemakeweb/following{/other_user}","gists_url":"https://api.github.com/users/wemakeweb/gists{/gist_id}","starred_url":"https://api.github.com/users/wemakeweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wemakeweb/subscriptions","organizations_url":"https://api.github.com/users/wemakeweb/orgs","repos_url":"https://api.github.com/users/wemakeweb/repos","events_url":"https://api.github.com/users/wemakeweb/events{/privacy}","received_events_url":"https://api.github.com/users/wemakeweb/received_events","type":"User","site_admin":false},"repo":{"id":42334220,"name":"Saga","full_name":"wemakeweb/Saga","owner":{"login":"wemakeweb","id":458714,"avatar_url":"https://avatars.githubusercontent.com/u/458714?v=3","gravatar_id":"","url":"https://api.github.com/users/wemakeweb","html_url":"https://github.com/wemakeweb","followers_url":"https://api.github.com/users/wemakeweb/followers","following_url":"https://api.github.com/users/wemakeweb/following{/other_user}","gists_url":"https://api.github.com/users/wemakeweb/gists{/gist_id}","starred_url":"https://api.github.com/users/wemakeweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wemakeweb/subscriptions","organizations_url":"https://api.github.com/users/wemakeweb/orgs","repos_url":"https://api.github.com/users/wemakeweb/repos","events_url":"https://api.github.com/users/wemakeweb/events{/privacy}","received_events_url":"https://api.github.com/users/wemakeweb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wemakeweb/Saga","description":"Tell your story! A Ghost theme designed for photostories","fork":true,"url":"https://api.github.com/repos/wemakeweb/Saga","forks_url":"https://api.github.com/repos/wemakeweb/Saga/forks","keys_url":"https://api.github.com/repos/wemakeweb/Saga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wemakeweb/Saga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wemakeweb/Saga/teams","hooks_url":"https://api.github.com/repos/wemakeweb/Saga/hooks","issue_events_url":"https://api.github.com/repos/wemakeweb/Saga/issues/events{/number}","events_url":"https://api.github.com/repos/wemakeweb/Saga/events","assignees_url":"https://api.github.com/repos/wemakeweb/Saga/assignees{/user}","branches_url":"https://api.github.com/repos/wemakeweb/Saga/branches{/branch}","tags_url":"https://api.github.com/repos/wemakeweb/Saga/tags","blobs_url":"https://api.github.com/repos/wemakeweb/Saga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wemakeweb/Saga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wemakeweb/Saga/git/refs{/sha}","trees_url":"https://api.github.com/repos/wemakeweb/Saga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wemakeweb/Saga/statuses/{sha}","languages_url":"https://api.github.com/repos/wemakeweb/Saga/languages","stargazers_url":"https://api.github.com/repos/wemakeweb/Saga/stargazers","contributors_url":"https://api.github.com/repos/wemakeweb/Saga/contributors","subscribers_url":"https://api.github.com/repos/wemakeweb/Saga/subscribers","subscription_url":"https://api.github.com/repos/wemakeweb/Saga/subscription","commits_url":"https://api.github.com/repos/wemakeweb/Saga/commits{/sha}","git_commits_url":"https://api.github.com/repos/wemakeweb/Saga/git/commits{/sha}","comments_url":"https://api.github.com/repos/wemakeweb/Saga/comments{/number}","issue_comment_url":"https://api.github.com/repos/wemakeweb/Saga/issues/comments{/number}","contents_url":"https://api.github.com/repos/wemakeweb/Saga/contents/{+path}","compare_url":"https://api.github.com/repos/wemakeweb/Saga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wemakeweb/Saga/merges","archive_url":"https://api.github.com/repos/wemakeweb/Saga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wemakeweb/Saga/downloads","issues_url":"https://api.github.com/repos/wemakeweb/Saga/issues{/number}","pulls_url":"https://api.github.com/repos/wemakeweb/Saga/pulls{/number}","milestones_url":"https://api.github.com/repos/wemakeweb/Saga/milestones{/number}","notifications_url":"https://api.github.com/repos/wemakeweb/Saga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wemakeweb/Saga/labels{/name}","releases_url":"https://api.github.com/repos/wemakeweb/Saga/releases{/id}","created_at":"2015-09-11T22:00:10Z","updated_at":"2015-09-11T22:00:10Z","pushed_at":"2015-09-14T08:51:43Z","git_url":"git://github.com/wemakeweb/Saga.git","ssh_url":"git@github.com:wemakeweb/Saga.git","clone_url":"https://github.com/wemakeweb/Saga.git","svn_url":"https://github.com/wemakeweb/Saga","homepage":"http://saga.gustavlindqvist.se","size":2735,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Reedyn:master","ref":"master","sha":"c60f047a43da63dd3df8375cb0ed609cedf39be3","user":{"login":"Reedyn","id":947063,"avatar_url":"https://avatars.githubusercontent.com/u/947063?v=3","gravatar_id":"","url":"https://api.github.com/users/Reedyn","html_url":"https://github.com/Reedyn","followers_url":"https://api.github.com/users/Reedyn/followers","following_url":"https://api.github.com/users/Reedyn/following{/other_user}","gists_url":"https://api.github.com/users/Reedyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Reedyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reedyn/subscriptions","organizations_url":"https://api.github.com/users/Reedyn/orgs","repos_url":"https://api.github.com/users/Reedyn/repos","events_url":"https://api.github.com/users/Reedyn/events{/privacy}","received_events_url":"https://api.github.com/users/Reedyn/received_events","type":"User","site_admin":false},"repo":{"id":22476671,"name":"Saga","full_name":"Reedyn/Saga","owner":{"login":"Reedyn","id":947063,"avatar_url":"https://avatars.githubusercontent.com/u/947063?v=3","gravatar_id":"","url":"https://api.github.com/users/Reedyn","html_url":"https://github.com/Reedyn","followers_url":"https://api.github.com/users/Reedyn/followers","following_url":"https://api.github.com/users/Reedyn/following{/other_user}","gists_url":"https://api.github.com/users/Reedyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Reedyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reedyn/subscriptions","organizations_url":"https://api.github.com/users/Reedyn/orgs","repos_url":"https://api.github.com/users/Reedyn/repos","events_url":"https://api.github.com/users/Reedyn/events{/privacy}","received_events_url":"https://api.github.com/users/Reedyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Reedyn/Saga","description":"Tell your story! A Ghost theme designed for photostories","fork":false,"url":"https://api.github.com/repos/Reedyn/Saga","forks_url":"https://api.github.com/repos/Reedyn/Saga/forks","keys_url":"https://api.github.com/repos/Reedyn/Saga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Reedyn/Saga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Reedyn/Saga/teams","hooks_url":"https://api.github.com/repos/Reedyn/Saga/hooks","issue_events_url":"https://api.github.com/repos/Reedyn/Saga/issues/events{/number}","events_url":"https://api.github.com/repos/Reedyn/Saga/events","assignees_url":"https://api.github.com/repos/Reedyn/Saga/assignees{/user}","branches_url":"https://api.github.com/repos/Reedyn/Saga/branches{/branch}","tags_url":"https://api.github.com/repos/Reedyn/Saga/tags","blobs_url":"https://api.github.com/repos/Reedyn/Saga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Reedyn/Saga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Reedyn/Saga/git/refs{/sha}","trees_url":"https://api.github.com/repos/Reedyn/Saga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Reedyn/Saga/statuses/{sha}","languages_url":"https://api.github.com/repos/Reedyn/Saga/languages","stargazers_url":"https://api.github.com/repos/Reedyn/Saga/stargazers","contributors_url":"https://api.github.com/repos/Reedyn/Saga/contributors","subscribers_url":"https://api.github.com/repos/Reedyn/Saga/subscribers","subscription_url":"https://api.github.com/repos/Reedyn/Saga/subscription","commits_url":"https://api.github.com/repos/Reedyn/Saga/commits{/sha}","git_commits_url":"https://api.github.com/repos/Reedyn/Saga/git/commits{/sha}","comments_url":"https://api.github.com/repos/Reedyn/Saga/comments{/number}","issue_comment_url":"https://api.github.com/repos/Reedyn/Saga/issues/comments{/number}","contents_url":"https://api.github.com/repos/Reedyn/Saga/contents/{+path}","compare_url":"https://api.github.com/repos/Reedyn/Saga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Reedyn/Saga/merges","archive_url":"https://api.github.com/repos/Reedyn/Saga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Reedyn/Saga/downloads","issues_url":"https://api.github.com/repos/Reedyn/Saga/issues{/number}","pulls_url":"https://api.github.com/repos/Reedyn/Saga/pulls{/number}","milestones_url":"https://api.github.com/repos/Reedyn/Saga/milestones{/number}","notifications_url":"https://api.github.com/repos/Reedyn/Saga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Reedyn/Saga/labels{/name}","releases_url":"https://api.github.com/repos/Reedyn/Saga/releases{/id}","created_at":"2014-07-31T16:34:28Z","updated_at":"2015-09-12T19:09:35Z","pushed_at":"2015-09-14T08:51:43Z","git_url":"git://github.com/Reedyn/Saga.git","ssh_url":"git@github.com:Reedyn/Saga.git","clone_url":"https://github.com/Reedyn/Saga.git","svn_url":"https://github.com/Reedyn/Saga","homepage":"http://saga.gustavlindqvist.se","size":3076,"stargazers_count":96,"watchers_count":96,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":28,"forks":41,"open_issues":28,"watchers":96,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Reedyn/Saga/pulls/77"},"html":{"href":"https://github.com/Reedyn/Saga/pull/77"},"issue":{"href":"https://api.github.com/repos/Reedyn/Saga/issues/77"},"comments":{"href":"https://api.github.com/repos/Reedyn/Saga/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/Reedyn/Saga/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/Reedyn/Saga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Reedyn/Saga/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/Reedyn/Saga/statuses/b7da18d34b7c0612e0e05b48c4076255383720fe"}}}}