Page MenuHomePhabricator

VisualEditor: Pass reference to data element to DM node constructor
Closed, ResolvedPublic

Description

Post-December cleanup:

Rather than passing the type, length, attributes and (soon) annotations into the dm.Node constructors separately, we should just pass a reference to the data element. This will make a lot of things cleaner, and make the constructors more consistent between node types.


Version: unspecified
Severity: normal

Details

Reference
bz42400