Merge branch 'master' into manage-space-for-FF

This commit is contained in:
Ephemera 2014-06-08 22:39:27 +09:00
commit 0375f06c54
3 changed files with 4 additions and 3 deletions

View File

@ -101,7 +101,7 @@ GitHub.prototype.fetchData = function(opts, cb) {
// split work in chunks to prevent blocking UI on large repos
nextChunk(0)
function nextChunk(iteration) {
var chunkSize = 500
var chunkSize = 300
, baseIndex = iteration * chunkSize
, i
, item, path, type, index, name, moduleUrl

View File

@ -3,7 +3,7 @@ html, .header > .container, .repohead > .container, .site > .container {
}
.octotree_sidebar {
position: fixed;
position: fixed !important;
padding-top: 41px;
overflow: visible;
top: 0;

View File

@ -3,12 +3,13 @@ const
INI_SECTION = /^\s*\[\s*([^\]]*)\s*\]\s*$/
, INI_COMMENT = /^\s*;.*$/
, INI_PARAM = /^\s*([\w\.\-\_]+)\s*=\s*(.*?)\s*$/
, SEPARATOR = /\r\n|\r|\n/
function parseGitmodules(data, cb) {
if (!data) return cb()
var submodules = {}
, lines = data.split(/\r\n|\r|\n/)
, lines = data.split(SEPARATOR)
, lastPath
lines.forEach(function(line) {