Displaying 1 to 20 from 283 results

es6-promise - A polyfill for ES6-style Promises

  •    Javascript

A lightweight library that provides tools for organizing asynchronous code





promise-fun - Promise packages, patterns, chat, and tutorials

  •    

I intend to use this space to document my promise modules, useful promise patterns, and how to solve common problems. For now though, you can see all my promise modules below.Star this repo to show your interest, so I can know whether to prioritize this work.

smoothscroll - Scroll Behavior polyfill

  •    HTML

The Scroll Behavior specification has been introduced as an extension of the Window interface to allow for the developer to opt in to native smooth scrolling. To date this has only been implemented in Firefox. Download the distribution file from this repository and include it in your project.

jQuery-contextMenu - jQuery contextMenu plugin & polyfill

  •    HTML

$.contextMenu is a management facility for - you guessed it - context menus. It was designed for an application where there are hundreds of elements that may show a context menu - so intialization speed and memory usage are kept fairly small. It also allows to register context menus without providing actual markup, as $.contextMenu generates DOMElements as needed.have a look at the demos.

classList.js - Cross-browser element.classList

  •    Javascript

classList.js is a cross-browser JavaScript shim that fully implements element.classList. Refer to the MDN page on element.classList for more information.This works in every browser except IE 7 or earlier.

IndexedDBShim - A polyfill for IndexedDB using WebSql

  •    Javascript

Important note to those upgrading from version 2: Besides some backward-breaking (though standard-compliant) behavioral fixes (see CHANGES), there are changes coming in version 3 which will also unfortunately cause data stored under version 2 to break. We are not able to provide you with an automated upgrade path, so you will need to either stick with version 2 or migrate users' data yourself to the new SQL storage format (whose changes are considerable; CHANGES also lists these breaking database format changes). We have attempted to anticipate future changes so that for another upgrade, even a major one, old data will hopefully continue to work. However, to be safe, if you are using npm, be sure to specify semver targets in your dependencies properly so as to avoid allowing for automated upgrades to the next major version in case another future upgrade may also need to introduce breaking changes to the data format, thereby breaking old data. Use a single, indexable, offline storage API across all desktop and mobile browsers and Node.js.

document-register-element - A stand-alone working lightweight version of the W3C Custom Elements specification

  •    Javascript

A stand-alone lightweight version of Custom Elements V1 based on top, and compatible with, the battle-tested Custom Elements V0, already used in production with projects such Google AMP HTML ⚡ and others. If you specify noBuiltIn property as true, the V1 API will be polyfilled where needed, but no extra checks and patches will be applied to make custom elements built-in working, since no browser is currently shipping this part of the specification.

background-size-polyfill - Adds support for background-size "cover" and "contain" to IE8

  •    Javascript

An IE behavior adding support for background-size to IE8. Progressive Enhancement is the mantra I live by. It means "Have fun with CSS3 and don't worry about IE8 users; they'll never notice they're missing out on your gorgeous text-shadows and gradients, anyway".

marky - High-resolution JavaScript timer based on performance.mark/measure (461 bytes min+gz)

  •    Javascript

JavaScript timer based on performance.mark() and performance.measure(), providing high-resolution timings as well as nice Dev Tools visualizations. For browsers that don't support performance.mark(), it falls back to performance.now() or Date.now(). In Node, it uses process.hrtime().

visibilityjs - Wrapper for the Page Visibility API

  •    CoffeeScript

Visibility.js is a wrapper for the Page Visibility API. It hides vendor prefixes and adds high level functions. Page Visibility API allows you to determine whether your web page is either visible to a user or hidden in background tab or prerendering. It allows you to use the page visibility state in JavaScript logic and improve browser performance by disabling unnecessary timers and AJAX requests, or improve user interface experience (for example, by stopping video playback or slideshow when user switches to another browser tab).