mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Shim rowsPerPage property on Editor instances
Several packages were relying on a raw property rather than the getter method. This isn't really supported, but may as well keep them working.
This commit is contained in:
@@ -3527,6 +3527,10 @@ class TextEditor extends Model
|
||||
else
|
||||
1
|
||||
|
||||
Object.defineProperty(@prototype, 'rowsPerPage', {
|
||||
get: -> @getRowsPerPage()
|
||||
})
|
||||
|
||||
###
|
||||
Section: Config
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user