new textmate whitespace killa

This commit is contained in:
rick
2011-01-03 15:52:27 -08:00
parent f7b7d0d965
commit 21332010ab
+6 -6
View File
@@ -66,7 +66,7 @@ module Gollum
@blob && @blob.name
end
# Public: The canonical page name without extension, and dashes converted
# Public: The canonical page name without extension, and dashes converted
# to spaces.
#
# Returns the String name.
@@ -179,7 +179,7 @@ module Gollum
# options - The options Hash:
# :page - The Integer page number (default: 1).
# :per_page - The Integer max count of items to return.
# :follow - Follow's a file across renames, but falls back
# :follow - Follow's a file across renames, but falls back
# to a slower Grit native call. (default: false)
#
# Returns an Array of Grit::Commit.
@@ -209,7 +209,7 @@ module Gollum
@sidebar ||= find_sub_page(:sidebar)
end
# Gets a Boolean determining whether this page is a historical version.
# Gets a Boolean determining whether this page is a historical version.
# Historical pages are pulled using exact SHA hashes and format all links
# with rel="nofollow"
#
@@ -284,7 +284,7 @@ module Gollum
def find(name, version)
map = @wiki.tree_map_for(version.to_s)
if page = find_page_in_tree(map, name)
page.version = version.is_a?(Grit::Commit) ?
page.version = version.is_a?(Grit::Commit) ?
version : @wiki.commit_for(version)
page.historical = page.version.to_s == version.to_s
page
@@ -297,7 +297,7 @@ module Gollum
# map - The Array tree map from Wiki#tree_map.
# name - The canonical String page name.
# checked_dir - Optional String of the directory a matching page needs
# to be in. The string should
# to be in. The string should
#
# Returns a Gollum::Page or nil if the page could not be found.
def find_page_in_tree(map, name, checked_dir = nil)
@@ -356,7 +356,7 @@ module Gollum
end
end
# Loads a sub page. Sub page nanes (footers) are prefixed with
# Loads a sub page. Sub page nanes (footers) are prefixed with
# an underscore to distinguish them from other Pages.
#
# name - String page name.