Google Closure Library snippets
Sublime 2 snippets for the Google Closure Library
Labels snippets
Details
Installs
- Total 5K
- Win 3K
- Mac 1K
- Linux 721
Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Google Closure Library Snippets
Sublime plugin with snippets for the Google Closure Library
Install
Install with Package Control. Search for: Google Closure Library Snippets.
Getting started
Just type cl
on a javascript document and work with autocomplete.
The snippets are namespaced based on functionality, at most you'll have to type 4 chars and Enter
:
snippet | Category | Description |
---|---|---|
clareach | Arrays | goog.array.forEach() |
clevlisten | Events | Event listener (goog.event.listen() ) |
clevdispatch | Events | Dispatch an event, verbose version |
clevcb | Events | Callback function declaration for events, including block docs |
cldispose | Generic | dispose internal declaration (.disposeInternal = function() ) |
clfn | Generic | Default function declaration with a logger |
clsingle | Generic | Singleton declaration (goog.addSingletonGetter() ) |
cltypedef | Generic | A very verbose type definition with weird annotation cases |
clenum | Generic | Enum declaration |
clprov | Generic | goog.provide(); |
clreq | Generic | goog.require(); |
clclassev | New files | New class boilerplate with events inheritance |
clobjeach | Objects | goog.object.forEach() |
Contributing
I am using this package as a helper for my workflow with Closure Library, feel free to do the same by submitting snippets that you use in yours.