Skip to content

toutpt/collective.js.webshims

Repository files navigation

Introduction

This addon register webshims to Plone resource registry.

version: 1.9.7

About webshims

Webshims Lib is a modular capability-based polyfill-loading library, which focuses on accurate implementations of stable HTML5 features, so that developers can write modern, interoperable and robust code in all browsers.

It is built on top of jQuery and Modernizr.

List of features:

  • json-storage
  • es5
  • geolocation
  • canvas
  • forms
  • forms-ext
  • mediaelement
  • track
  • details

How to install

This addon can be installed has any other addons. please follow official documentation

Dependencies

  • collective.js.jqueryui
  • plone.app.jquery
  • plone.app.modernizr [github]

Custom Modernizr build

Webshims lib does not need every Modernizr test and supports creating a custom Modernizr build.

Webshims lib uses requireJS as a script loader, if this is included, if not it uses Modernizr.load/yepnope.

This addon override plone.app.modernizr.custom.js resource using this one. If you have conflict with an other addon which does the same, you can use @@plone.app.modernizr.download view to build a new one with all requested features.

How to upgrade

Download last tag zip from https://github.com/aFarkas/webshim

unzip and copy all resources of 'demos/js-webshim/minified' in 'collective.js.webshims/collective/js/webshims/resources/js'

Credits

Companies

People

About

Add webshims (HTML5 polyfills) to Plone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published