Merge pull request #1910 from pborreli/typos

This commit is contained in:
Matt Rogers 2014-01-04 08:12:20 -08:00
commit 883e16acde
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ module Jekyll
if options['detach'] # detach the server if options['detach'] # detach the server
pid = Process.fork { s.start } pid = Process.fork { s.start }
Process.detach(pid) Process.detach(pid)
Jekyll.logger.info "Server detatched with pid '#{pid}'.", "Run `kill -9 #{pid}' to stop the server." Jekyll.logger.info "Server detached with pid '#{pid}'.", "Run `kill -9 #{pid}' to stop the server."
else # create a new server thread, then join it with current terminal else # create a new server thread, then join it with current terminal
t = Thread.new { s.start } t = Thread.new { s.start }
trap("INT") { s.shutdown } trap("INT") { s.shutdown }

View File

@ -21,7 +21,7 @@ module Jekyll
self.content || '' self.content || ''
end end
# Returns merged optin hash for File.read of self.site (if exists) # Returns merged option hash for File.read of self.site (if exists)
# and a given param # and a given param
def merged_file_read_opts(opts) def merged_file_read_opts(opts)
(self.site ? self.site.file_read_opts : {}).merge(opts) (self.site ? self.site.file_read_opts : {}).merge(opts)

View File

@ -124,7 +124,7 @@ module Jekyll
input.split.length input.split.length
end end
# Join an array of things into a string by separating with commes and the # Join an array of things into a string by separating with commas and the
# word "and" for the last one. # word "and" for the last one.
# #
# array - The Array of Strings to join. # array - The Array of Strings to join.