requirejs-fingerprint

WebJar for requirejs-fingerprint

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

requirejs-fingerprint
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

requirejs-fingerprint
WebJar for requirejs-fingerprint
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/meinaart/requirejs-fingerprint

Download requirejs-fingerprint

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

RequireJS fingerprint plugin

This is a simple fingerprint plugin for RequireJS

For more plugins check RequireJS Wiki.

Install

You can use bower to install it easily:

bower install --save requirejs-fingerprint

Documentation

check the examples folder. All the info you probably need will be inside comments or on the example code itself.

Basic usage

Put the plugins inside the baseUrl folder (usually same folder as the main.js file) or create an alias to the plugin location:

require.config({
    paths : {
        //create alias to plugins (not needed if plugins are on the baseUrl)
        fingerprint: 'lib/require/fingerprint',
    },
    config: {
      'fingerprint': 'build.1.2.3'
    }
  }
});

Writing your own plugins

Check RequireJS documentation for a basic reference and use other plugins as reference. RequireJS official plugins are a good source for learning.

Also be sure to check RequireJS Wiki.

Author

Meinaart van Straalen

License

This plugin is released under the MIT license.

Versions

Version
1.0.4