dengyaolong
5409f062e9
modify console.err
2016-01-08 14:27:27 +08:00
dengyaolong
eaaac3ab35
use terr instead of te to throw error
2015-08-25 18:59:47 +08:00
dengyaolong
b773523c30
try-catch-finally and throw error
2015-08-25 13:44:52 +08:00
dengyaolong
c4883b9f2d
add ce means console.err()
2015-08-25 13:34:07 +08:00
netei
2a173a59f2
Update javascript.snippets : f should expand near words
...
If you write
`http.get(f`
and hit tab, `f` won't be expanded to the function snippet.
This merge request fixes this, by specifying that it should be expanded near **w**ord boundaries.
> w Word boundary - With this option, the snippet is expanded if
> the tab trigger start matches a word boundary and the tab trigger end
> matches a word boundary. In other words the tab trigger must be
> preceded and followed by non-word characters. Word characters are
> defined by the 'iskeyword' setting. Use this option, for example, to
> permit expansion where the tab trigger follows punctuation without
> expanding suffixes of larger words.
2015-08-19 14:08:02 +02:00
Ruben Vereecken
bf34d94bac
Deleted newline
...
It broke the comments.
2015-08-11 20:35:59 +02:00
Nguyen Le
c5000e2d77
Javascript Postincrementers
2015-07-17 09:27:09 -07:00
skv
2099d74f50
js debugger
2015-05-02 08:28:03 +03:00
No Ducks
6753f3795e
Add jshint friendly use strict snippet
2015-03-11 22:59:17 +00:00
Jonathan Martin
58560c62b9
JS snippet: anonymous function variable assignment.
...
[Closes #524 ]
2015-02-24 18:33:26 -05:00
Leonidez Acosta
fc7bf9748c
remove tab at close of :f snippet
2015-02-12 09:25:51 -06:00
Leonidez Acosta
f1334d2e06
remove hint from function body
2015-02-11 15:15:14 -06:00
Leonidez Acosta
3cc04ec71f
fix :f snippet skipping over function body
2015-02-10 16:11:08 -06:00
Louis Pilfold
2d47b85358
JS: Add missing closing quotes
2014-10-13 13:47:00 +01:00
Louis Pilfold
0373b8400e
Fix JS DOM selector placeholders
2014-10-13 13:41:52 +01:00
Louis Pilfold
59c1db473f
More JS console. snippets
2014-10-10 16:50:51 +01:00
Louis Pilfold
c34ee98d85
JS: Group related snippets together.
2014-10-09 10:47:38 +01:00
Honza Pokorny
6d36226a18
Merge pull request #464 from lpil/js-return-semicolon
...
Added missing semicolon to JS return statement
2014-10-09 03:33:23 -03:00
Honza Pokorny
ebf6fb2383
Merge pull request #463 from lpil/js-dom-selectors
...
Added JS DOM element selector snippets
2014-10-09 03:32:35 -03:00
Louis Pilfold
ea8dc0592f
Added missing semicolon to JS return statement
2014-10-08 10:52:36 +01:00
Louis Pilfold
9eea452005
Added JS DOM element selector snippets
...
So not everyone uses jQuery. Who knew?
I've added snippets for the main vanilla JS DOM element selector
snippets.
2014-10-08 10:47:31 +01:00
Louis Pilfold
f488d4842d
js define prop: Use single quotes to match style
...
In the other vanila snippets we are using single quotes. I've changed
the define property snippet to conform to this style.
2014-10-08 10:09:42 +01:00
Holger Rapp
0939e8e578
Merge pull request #448 from lpil/remove-js-placeholders
...
JS: Remove useless placeholder text from functions
2014-09-18 19:12:43 +02:00
Louis Pilfold
1df9d6cc66
Replaced documentary js placeholders
2014-09-18 15:59:42 +01:00
Louis Pilfold
5aad7a4467
Correct js vf ${1} snippet syntax error
...
Use of ${1} twice rather than ${1} followed by $1 caused vim-snipmate to skip this field.
2014-09-16 09:24:10 +01:00
Louis Pilfold
00c1711fb6
Add missing semicolon to js vf
2014-09-15 12:52:04 +01:00
Louis Pilfold
6448deadba
Add JS function assigned to variable snippet
2014-09-12 17:12:00 +01:00
Louis Pilfold
ffcd8b8e2a
Remove useless placeholder text from JS functions
2014-09-12 16:56:36 +01:00
Connor Atherton
9cf1d0e502
Modify js proto and add node snippets
2014-08-20 20:05:28 +01:00
Kevin Schaul
6c0f3aa278
Add javascript console.debug snippet
2014-07-03 10:04:20 -04:00
Li Xin
bbf7e13943
Remove ; after "f"
...
Anonymouse functions may not need ; at most times.
2014-06-19 00:14:51 +08:00
tUrG0n
bd04745699
Moved all javascritp into a javascript. Otherwise, snipmate simply doesnt read them
2014-01-05 11:42:30 +02:00