Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Wishlist

jed edited this page May 26, 2011 · 31 revisions

Wishlist

This is a list of useful things that should be implementable in 140 bytes. Help out and try your hand at one!

DOM builder

A function that turns a non-nested (fab)-style micro-DSL such as the following into a DOM, without using HTML.

domBuilder(
  [/HTML/],
    [/HEAD/],
      [/TITLE/],
        "Wouldn't this be cool?",
      [],
    [],
    [/BODY/],
      [/DIV/, {id: "container"}],
        "Hello, world",
      [],
    [],
  []
)

Cross-browser base64 encoder and decoder (140 bytes each)

Encode: a function that takes the string input and map string ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/, return the base64 encoding. Bonus points for proper "=" padding. [UPDATE] Much progress has been made here, but it's still not cross-browser due to lack of executable RegExps in IE. Your golf help is needed!

Decode: the reverse of the above.

A hash location history plugin

A rounded-corner polyfill

Parallel, serial, map, and other async helper functions

Animated loading bar/spinner

Clone this wiki locally