My favorites | Sign in
Project Home Issues Source
Project Information
Members
Links

Overview

Closure Snippets is an unofficial collection of snippets for Google's Closure Library.

Currently, snippets are available for Emacs (via YASnippet) and Vim (via XPTemplate).

Snippets

The following snippets are included.

closure bind class def export.property export.symbol is.array is.arrayLike is.boolean is.dateLike is.def is.defAndNotNull is.function is.null is.number is.object is.string msg now partial proto protof prov req static staticf subclass super uid

closure.dom bling blingbling dom tagname up

closure.dom.classes cls.add cls.enable cls.get cls.has cls.remove cls.set cls.toggle

closure.math box coord rect size

closure.asserts assert

closure.array arr.clear arr.clone arr.contains arr.equals arr.every arr.filter arr.find arr.forEach arr.indexOf arr.map arr.peek arr.reduce arr.repeat arr.some arr.sort arr.to

closure.style hide show

closure.events click listen

closure.timer once

closure.forms disable enable

Demo

A brief screencast is available at: http://derekslager.com/blog/posts/2010/06/closure-snippets.ashx

Powered by Google Project Hosting