You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

beautify_ms.html 806 B

2 years ago
12345678910111213141516171819202122232425262728293031323334
  1. {% assign inputL = include.ms %}
  2. {% assign second = 1000 %}
  3. {% assign minute = second | times: 60 %}
  4. {% assign hour = minute | times: 60 %}
  5. {% assign hours = inputL | divided_by: hour | round %}
  6. {% assign hoursL = inputL | modulo: hour %}
  7. {% assign mins = hoursL | divided_by: minute | round %}
  8. {% assign minsL = hoursL | modulo: minute %}
  9. {% assign secs = minsL | divided_by: second | round %}
  10. {% assign secsL = minsL | modulo: second %}
  11. {% assign mills = secsL | round %}
  12. {% if hours != 0 %}
  13. {{hours}} hour{% if hours > 1 %}s{% endif %}
  14. {% endif %}
  15. {% if mins != 0 %}
  16. {{mins}} minute{% if mins > 1 %}s{% endif %}
  17. {% endif %}
  18. {% if secs != 0 %}
  19. {{secs}} second{% if secs > 1 %}s{% endif %}
  20. {% endif %}
  21. {% if mins == 0 %}
  22. {% if mills != 0 %}
  23. {{mills}}ms
  24. {% endif %}
  25. {% endif %}

js yarn包管理组件依赖分析

Contributors (1)