Skip to content
/ saucy Public

A tiny javascript library similar to jQuery

Notifications You must be signed in to change notification settings

gsigler/saucy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saucy

Saucy is a JavaScript library to manipulate the DOM.

It uses expressive language to make your code more readable.

Before Saucy

document.getElementById('id').style.color = "green";
document.getElementById('id').addEventListener("click",foo);

After Saucy

select('#id').set('color').to("green");
select('#id').attach('click').to(foo);

select('#id')
  .set('color').to("green")
  .set('width').to("100px")
  .set('height').to("100px")
  .attach('click').to(foo);

About

A tiny javascript library similar to jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published