/
githubmirror
/
angular.js
Обзор
Документация
Войти
/
githubmirror
/
angular.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/config/templates/ngdoc/lib/deprecated.html
9 строк
492 B
Peter Bacon Darwin
chore(docs): deprecation notices for methods and properties
18 ноя 2016, 16:51
18 ноя 2016, 16:51
f56926a
Код
Авторство
О чём код?
{% macro deprecatedBlock(doc) %}{% if doc.deprecated %} <div class="alert alert-danger deprecation"> <div class="title"><strong>Deprecated:</strong> {% if doc.deprecated.sinceVersion %}<span class="since">(since {$ doc.deprecated.sinceVersion $}) </span>{% endif %} {% if doc.deprecated.removeVersion %}<span class="remove">(to be removed in {$ doc.deprecated.removeVersion $}) </span>{% endif %} </div> {$ doc.deprecated.description | marked $} </div> {% endif %}{% endmacro %}