mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Rename addAnchorPoint to createAnchorPoint
This commit is contained in:
@@ -275,7 +275,7 @@ class Buffer
|
||||
getAnchorPoints: ->
|
||||
_.values(@validAnchorPointsById)
|
||||
|
||||
addAnchorPoint: (position, options) ->
|
||||
createAnchorPoint: (position, options) ->
|
||||
id = @nextAnchorPointId++
|
||||
params = _.extend({buffer: this, id, position}, options)
|
||||
@validAnchorPointsById[id] = new AnchorPoint(params)
|
||||
|
||||
Reference in New Issue
Block a user