mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
648c514c28
Add utility methods to convert `render.dom.DirectiveMetadata` to and from maps. This will allow saving and restoring `DirectiveMetadata` in the Angular 2 Transformer. We discussed adding this as a member on `DirectiveMetadata`. Since this is not necessary for anything except the Transformer, we decided to put it into a separate file to avoid shipping it with the Angular 2 core code.