Rename addAnchorPoint to createAnchorPoint

This commit is contained in:
Nathan Sobo
2013-01-30 13:57:39 -07:00
parent f3029f9ead
commit bcd9d5d2b9
2 changed files with 6 additions and 6 deletions

View File

@@ -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)