Midori JavaScript Framework


midori is an ultra-lightweight JavaScript library that aims to make JavaScript web development easier. It was created by Aycan Gulez and hasn't been updated since June 2010.

Features

midori consists of 10 modules and is available as a single JavaScript file. It can be included within any web page by using the following markup:



midori allows the use of standard CSS syntax to access DOM elements, and supports most CSS2 and CSS3 selectors. There are three ways to work on returned DOM elements.

// Sets the background color of all the cells in even rows to "yellow" in the "cities" table
midori.get.apply;


// Marks the cells whose values are 12 or bigger in the "cities" table
midori.get.apply;


// Returns the first div element
var firstDiv = midori.get;