Created
December 28, 2009 16:22
-
-
Save lukaszkorecki/264761 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" list all methods/functions in object literal in Javascript | |
" i.e. var obj = { | |
" testF : function() { alert('yo!'); }, | |
" el : 0, | |
" tesf2 :function (elo) { console.dir(elo); } | |
" }; | |
" one thing though: | |
" function definition has to have "{" on the same line as "function" keyword | |
lvimgrep /\w*:.*function.*{/ % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment