Fix drawing, leaking globals

This commit is contained in:
Ansis Brammanis
2013-02-05 00:41:07 -05:00
parent 4fed3e5dac
commit 915bcf7826
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ iD.modes.AddArea = function(context) {
var behavior = iD.behavior.AddWay(context)
.on('start', start)
.on('startFromWay', startFromWay)
.on('startFromNode', startFromNode)
.on('startFromNode', startFromNode),
defaultTags = {area: 'yes'};
function start(loc) {

View File

@@ -10,7 +10,7 @@ iD.modes.AddLine = function(context) {
var behavior = iD.behavior.AddWay(context)
.on('start', start)
.on('startFromWay', startFromWay)
.on('startFromNode', startFromNode)
.on('startFromNode', startFromNode),
defaultTags = {highway: 'residential'};
function start(loc) {