Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

DOM-shim

Massive refactor in progress: See dev

Status: alpha

About

Normalizing the DOM across all modern browsers.

the DOM-shim provides compatibility shims so that modern browsers behave as closely to DOM4 as possible.

Tested browsers (all pass currently)

  • Firefox
  • Chrome
  • Saf 5.1
  • Opera 11.52
  • IE9

The DOM-shim.js works on those browsers

The Dom-shim-ie8.js works on IE8 and is tested on IE8.

Some features

Use .addEventListener, .contains, .textContent, etc. today.

Bonus:

var c = new CustomEvent("magic");
el.addEventListener("magic", function (ev) {
  console.log("custom events oh so easy");
});
el.dispatchEvent(c);

Related blog posts:

MIT Licenced

About

Shims out the entire DOM4 API

Resources

Packages

No packages published
You can’t perform that action at this time.