parse-srcset

WebJar for parse-srcset

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

parse-srcset
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

parse-srcset
WebJar for parse-srcset
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/albell/parse-srcset

Download parse-srcset

How to add to project

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

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.

parse-srcset

A javascript parser for the HTML5 srcset attribute, based on the WHATWG reference algorithm. It has an extensive test suite based on the W3C srcset conformance checker. It conforms to the jQuery JSCS style rules.

Tests are written using Intern-geezer for compatibility.

To run the tests in console:

$ npm test

Or in a browser, just open the html file at:

node_modules/intern-geezer/client.html?config=tests/intern

I’m on twitter @tweetywheaty.

Versions

Version
1.0.2