Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 459 Bytes

browserify.md

File metadata and controls

10 lines (8 loc) · 459 Bytes

browserify and webpack

If you want to use the prolyfill with browserify or webpack you can do so by requireing the module as usual. The configuration can be passed into the required function and the API gets returned:

var cq = require('cq-prolyfill')({ /* configuration */ });
cq.reevaluate(false, function() {
	// Do something after all elements were updated
});