=== title: Overview subtitle: Black —at a glance— created: 2011-07-17 11:51:46 index: 1 === §§ blurb Black Provides functionality missing from the core JavaScript library, for the basic object types, mostly pure and functional style. §§ /blurb ~~~js~~~ function text(elm) { return elm.textContent } function selectedp(elm){ return elm.hasAttribute('selectedp') } function display(text) { document.body.innerHTML += "
" + text } var links = document.querySelectorAll('a.link') // functional style black.unpack_all(['utils', 'generic']) each( map( filter(links, selectedp) , text ) , display ) // object-oriented style black.unpack_all(['own']) to_array(links).filter(selectedp) .map(text) .each(display) ~~~~~~~~ You can grab the [lastest release][], or clone the entire [Github repository][]: ~~~bash~~~ $ git clone git://github.com/killdream/black.git ~~~~~~~~~~ ## Why Use It ※ overview/why.html as why {{ why.blurb }} » [Other reasons to use Black](overview/why.html) ## Supported platforms ※ overview/supported.html as supported {{ supported.blurb }} » [Details on platform support](overview/supported.html) ## Installing ※ overview/installing.html as installing {{ installing.blurb }} » [Details on how to install black](overview/installing.html) ## Getting support Black uses the [Github tracker][] for tracking bugs and new features. For any other stuff, you can probably nudge me on [@notSorella][] ## Development [contributing][] | [style guide][] | [licence][] [licence]: licence.html [style guide]: dev/style-guide.html [contributing]: dev/contributing.html [lastest release]: {{ project.release }} [Github repository]: {{ project.repository }} [Github tracker]: {{ project.tracker }} [@notSorella]: http://twitter.com/notSorella