angular-ui/ui-grid

Remove 'replace' from directives

Open

#4024 aperta il 21 lug 2015

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issueneeds: decisiontype: enhancement

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor