mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
get validaiton objects on context
ref #remote-presets
This commit is contained in:
@@ -38,11 +38,11 @@ export function uiEntityEditor(context) {
|
||||
var rawTagEditor = uiRawTagEditor(context)
|
||||
.on('change', changeTags);
|
||||
|
||||
|
||||
function entityEditor(selection) {
|
||||
var entity = context.entity(_entityID);
|
||||
var tags = _clone(entity.tags);
|
||||
|
||||
console.log(context.validationRules());
|
||||
// Header
|
||||
var header = selection.selectAll('.header')
|
||||
.data([0]);
|
||||
|
||||
Reference in New Issue
Block a user