crupu

WebJar for crupu

Лицензия

Лицензия

Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

crupu
Последняя версия

Последняя версия

0.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

crupu
WebJar for crupu
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/demaniak/crupu

Скачать crupu

Имя Файла Размер
crupu-0.0.3.pom
crupu-0.0.3.jar 8 KB
crupu-0.0.3-sources.jar 22 bytes
crupu-0.0.3-javadoc.jar 22 bytes
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/crupu/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>crupu</artifactId>
    <version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/crupu/
implementation 'org.webjars.bower:crupu:0.0.3'
// https://jarcasting.com/artifacts/org.webjars.bower/crupu/
implementation ("org.webjars.bower:crupu:0.0.3")
'org.webjars.bower:crupu:jar:0.0.3'
<dependency org="org.webjars.bower" name="crupu" rev="0.0.3">
  <artifact name="crupu" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='crupu', version='0.0.3')
)
libraryDependencies += "org.webjars.bower" % "crupu" % "0.0.3"
[org.webjars.bower/crupu "0.0.3"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

CopyRight UPdate Util (crupu)

A simple, zero dependency component that will keep a simple copyright notice up to date (current year).

Features

Keeps a simple copyright notice up to date.

For example, it can make sure that the year part of "Copyright © Awesome Company 2016" will always be the current year.

Zero runtime dependencies

Because this is such a simple component, it has no other dependencies.

How

Install

Bower

Install the component with Bower: - bower install crupu --save

Webjar

Add the WebJar dependency to your pom.xml file:

<dependency>
	<groupId>org.webjars.bower</groupId>
	<artifactId>crupu</artifactId>
	<version>0.0.3</version>
</dependency>

Nuget

TODO

Include

Bower

<script src="bower_components/crupu/src/crupu.js"></script>

Webjar

Include in your view with an appropriately sourced script tag.

For example, using ThymeLeaf:

<script th:src="@{/webjars/crupu/0.0.3/src/crupu.js}"></script>

Nuget

TODO

Direct Link

TODO

Use crupu-* classes

Mark the elements you want to keep up to date with the right css classes:

  • crupu-pre : the preamble, in other words "Copyright ©"
  • crupu-year: the full year, for example 2016

Please take a look at sample.html for examples.

But, in short:

Copyright &amp; Awesome Factory x100 <span class="crupu-year">this will be replaced</span>

FAQ

The name is terrible! Don't you want to change it?

Yes, it is horrible.

No, I'm not changing it.

Naming things are hard enough without 2nd guessing and constantly angsting about it.

Ok, forget about the name - why JavaScript?

Because everybody knows javascript. It is probably the only REAL, PRACTICAL cross platform language around today.

It allows me to provide the same functionality to Java, .Net and whatever else you want to use in your backend.

BTW: I still dislike JavaScript. Just saying.

License

Apache License Version 2.0

Версии библиотеки

Версия
0.0.3