Louis Pilfold
80ebcb8853
Merge pull request #787 from vkhv/master
...
Added bemjson.snippets
2016-10-01 20:39:46 +01:00
Vladislav Khvostov
1cc1567195
Update bemjson.snippets
2016-10-01 20:17:00 +03:00
Sokovikov
47870e954d
console.warn js snippet
2016-10-01 19:38:23 +04:00
Vladislav Khvostov
5837d8dc5c
Added bemjson.snippets
2016-10-01 15:53:29 +03:00
bounceme
f4c2004d12
Update javascript.snippets
2016-07-25 02:50:24 -07:00
bounceme
e19ccebe27
alternate iife in old format
2016-07-25 00:34:57 -07:00
Pompeu
7f8583e925
Merge branch 'master' of github.com:Pompeu/vim-snippets
2016-01-10 01:22:39 -02:00
Pompeu
a30d36b883
node require(re) snippet now can use new types of variables not only var by defult, can change in $1
2016-01-10 01:21:56 -02:00
Louis Pilfold
ac2c763c05
Merge pull request #666 from crzidea/js-es6
...
Args start at ${1}
2016-01-08 12:35:55 +00:00
Louis Pilfold
fb6c005724
Merge pull request #665 from dengyaolong/master
...
modify console.err
2016-01-08 12:34:54 +00:00
Li Xin
edd6a3ed5d
Args start at ${0}
2016-01-08 18:12:22 +08:00
dengyaolong
5409f062e9
modify console.err
2016-01-08 14:27:27 +08:00
Honza Pokorny
7558b50cde
Merge pull request #646 from humean/patch-1
...
Fix overall svg canvas height/width attribute
2015-12-17 06:49:28 -04:00
Luiz Gonzaga dos Santos Filho
fc9195c9ce
Add simpler arrow function snippet
...
Not only `af` is 1 less keystroke, and the keys are very close (home row of the keyboard). `=` + `shift` + `.` (`=>`) are too far away from each other and takes too long to type :)
2015-12-12 16:31:10 -02:00
Brian van Burken
2af0128a20
Removed interface snippet from ES6.
2015-12-07 15:50:02 +01:00
Brian van Burken
30d0e22a23
Changed trigger for class definition to commonly used cla.
2015-12-07 15:49:31 +01:00
Brian van Burken
8ceb0a0bf2
Removed blank lines.
2015-12-07 15:48:54 +01:00
Brian van Burken
e7ea5a46e9
Added ECMAScript 6 snippet.
2015-12-07 08:56:47 +01:00
Michael Rutter
9f29885c88
Fix overall svg canvas height/width attribute
...
Typically the appended svg on line 18-20 needs to have a width/height that includes the margins. An example can be found here: http://bl.ocks.org/mbostock/3883245 .
2015-11-20 11:50:26 +00: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
David Arvelo
8474152209
Add shebang for nodejs
2015-03-14 18:34:31 -04: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
Honza Pokorny
b73a20655d
Merge pull request #462 from lpil/js-quotes
...
js define prop: Use single quotes to match style
2014-10-09 03:32:16 -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
Louis Pilfold
885fdc4e75
js node require: Use single quotes to match style
...
In the other node snippets we are using single quotes. I've changed the
node require snippet to conform to this style.
2014-10-08 09:54:36 +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
Vincent Hsu
ae27f37aca
Correct the indentation of the javascript-requirejs.snippets
...
Will have error without tabs.
2014-09-01 19:20:39 +08:00