commit
9ff441a72e
@ -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});
|
||||||
|
Loading…
Reference in New Issue
Block a user