In documentation strings ,s/Integer/Number/g

This commit is contained in:
Nathan Sobo
2013-04-23 16:30:15 -06:00
parent c51db80d6e
commit 1d6c2cdf27
2 changed files with 4 additions and 4 deletions

View File

@@ -90,10 +90,10 @@ class DisplayBuffer
# Public: Given starting and ending screen rows, this returns an array of the
# buffer rows corresponding to every screen row in the range
#
# startRow - The screen row {Integer} to start at
# endRow - The screen row {Integer} to end at (default: {.lastScreenRow})
# startRow - The screen row {Number} to start at
# endRow - The screen row {Number} to end at (default: {.lastScreenRow})
#
# Returns an {Array} of buffer rows as {Integers}s.
# Returns an {Array} of buffer rows as {Numbers}s.
bufferRowsForScreenRows: (startRow, endRow) ->
@lineMap.bufferRowsForScreenRows(startRow, endRow)

View File

@@ -48,7 +48,7 @@ class LineMap
# Public: Given starting and ending screen rows, this returns an array of the
# buffer rows corresponding to every screen row in the range
#
# startRow - The screen row {Integer} to start at
# startRow - The screen row {Number} to start at
# endRow - The screen row {Integer} to end at (default: {.lastScreenRow})
#
# Returns an {Array} of buffer rows as {Integers}s.