Skip to content

Latest commit

 

History

History
executable file
·
38 lines (24 loc) · 1.06 KB

README.md

File metadata and controls

executable file
·
38 lines (24 loc) · 1.06 KB

A modern cross-platform JavaScript library & only 18 bytes

Examples

Click event

  $.getElementById("demo1").addEventListener('click', function(){
    alert('click');
  });

Document width and height

  console.log("Height: "+$.body.clientHeight);
  console.log("Width: "+$.body.clientWidth);

More examples and documentation can be found here.

FAQ

Hey bro, are you serious?

Sure... I built diy.js because I wanted the flexibility to do anything I liked but without the expensive weight of other JavaScript libraries.

How long did diy.js take to develop?

I've been developing diy.js for three years, about nine months of this was ensuring that diy.js was fully browser tested.

Where can I get the source code for diy.js?

It's right here - have fun.

How can I contact you?

I'm on Twitter, Github or email me at [email protected]