Top "Shim" questions

A shim is code which intercepts an API method call and provides a layer of abstraction to facilitate cross-platform development

What is the meaning of polyfills in HTML5?

What is the meaning of polyfills in HTML5? I saw this word in many sites about HTML5, e.g. HTML5…

javascript html fallback polyfills shim
Bootstrap - Uncaught TypeError: Cannot read property 'fn' of undefined

I'm using jquery, backbonejs, underscorejs and bootstrap for my company project. Sometimes I got this error in chrome. Uncaught TypeError: …

jquery backbone.js underscore.js twitter-bootstrap-3 shim
What is the difference between a shim and a polyfill?

Both seem to be used in web development circles, see e.g. HTML5 Cross Browser Polyfills, which says: So here …

terminology naming vocabulary polyfills shim
Requirejs why and when to use shim config

I read the requirejs document from here API requirejs.config({ shim: { 'backbone': { //These script dependencies should be loaded before loading //…

javascript requirejs amd shim es5-shim
How to shim tinymce in webpack?

I'm trying to get tinymce recognized by webpack. It sets a property named tinymce on window, so evidently one option …

javascript node.js tinymce webpack shim
Loading jQuery, Underscore and Backbone using RequireJS 2.0.1 and shim

I am experimenting a little bit with RequireJS 2.0.1. My goal is to load correctly jQuery, Underscore and Backbone. From the …

javascript requirejs shim
iframe shimming or ie6 (and below) select z-index bug

Uhm I'm not sure if anyone has encountered this problem a brief description is on IE6 any <select> …

javascript internet-explorer-6 shim
Require.JS shim config global scope?

I have following setup for requireJS. requirejs.config({ paths: { 'resources' : '/Scripts/resources' }, shim: { 'resources': { exports: 'LocalizedStrings' } } }); And my resources.…

requirejs shim
Shim a jQuery plugin with browserify

Hi I'm using the grunt browserify task to setup my code, I have shimmed in jQuery and I'm now trying …

javascript jquery gruntjs browserify shim