Thursday, December 24th, 2009
Closure Lite
Michael Bolin formerly of Google has created Closure Lite as a way to let developers get their feet wet in the Closure library without having to go into the compiler and the like (but they should do that eventually!).
Closure Lite itself consists of the following subset of APIs:
- goog.array
- goog.Disposable
- goog.dispose
- goog.dom
- goog.dom.DomHelper
- goog.events.NodeType
- goog.dom.TagName
- goog.dom.classes
- goog.dom.xml
- goog.events
- goog.events.BrowserEvent
- goog.events.Event
- goog.events.EventHandler
- goog.events.EventType
- goog.events.EventTarget
- goog.events.KeyEvent
- goog.events.KeyCodes
- goog.events.KeyHandler
- goog.events.Listener
- goog.functions
- goog.json
- goog.math.Box
- goog.math.Coordinate
- goog.math.Rect
- goog.math.Size
- goog.net.ErrorCode
- goog.net.EventType
- goog.net.XhrIo
- goog.net.XhrMonitor
- goog.net.XmlHttp
- goog.object
- goog.string
- goog.structs
- goog.structs.Map
- goog.structs.Set
- goog.style
- goog.Timer
- goog.userAgent
- goog.userAgent.product
- goog.window
It is build via the closure compiler itself, building from a set of goog.require()
calls :)





File size?
Why lite version?? Google compiler will remove all unused code.
without having to go into the compiler
Do not use closure without compiler.
.
Though, nice to play around with to get accustomed to closure.