angular-ui/ui-grid

Remove 'replace' from directives

Open

#4,024 创建于 2015年7月21日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (5,395 star) (2,496 fork)batch import
good first issueneeds: decisiontype: enhancement

描述

Two major reasons:

  • It is deprecated and will be removed in Angular 2.0 https://docs.angularjs.org/api/ng/service/$compile
  • It creates more problems than it is worth.
    • For example: If you try to create a stacked directive and start adding classes to an element they end up getting removed because the dom element gets removed.

贡献者指南

Remove 'replace' from directives · angular-ui/ui-grid#4024 | Good First Issue