Merge pull request #9 from thisgeek/master

Remove redundant try
This commit is contained in:
Honza Pokorny 2011-07-06 03:04:10 -07:00
commit 9ff441a72e

View File

@ -69,8 +69,8 @@ snippet wh
snippet try snippet try
try { try {
${1:/* code */} ${1:/* code */}
} catch(e) { } catch(${2:e}) {
${2:/* handle error */} ${3:/* handle error */}
} }
# do...while # do...while
snippet do snippet do
@ -91,12 +91,6 @@ snippet get
# Get Element # Get Element
snippet gett snippet gett
getElementBy${1:Id}('${2}')${3} getElementBy${1:Id}('${2}')${3}
# Get Element
snippet try
try {
${2}
} catch (${2:e}) {
}
# console.log (Firebug) # console.log (Firebug)
snippet cl snippet cl
console.log(${1}); console.log(${1});