A shim repositoy for modernizr as contao component.

Package info

github.com/heimrichhannot-contao-components/modernizr

Type:contao-component

pkg:composer/heimrichhannot-contao-components/modernizr

Statistics

Installs: 1 022

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2019-06-11 08:37 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT cc51db05fe934bc091fd831b2719991f58829885

javascriptcontaomodernizrshimcontao-component

This package is not auto-updated.

Last update: 2026-06-20 17:17:37 UTC


README

A shim repositoy for Modernizr as contao component.

Please see modernizr-config.json for included features and options for this modernizr build.

Install

composer require heimrichhannot-contao-components/modernizr

Usage

Add following line to your config.php:

// Contao 4:
// src/Ressources/contao/config/config.php
$GLOBALS['TL_JAVASCRIPT']['modernizr'] = 'assets/modernizr/dist/modernizr-custom.js|static';

// Contao 3:
// config/config.php
$GLOBALS['TL_JAVASCRIPT']['modernizr'] = 'assets/components/modernizr/dist/modernizr-custom.js|static';

Internal

Download-Url for updating builds while keeping the config.