From 60dccf6e6fa74c1f2b5312b5fcd2fc159db82c67 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Sun, 24 Jan 2016 22:31:05 -0200 Subject: [PATCH 001/114] add: travis --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..81fc333 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: python +python: + - "3.3" + +#run tests +script: python -m unittest From 1845247ac7658a1714a84f6d328f3cf20148fddc Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Sun, 24 Jan 2016 22:31:56 -0200 Subject: [PATCH 002/114] add: initial test files --- tests/test.py | 22 ++++++++++++++++++++++ tests/unittest_compat.py | 0 2 files changed, 22 insertions(+) create mode 100644 tests/test.py create mode 100644 tests/unittest_compat.py diff --git a/tests/test.py b/tests/test.py new file mode 100644 index 0000000..b60c973 --- /dev/null +++ b/tests/test.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python3 + +import unittest + +class TestStringMethods(unittest.TestCase): + + def test_upper(self): + self.assertEqual('foo'.upper(), 'FOO') + + def test_isupper(self): + self.assertTrue('FOO'.isupper()) + self.assertFalse('Foo'.isupper()) + + def test_split(self): + s = 'hello world' + self.assertEqual(s.split(), ['hello', 'world']) + # check that s.split fails when the separator is not a string + with self.assertRaises(TypeError): + s.split(2) + +if __name__ == '__main__': + unittest.main() diff --git a/tests/unittest_compat.py b/tests/unittest_compat.py new file mode 100644 index 0000000..e69de29 From 1fdb4033fe494bf170124aa2272fb1e8a47f11db Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 03:26:21 -0200 Subject: [PATCH 003/114] update: references --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f5310f5..de3fed0 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,10 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text [https://github.com/zenorocha/sublime-javascript-snippets](https://github.com/zenorocha/sublime-javascript-snippets) * [@joshnh](https://github.com/joshnh) (Joshua Hibbert) [https://github.com/joshnh/CSS-Snippets](https://github.com/joshnh/CSS-Snippets) -* [@joshnh](https://github.com/joshnh) (Joshua Hibbert) - [https://github.com/joshnh/HTML-Snippets](https://github.com/joshnh/HTML-Snippets) -* [http://schema.org/](http://schema.org/) -* [https://api.jquery.com/](https://api.jquery.com/) +* (Schema.org) [http://schema.org/](http://schema.org/) +* (jQuery) [https://api.jquery.com/](https://api.jquery.com/) +* (jQuery Boilerplate)[https://jqueryboilerplate.com/](https://jqueryboilerplate.com/) +* (JSDuck) [https://github.com/senchalabs/jsduck](https://github.com/senchalabs/jsduck) ## Contributing From d538ed6109bae54c21cfa51bc5a1ec03ce166639 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 03:51:20 -0200 Subject: [PATCH 004/114] add: basic html comment snippet --- snippets/comment/html/html-basic.sublime-snippet | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 snippets/comment/html/html-basic.sublime-snippet diff --git a/snippets/comment/html/html-basic.sublime-snippet b/snippets/comment/html/html-basic.sublime-snippet new file mode 100644 index 0000000..7ecbf52 --- /dev/null +++ b/snippets/comment/html/html-basic.sublime-snippet @@ -0,0 +1,7 @@ + + +]]> + xhbasic + xh - Basic Comment + From a530cfddf987954e1251b79110d92d7926c5f8a5 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 03:51:39 -0200 Subject: [PATCH 005/114] add: block html comment snippet --- snippets/comment/html/html-block.sublime-snippet | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 snippets/comment/html/html-block.sublime-snippet diff --git a/snippets/comment/html/html-block.sublime-snippet b/snippets/comment/html/html-block.sublime-snippet new file mode 100644 index 0000000..9812d39 --- /dev/null +++ b/snippets/comment/html/html-block.sublime-snippet @@ -0,0 +1,9 @@ + + +]]> + xhblock + xh - Block Comment + From a81bd9ec5624caeb422e1ae0a76aa840e7363d55 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 03:52:12 -0200 Subject: [PATCH 006/114] add: conditional html comment snippet --- snippets/comment/html/html-conditional.sublime-snippet | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 snippets/comment/html/html-conditional.sublime-snippet diff --git a/snippets/comment/html/html-conditional.sublime-snippet b/snippets/comment/html/html-conditional.sublime-snippet new file mode 100644 index 0000000..ac6e81d --- /dev/null +++ b/snippets/comment/html/html-conditional.sublime-snippet @@ -0,0 +1,9 @@ + + + ${3} + +]]> + xhcond + xh - Conditional Comment + From a21e0aad7f0bce5359172dec9940d4d8b1452d35 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 03:52:40 -0200 Subject: [PATCH 007/114] update: readme with new snippets --- README.md | 1 + snippets/comment/README.md | 3 +++ snippets/comment/html/README.md | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+) diff --git a/README.md b/README.md index de3fed0..60cd438 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text * (jQuery) [https://api.jquery.com/](https://api.jquery.com/) * (jQuery Boilerplate)[https://jqueryboilerplate.com/](https://jqueryboilerplate.com/) * (JSDuck) [https://github.com/senchalabs/jsduck](https://github.com/senchalabs/jsduck) +* (idiomatic CSS) [https://github.com/necolas/idiomatic-css](https://github.com/necolas/idiomatic-css) ## Contributing diff --git a/snippets/comment/README.md b/snippets/comment/README.md index 746051a..ce1cb66 100644 --- a/snippets/comment/README.md +++ b/snippets/comment/README.md @@ -1,6 +1,9 @@ # Comment Snippets - [HTML](html/) + - Basic + - Block + - Conditional - End Tag - [CSS](css/) - Basic diff --git a/snippets/comment/html/README.md b/snippets/comment/html/README.md index 97cb9be..ebee5ad 100644 --- a/snippets/comment/html/README.md +++ b/snippets/comment/html/README.md @@ -2,6 +2,28 @@ Prefix `xh*` +### [xhbasic] basic + +```html + +``` + +### [xhblock] block + +```html + +``` + +### [xhcond] conditional + +```html + +``` + ### [xhend] end tag ```html From fbb809e49d58a520bff836ff7bd03f0894550600 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 04:17:41 -0200 Subject: [PATCH 008/114] add: gtm snippet --- snippets/external/README.md | 14 ++++++++++++++ snippets/external/gtm.sublime-snippet | 13 +++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 snippets/external/gtm.sublime-snippet diff --git a/snippets/external/README.md b/snippets/external/README.md index 89d1620..95d8e34 100644 --- a/snippets/external/README.md +++ b/snippets/external/README.md @@ -18,3 +18,17 @@ Prefix `e*` $2 ``` + +### [egtm] Google Tag Manager + +```html + + + +${2} +``` diff --git a/snippets/external/gtm.sublime-snippet b/snippets/external/gtm.sublime-snippet new file mode 100644 index 0000000..d24643f --- /dev/null +++ b/snippets/external/gtm.sublime-snippet @@ -0,0 +1,13 @@ + + + + +${2}]]> + egtm + e - Google Tag Manager + From 9a14dd0403f7ce9108608d6152efc0c769f24287 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 04:39:36 -0200 Subject: [PATCH 009/114] add: wai-aria category and alertdialog snippet --- README.md | 1 + messages/install.txt | 1 + snippets/html/wai-aria/README.md | 16 ++++++++++++++++ .../html-wai-aria-alert-dialog.sublime-snippet | 11 +++++++++++ 4 files changed, 29 insertions(+) create mode 100644 snippets/html/wai-aria/README.md create mode 100644 snippets/html/wai-aria/html-wai-aria-alert-dialog.sublime-snippet diff --git a/README.md b/README.md index 60cd438..269750c 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text - [HTML - h*](snippets/html/) - [Microdata - hm.*](snippets/html/schema/microdata) + - [WAI-ARIA - hw.*](snippets/html/wai-aria) - [CSS - c*](snippets/css/) - [JavaScript - j*](snippets/js/vanilla) - [BDD - b*](snippets/js/bdd) diff --git a/messages/install.txt b/messages/install.txt index a489447..1777d60 100644 --- a/messages/install.txt +++ b/messages/install.txt @@ -6,6 +6,7 @@ You can see all installed snippets in Tools > Snippets... . Snippets: - HTML - Microdata + - WAI-ARIA - CSS - JavaScript - BDD diff --git a/snippets/html/wai-aria/README.md b/snippets/html/wai-aria/README.md new file mode 100644 index 0000000..c23b6e3 --- /dev/null +++ b/snippets/html/wai-aria/README.md @@ -0,0 +1,16 @@ + +# HTML Snippets + +## WAI-ARIA + +Prefix `hw.*` + +### [hw.alertdialog] alertdialog + +```html +
+

+

+ +
+``` diff --git a/snippets/html/wai-aria/html-wai-aria-alert-dialog.sublime-snippet b/snippets/html/wai-aria/html-wai-aria-alert-dialog.sublime-snippet new file mode 100644 index 0000000..924ec74 --- /dev/null +++ b/snippets/html/wai-aria/html-wai-aria-alert-dialog.sublime-snippet @@ -0,0 +1,11 @@ + + +

+

+ + +]]>
+ hw.alertdialog + hw - Alert Dialog +
From 8ec6b8d000bd25b17a252c559f7e0ff60eaed9bc Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 09:51:27 -0200 Subject: [PATCH 010/114] add: simple json generator in python --- .travis.yml | 2 +- source/json-generator.py | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 source/json-generator.py diff --git a/.travis.yml b/.travis.yml index 81fc333..af2633f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,4 +3,4 @@ python: - "3.3" #run tests -script: python -m unittest +#script: python -m unittest diff --git a/source/json-generator.py b/source/json-generator.py new file mode 100644 index 0000000..bae24b2 --- /dev/null +++ b/source/json-generator.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python3 + +import os +import fnmatch +from json import dumps, load + +def writeJson(data, filename): + try: + jsondata = dumps(data, indent=2, skipkeys=True, sort_keys=True) + fd = open(filename, 'w') + fd.write(jsondata) + fd.close() + except: + print 'ERROR writing', filename + pass + +def getDir(path, ext): + matches = [] + for root, dirnames, filenames in os.walk(path): + for filename in fnmatch.filter(filenames, ext): + matches.append(os.path.join(root, filename)) + return matches + + +result = [] +for file in getDir('../snippets/', '*.sublime-snippet'): + line = open(file) + content = line.read() + trigger = content.split('')[1].split('')[0] + description = content.split('')[1].split('')[0] + + result.append({'trigger':trigger, 'description':description}) + +writeJson(result, "../snippets.json") + From 091b6b2730f9dc8cd0a179339d84e2b1c23ba651 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 10:25:38 -0200 Subject: [PATCH 011/114] update: return with id --- source/json-generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/json-generator.py b/source/json-generator.py index bae24b2..6858a18 100644 --- a/source/json-generator.py +++ b/source/json-generator.py @@ -23,13 +23,13 @@ def getDir(path, ext): result = [] -for file in getDir('../snippets/', '*.sublime-snippet'): +for count, file in enumerate(getDir('../snippets/', '*.sublime-snippet'), start=1): line = open(file) content = line.read() trigger = content.split('')[1].split('')[0] description = content.split('')[1].split('')[0] - result.append({'trigger':trigger, 'description':description}) + result.append({'id':count, 'trigger':trigger, 'description':description}) writeJson(result, "../snippets.json") From 2d2b76f1e63bee09d1280d420de91f0d0f8d5ab7 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 10:26:28 -0200 Subject: [PATCH 012/114] add: snippets json --- snippets.json | 1882 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1882 insertions(+) create mode 100644 snippets.json diff --git a/snippets.json b/snippets.json new file mode 100644 index 0000000..9fcec9b --- /dev/null +++ b/snippets.json @@ -0,0 +1,1882 @@ +[ + { + "description": "xc - Basic Comment", + "id": 1, + "trigger": "xcbasic" + }, + { + "description": "xc - Block Comment", + "id": 2, + "trigger": "xcblock" + }, + { + "description": "xc - Section Comment", + "id": 3, + "trigger": "xcsection" + }, + { + "description": "xc - Sub-section Comment", + "id": 4, + "trigger": "xcsubsection" + }, + { + "description": "xh - Basic Comment", + "id": 5, + "trigger": "xhbasic" + }, + { + "description": "xh - Block Comment", + "id": 6, + "trigger": "xhblock" + }, + { + "description": "xh - Conditional Comment", + "id": 7, + "trigger": "xhcond" + }, + { + "description": "xh - End Tag Comment", + "id": 8, + "trigger": "xhend" + }, + { + "description": "xj - Method Comment", + "id": 9, + "trigger": "xjmethod" + }, + { + "description": "xj - Property Comment", + "id": 10, + "trigger": "xjproperty" + }, + { + "description": "c - @font-face structure", + "id": 11, + "trigger": "cff" + }, + { + "description": "c - Keyframes", + "id": 12, + "trigger": "ck" + }, + { + "description": "c - Media Querie", + "id": 13, + "trigger": "cmq" + }, + { + "description": "e - Google Analytics", + "id": 14, + "trigger": "ega" + }, + { + "description": "e - Google Tag Manager", + "id": 15, + "trigger": "egtm" + }, + { + "description": "h - Basic HTML document", + "id": 16, + "trigger": "hdoc" + }, + { + "description": "h - Head tags", + "id": 17, + "trigger": "hhtags" + }, + { + "description": "hm - HTML with SiteNavigationElement", + "id": 18, + "trigger": "hm.sitenav" + }, + { + "description": "hw - Alert Dialog", + "id": 19, + "trigger": "hw.alertdialog" + }, + { + "description": "b - Expect toBeCloseTo", + "id": 20, + "trigger": "bcloseto" + }, + { + "description": "b - Expect toBeContain", + "id": 21, + "trigger": "bcontain" + }, + { + "description": "b - Expect toBeDefined", + "id": 22, + "trigger": "bdefined" + }, + { + "description": "b - Expect toBeFalsy", + "id": 23, + "trigger": "bfalsy" + }, + { + "description": "b - Expect toBeGreaterThan", + "id": 24, + "trigger": "bgreaterthan" + }, + { + "description": "b - Expect toBeLessThan", + "id": 25, + "trigger": "blessthan" + }, + { + "description": "b - Expect toBeNaN", + "id": 26, + "trigger": "bnan" + }, + { + "description": "b - Expect toBeNull", + "id": 27, + "trigger": "bnull" + }, + { + "description": "b - Expect toBeTruthy", + "id": 28, + "trigger": "btruthy" + }, + { + "description": "b - Expect toBeUndefined", + "id": 29, + "trigger": "bundefined" + }, + { + "description": "b - Expect toBe", + "id": 30, + "trigger": "btobe" + }, + { + "description": "b - Expect toEqual", + "id": 31, + "trigger": "bequal" + }, + { + "description": "b - Expect toHaveBeenCalledTimes", + "id": 32, + "trigger": "bhbctimes" + }, + { + "description": "b - Expect toHaveBeenCalledWith", + "id": 33, + "trigger": "bhbcwith" + }, + { + "description": "b - Expect toHaveBeenCalled", + "id": 34, + "trigger": "bhbc" + }, + { + "description": "b - Expect toMatch", + "id": 35, + "trigger": "bmatch" + }, + { + "description": "b - Expect toThrowError", + "id": 36, + "trigger": "bthrowerror" + }, + { + "description": "b - Expect toThrow", + "id": 37, + "trigger": "bthrow" + }, + { + "description": "b - afterEach", + "id": 38, + "trigger": "baftereach" + }, + { + "description": "b - beforeEach", + "id": 39, + "trigger": "bbeforeeach" + }, + { + "description": "b - describe", + "id": 40, + "trigger": "bdescribe" + }, + { + "description": "b - it", + "id": 41, + "trigger": "bit" + }, + { + "description": "jq - ajax", + "id": 42, + "trigger": "jqa" + }, + { + "description": "jq - ajaxComplete", + "id": 43, + "trigger": "jqacomplete" + }, + { + "description": "jq - ajaxError", + "id": 44, + "trigger": "jqaerror" + }, + { + "description": "jq - getJSON", + "id": 45, + "trigger": "jqgjson" + }, + { + "description": "jq - getScript", + "id": 46, + "trigger": "jqgscript" + }, + { + "description": "jq - jQuery get", + "id": 47, + "trigger": "jqjget" + }, + { + "description": "jq - load", + "id": 48, + "trigger": "jqload" + }, + { + "description": "jq - post", + "id": 49, + "trigger": "jqpost" + }, + { + "description": "jq - ajaxPrefilter", + "id": 50, + "trigger": "jqaprefilter" + }, + { + "description": "jq - ajaxSend", + "id": 51, + "trigger": "jqasend" + }, + { + "description": "jq - ajaxSetup", + "id": 52, + "trigger": "jqasetup" + }, + { + "description": "jq - ajaxStart", + "id": 53, + "trigger": "jqastart" + }, + { + "description": "jq - ajaxStop", + "id": 54, + "trigger": "jqastop" + }, + { + "description": "jq - ajaxSuccess", + "id": 55, + "trigger": "jqasuccess" + }, + { + "description": "jq - ajaxTransport", + "id": 56, + "trigger": "jqatransport" + }, + { + "description": "jq - addClass", + "id": 57, + "trigger": "jqaddclass" + }, + { + "description": "jq - attr", + "id": 58, + "trigger": "jqattr" + }, + { + "description": "jq - hasClass", + "id": 59, + "trigger": "jqhasclass" + }, + { + "description": "jq - html", + "id": 60, + "trigger": "jqhtml" + }, + { + "description": "jq - prop", + "id": 61, + "trigger": "jqprop" + }, + { + "description": "jq - removeAttr", + "id": 62, + "trigger": "jqrattr" + }, + { + "description": "jq - removeClass", + "id": 63, + "trigger": "jqrclass" + }, + { + "description": "jq - removeProp", + "id": 64, + "trigger": "jqrprop" + }, + { + "description": "jq - toggleClass", + "id": 65, + "trigger": "jqtclass" + }, + { + "description": "jq - add", + "id": 66, + "trigger": "jqcbadd" + }, + { + "description": "jq - disable", + "id": 67, + "trigger": "jqcbdisable" + }, + { + "description": "jq - disabled", + "id": 68, + "trigger": "jqcbdisabled" + }, + { + "description": "jq - empty", + "id": 69, + "trigger": "jqcbempty" + }, + { + "description": "jq - fireWith", + "id": 70, + "trigger": "jqcbfirewith" + }, + { + "description": "jq - fire", + "id": 71, + "trigger": "jqcbfire" + }, + { + "description": "jq - fired", + "id": 72, + "trigger": "jqcbfired" + }, + { + "description": "jq - has", + "id": 73, + "trigger": "jqcbhas" + }, + { + "description": "jq - lock", + "id": 74, + "trigger": "jqcblock" + }, + { + "description": "jq - locked", + "id": 75, + "trigger": "jqcblocked" + }, + { + "description": "jq - remove", + "id": 76, + "trigger": "jqcbremove" + }, + { + "description": "jq - callbacks", + "id": 77, + "trigger": "jqcb" + }, + { + "description": "jq - holdReady", + "id": 78, + "trigger": "jqholdready" + }, + { + "description": "jq - jQuery", + "id": 79, + "trigger": "jqjq" + }, + { + "description": "jq - noConflict", + "id": 80, + "trigger": "jqnoc" + }, + { + "description": "jq - when", + "id": 81, + "trigger": "jqwhen" + }, + { + "description": "jq - cssHooks", + "id": 82, + "trigger": "jqcssh" + }, + { + "description": "jq - cssNumber", + "id": 83, + "trigger": "jqcssn" + }, + { + "description": "jq - css", + "id": 84, + "trigger": "jqcss" + }, + { + "description": "jq - hasData", + "id": 85, + "trigger": "jqhasdata" + }, + { + "description": "jq - jQuery data", + "id": 86, + "trigger": "jqjdata" + }, + { + "description": "jq - jQuery removeData", + "id": 87, + "trigger": "jqjrdata" + }, + { + "description": "jq - removeData", + "id": 88, + "trigger": "jqrdata" + }, + { + "description": "jq - data", + "id": 89, + "trigger": "jqdata" + }, + { + "description": "jq - always", + "id": 90, + "trigger": "jqalways" + }, + { + "description": "jq - done", + "id": 91, + "trigger": "jqdone" + }, + { + "description": "jq - fail", + "id": 92, + "trigger": "jqfail" + }, + { + "description": "jq - notifyWith", + "id": 93, + "trigger": "jqnotifywith" + }, + { + "description": "jq - notify", + "id": 94, + "trigger": "jqnotify" + }, + { + "description": "jq - progress", + "id": 95, + "trigger": "jqprogress" + }, + { + "description": "jq - promise", + "id": 96, + "trigger": "jqdpromise" + }, + { + "description": "jq - rejectWith", + "id": 97, + "trigger": "jqrejectwith" + }, + { + "description": "jq - reject", + "id": 98, + "trigger": "jqreject" + }, + { + "description": "jq - resolveWith", + "id": 99, + "trigger": "jqresolvewith" + }, + { + "description": "jq - resolve", + "id": 100, + "trigger": "jqresolve" + }, + { + "description": "jq - state", + "id": 101, + "trigger": "jqstate" + }, + { + "description": "jq - then", + "id": 102, + "trigger": "jqthen" + }, + { + "description": "jq - deferred", + "id": 103, + "trigger": "jqd" + }, + { + "description": "jq - promise", + "id": 104, + "trigger": "jqpromise" + }, + { + "description": "jq - height", + "id": 105, + "trigger": "jqheight" + }, + { + "description": "jq - innerHeight", + "id": 106, + "trigger": "jqiheight" + }, + { + "description": "jq - innerWidth", + "id": 107, + "trigger": "jqiwidth" + }, + { + "description": "jq - outerHeight", + "id": 108, + "trigger": "jqoheight" + }, + { + "description": "jq - outerWidth", + "id": 109, + "trigger": "jqowidth" + }, + { + "description": "jq - width", + "id": 110, + "trigger": "jqwidth" + }, + { + "description": "jq - animate", + "id": 111, + "trigger": "jqanimate" + }, + { + "description": "jq - clearQueue", + "id": 112, + "trigger": "jqcqueue" + }, + { + "description": "jq - delay", + "id": 113, + "trigger": "jqdelay" + }, + { + "description": "jq - dequeue", + "id": 114, + "trigger": "jqdequeue" + }, + { + "description": "jq - fadeIn", + "id": 115, + "trigger": "jqfadein" + }, + { + "description": "jq - fadeOut", + "id": 116, + "trigger": "jqfadeout" + }, + { + "description": "jq - fadeToggle", + "id": 117, + "trigger": "jqfadetoggle" + }, + { + "description": "jq - fadeTo", + "id": 118, + "trigger": "jqfadeto" + }, + { + "description": "jq - finish", + "id": 119, + "trigger": "jqfinish" + }, + { + "description": "jq - hide", + "id": 120, + "trigger": "jqhide" + }, + { + "description": "jq - queue", + "id": 121, + "trigger": "jqqueue" + }, + { + "description": "jq - show", + "id": 122, + "trigger": "jqshow" + }, + { + "description": "jq - slideDown", + "id": 123, + "trigger": "jqsdown" + }, + { + "description": "jq - slideToggle", + "id": 124, + "trigger": "jqstoggle" + }, + { + "description": "jq - slideUp", + "id": 125, + "trigger": "jqsup" + }, + { + "description": "jq - stop", + "id": 126, + "trigger": "jqstop" + }, + { + "description": "jq - toggle", + "id": 127, + "trigger": "jqtoggle" + }, + { + "description": "jq - bind", + "id": 128, + "trigger": "jqbind" + }, + { + "description": "jq - click", + "id": 129, + "trigger": "jqclick" + }, + { + "description": "jq - contextmenu", + "id": 130, + "trigger": "jqjqcmenu" + }, + { + "description": "jq - currentTarget", + "id": 131, + "trigger": "jqctarget" + }, + { + "description": "jq - Event data", + "id": 132, + "trigger": "jqedata" + }, + { + "description": "jq - dblclick", + "id": 133, + "trigger": "jqdclick" + }, + { + "description": "jq - delegateTarget", + "id": 134, + "trigger": "jqdtarget" + }, + { + "description": "jq - delegate", + "id": 135, + "trigger": "jqdelegate" + }, + { + "description": "jq - hover", + "id": 136, + "trigger": "jqhover" + }, + { + "description": "jq - isDefaultPrevented", + "id": 137, + "trigger": "jqidprevented" + }, + { + "description": "jq - isImmediatePropagationStopped", + "id": 138, + "trigger": "jqiips" + }, + { + "description": "jq - isPropagationStopped", + "id": 139, + "trigger": "jqips" + }, + { + "description": "jq - keydown", + "id": 140, + "trigger": "jqkdown" + }, + { + "description": "jq - keypress", + "id": 141, + "trigger": "jqkpress" + }, + { + "description": "jq - keyup", + "id": 142, + "trigger": "jqkup" + }, + { + "description": "jq - metaKey", + "id": 143, + "trigger": "jqmkey" + }, + { + "description": "jq - mousedown", + "id": 144, + "trigger": "jqmdown" + }, + { + "description": "jq - mouseenter", + "id": 145, + "trigger": "jqmenter" + }, + { + "description": "jq - mouseleave", + "id": 146, + "trigger": "jqmleave" + }, + { + "description": "jq - mousemove", + "id": 147, + "trigger": "jqmmove" + }, + { + "description": "jq - mouseout", + "id": 148, + "trigger": "jqmout" + }, + { + "description": "jq - mouseover", + "id": 149, + "trigger": "jqmover" + }, + { + "description": "jq - mouseup", + "id": 150, + "trigger": "jqmup" + }, + { + "description": "jq - namespace", + "id": 151, + "trigger": "jqns" + }, + { + "description": "jq - off", + "id": 152, + "trigger": "jqoff" + }, + { + "description": "jq - on", + "id": 153, + "trigger": "jqon" + }, + { + "description": "jq - one", + "id": 154, + "trigger": "jqone" + }, + { + "description": "jq - pageX", + "id": 155, + "trigger": "jqpx" + }, + { + "description": "jq - pageY", + "id": 156, + "trigger": "jqpy" + }, + { + "description": "jq - preventDefault", + "id": 157, + "trigger": "jqpd" + }, + { + "description": "jq - ready", + "id": 158, + "trigger": "jqready" + }, + { + "description": "jq - relatedTarget", + "id": 159, + "trigger": "jqrtarget" + }, + { + "description": "jq - resize", + "id": 160, + "trigger": "jqresize" + }, + { + "description": "jq - result", + "id": 161, + "trigger": "jqresult" + }, + { + "description": "jq - scroll", + "id": 162, + "trigger": "jqscroll" + }, + { + "description": "jq - stopImmediatePropagation", + "id": 163, + "trigger": "jqsip" + }, + { + "description": "jq - stopPropagation", + "id": 164, + "trigger": "jqsp" + }, + { + "description": "jq - target", + "id": 165, + "trigger": "jqtarget" + }, + { + "description": "jq - timeStamp", + "id": 166, + "trigger": "jqtstamp" + }, + { + "description": "jq - triggerHandler", + "id": 167, + "trigger": "jqthandler" + }, + { + "description": "jq - trigger", + "id": 168, + "trigger": "jqtrigger" + }, + { + "description": "jq - type", + "id": 169, + "trigger": "jqtype" + }, + { + "description": "jq - unbind", + "id": 170, + "trigger": "jqunbind" + }, + { + "description": "jq - undelegate", + "id": 171, + "trigger": "jqundelegate" + }, + { + "description": "jq - which", + "id": 172, + "trigger": "jqwhich" + }, + { + "description": "jq - blur", + "id": 173, + "trigger": "jqblur" + }, + { + "description": "jq - change", + "id": 174, + "trigger": "jqchange" + }, + { + "description": "jq - focusin", + "id": 175, + "trigger": "jqfocusin" + }, + { + "description": "jq - focusout", + "id": 176, + "trigger": "jqfocusout" + }, + { + "description": "jq - focus", + "id": 177, + "trigger": "jqfocus" + }, + { + "description": "jq - param", + "id": 178, + "trigger": "jqparam" + }, + { + "description": "jq - select", + "id": 179, + "trigger": "jqselect" + }, + { + "description": "jq - serializeArray", + "id": 180, + "trigger": "jqserarray" + }, + { + "description": "jq - serialize", + "id": 181, + "trigger": "jqser" + }, + { + "description": "jq - submit", + "id": 182, + "trigger": "jqsubmit" + }, + { + "description": "jq - val", + "id": 183, + "trigger": "jqval" + }, + { + "description": "jq - error", + "id": 184, + "trigger": "jqerror" + }, + { + "description": "jq - pushStack", + "id": 185, + "trigger": "jqpstack" + }, + { + "description": "jq - after", + "id": 186, + "trigger": "jqafter" + }, + { + "description": "jq - appendTo", + "id": 187, + "trigger": "jqappendto" + }, + { + "description": "jq - append", + "id": 188, + "trigger": "jqappend" + }, + { + "description": "jq - before", + "id": 189, + "trigger": "jqbefore" + }, + { + "description": "jq - clone", + "id": 190, + "trigger": "jqclone" + }, + { + "description": "jq - detach", + "id": 191, + "trigger": "jqdetach" + }, + { + "description": "jq - empty", + "id": 192, + "trigger": "jqempty" + }, + { + "description": "jq - insertAfter", + "id": 193, + "trigger": "jqiafter" + }, + { + "description": "jq - insertBefore", + "id": 194, + "trigger": "jqibefore" + }, + { + "description": "jq - prependTo", + "id": 195, + "trigger": "jqprependto" + }, + { + "description": "jq - prepend", + "id": 196, + "trigger": "jqprepend" + }, + { + "description": "jq - remove", + "id": 197, + "trigger": "jqremove" + }, + { + "description": "jq - replaceAll", + "id": 198, + "trigger": "jqreplaceall" + }, + { + "description": "jq - replaceWith", + "id": 199, + "trigger": "jqreplacewith" + }, + { + "description": "jq - text", + "id": 200, + "trigger": "jqtext" + }, + { + "description": "jq - unwrap", + "id": 201, + "trigger": "jqunwrap" + }, + { + "description": "jq - wrapAll", + "id": 202, + "trigger": "jqwall" + }, + { + "description": "jq - wrapInner", + "id": 203, + "trigger": "jqwinner" + }, + { + "description": "jq - wrap", + "id": 204, + "trigger": "jqwrap" + }, + { + "description": "jq - get", + "id": 205, + "trigger": "jqget" + }, + { + "description": "jq - index", + "id": 206, + "trigger": "jqindex" + }, + { + "description": "jq - toArray", + "id": 207, + "trigger": "jqtoarray" + }, + { + "description": "jq - offsetParent", + "id": 208, + "trigger": "jqoparent" + }, + { + "description": "jq - position", + "id": 209, + "trigger": "jqpos" + }, + { + "description": "jq - scrollLeft", + "id": 210, + "trigger": "jqscleft" + }, + { + "description": "jq - scrollTop", + "id": 211, + "trigger": "jqsctop" + }, + { + "description": "jq - offset", + "id": 212, + "trigger": "jqoset" + }, + { + "description": "jq - fx.interval", + "id": 213, + "trigger": "jqfxi" + }, + { + "description": "jq - fx.off", + "id": 214, + "trigger": "jqfxo" + }, + { + "description": "jq - jquery", + "id": 215, + "trigger": "jqjprop" + }, + { + "description": "jq - length", + "id": 216, + "trigger": "jqlen" + }, + { + "description": "jq - all", + "id": 217, + "trigger": "jqall" + }, + { + "description": "jq - :animated", + "id": 218, + "trigger": "jq:a" + }, + { + "description": "jq - Attribute Contains Prefix", + "id": 219, + "trigger": "jq[]|" + }, + { + "description": "jq - Attribute Contains", + "id": 220, + "trigger": "jq[]*" + }, + { + "description": "jq - Attribute Contains Word", + "id": 221, + "trigger": "jq[]~" + }, + { + "description": "jq - Attribute Ends With", + "id": 222, + "trigger": "jq[]$" + }, + { + "description": "jq - Attribute Equals", + "id": 223, + "trigger": "jq[]=" + }, + { + "description": "jq - Attribute Not Equal", + "id": 224, + "trigger": "jq[]!" + }, + { + "description": "jq - Attribute Starts With", + "id": 225, + "trigger": "jq[]^" + }, + { + "description": "jq - :button", + "id": 226, + "trigger": "jq:b" + }, + { + "description": "jq - :checkbox", + "id": 227, + "trigger": "jq:c" + }, + { + "description": "jq - :checked", + "id": 228, + "trigger": "jq:ch" + }, + { + "description": "jq - :child", + "id": 229, + "trigger": "jq:chi" + }, + { + "description": "jq - class", + "id": 230, + "trigger": "jq:cl" + }, + { + "description": "jq - :contains", + "id": 231, + "trigger": "jq:co" + }, + { + "description": "jq - descendant", + "id": 232, + "trigger": "jqdes" + }, + { + "description": "jq - :disabled", + "id": 233, + "trigger": "jq:d" + }, + { + "description": "jq - element", + "id": 234, + "trigger": "jq$" + }, + { + "description": "jq - :empty", + "id": 235, + "trigger": "jq:e" + }, + { + "description": "jq - :enabled", + "id": 236, + "trigger": "jq:en" + }, + { + "description": "jq - :eq", + "id": 237, + "trigger": "jq:eq" + }, + { + "description": "jq - :even", + "id": 238, + "trigger": "jq:ev" + }, + { + "description": "jq - :file", + "id": 239, + "trigger": "jq:f" + }, + { + "description": "jq - :first-child", + "id": 240, + "trigger": "jq:fc" + }, + { + "description": "jq - :first-of-type", + "id": 241, + "trigger": "jq:ft" + }, + { + "description": "jq - :first", + "id": 242, + "trigger": "jq:fi" + }, + { + "description": "jq - :focus", + "id": 243, + "trigger": "jq:fo" + }, + { + "description": "jq - :gt", + "id": 244, + "trigger": "jq:gt" + }, + { + "description": "jq - Has Attribute", + "id": 245, + "trigger": "jq[]" + }, + { + "description": "jq - :has", + "id": 246, + "trigger": "jq:h" + }, + { + "description": "jq - :header", + "id": 247, + "trigger": "jq:he" + }, + { + "description": "jq - :hidden", + "id": 248, + "trigger": "jq:hi" + }, + { + "description": "jq - id", + "id": 249, + "trigger": "jqid" + }, + { + "description": "jq - :image", + "id": 250, + "trigger": "jq:i" + }, + { + "description": "jq - :input", + "id": 251, + "trigger": "jq:in" + }, + { + "description": "jq - :lang", + "id": 252, + "trigger": "jq:l" + }, + { + "description": "jq - :last-child", + "id": 253, + "trigger": "jq:lc" + }, + { + "description": "jq - :last-of-type", + "id": 254, + "trigger": "jq:lt" + }, + { + "description": "jq - :last", + "id": 255, + "trigger": "jq:la" + }, + { + "description": "jq - :lt", + "id": 256, + "trigger": "jq:lt" + }, + { + "description": "jq - Multiple Attribute", + "id": 257, + "trigger": "jq[][]" + }, + { + "description": "jq - Multiple", + "id": 258, + "trigger": "jq," + }, + { + "description": "jq - Next Adjacent", + "id": 259, + "trigger": "jq+" + }, + { + "description": "jq - Next Siblings", + "id": 260, + "trigger": "jq-snss" + }, + { + "description": "jq - :not", + "id": 261, + "trigger": "jq:not" + }, + { + "description": "jq - :nth-child", + "id": 262, + "trigger": "jq:nc" + }, + { + "description": "jq - :nth-last-child", + "id": 263, + "trigger": "jq:nlc" + }, + { + "description": "jq - :nth-last-of-type", + "id": 264, + "trigger": "jq:nlt" + }, + { + "description": "jq - :nth-of-type", + "id": 265, + "trigger": "jq:nt" + }, + { + "description": "jq - :odd", + "id": 266, + "trigger": "jq:o" + }, + { + "description": "jq - :only-child", + "id": 267, + "trigger": "jq:oc" + }, + { + "description": "jq - :only-of-type", + "id": 268, + "trigger": "jq:ot" + }, + { + "description": "jq - :parent", + "id": 269, + "trigger": "jq:p" + }, + { + "description": "jq - :password", + "id": 270, + "trigger": "jq:pa" + }, + { + "description": "jq - :radio", + "id": 271, + "trigger": "jq:r" + }, + { + "description": "jq - :reset", + "id": 272, + "trigger": "jq:re" + }, + { + "description": "jq - :root", + "id": 273, + "trigger": "jq:ro" + }, + { + "description": "jq - :selected", + "id": 274, + "trigger": "jq:s" + }, + { + "description": "jq - :submit", + "id": 275, + "trigger": "jq:su" + }, + { + "description": "jq - :target", + "id": 276, + "trigger": "jq:t" + }, + { + "description": "jq - :text", + "id": 277, + "trigger": "jq:tx" + }, + { + "description": "jq - :visible", + "id": 278, + "trigger": "jq:v" + }, + { + "description": "jq - addBack", + "id": 279, + "trigger": "jqaddback" + }, + { + "description": "jq - add", + "id": 280, + "trigger": "jqadd" + }, + { + "description": "jq - children", + "id": 281, + "trigger": "jqchildren" + }, + { + "description": "jq - closest", + "id": 282, + "trigger": "jqclosest" + }, + { + "description": "jq - contents", + "id": 283, + "trigger": "jqcontents" + }, + { + "description": "jq - each", + "id": 284, + "trigger": "jqeach" + }, + { + "description": "jq - end", + "id": 285, + "trigger": "jqend" + }, + { + "description": "jq - eq", + "id": 286, + "trigger": "jqeq" + }, + { + "description": "jq - filter", + "id": 287, + "trigger": "jqfilter" + }, + { + "description": "jq - find", + "id": 288, + "trigger": "jqfind" + }, + { + "description": "jq - first", + "id": 289, + "trigger": "jqfirst" + }, + { + "description": "jq - has", + "id": 290, + "trigger": "jqhas" + }, + { + "description": "jq - is", + "id": 291, + "trigger": "jqis" + }, + { + "description": "jq - last", + "id": 292, + "trigger": "jqlast" + }, + { + "description": "jq - map", + "id": 293, + "trigger": "jqmap" + }, + { + "description": "jq - nextAll", + "id": 294, + "trigger": "jqnextall" + }, + { + "description": "jq - nextUntil", + "id": 295, + "trigger": "jqnextuntil" + }, + { + "description": "jq - next", + "id": 296, + "trigger": "jqnext" + }, + { + "description": "jq - not", + "id": 297, + "trigger": "jqnot" + }, + { + "description": "jq - parent", + "id": 298, + "trigger": "jqparent" + }, + { + "description": "jq - parentsUntil", + "id": 299, + "trigger": "jqpuntil" + }, + { + "description": "jq - parents", + "id": 300, + "trigger": "jqparents" + }, + { + "description": "jq - prevAll", + "id": 301, + "trigger": "jqprevall" + }, + { + "description": "jq - prevUntil", + "id": 302, + "trigger": "jqprevuntil" + }, + { + "description": "jq - prev", + "id": 303, + "trigger": "jqprev" + }, + { + "description": "jq - siblings", + "id": 304, + "trigger": "jq-ts" + }, + { + "description": "jq - slice", + "id": 305, + "trigger": "jq-tsl" + }, + { + "description": "jq - contains", + "id": 306, + "trigger": "jqcontains" + }, + { + "description": "jq - jQuery each", + "id": 307, + "trigger": "jqjeach" + }, + { + "description": "jq - extend", + "id": 308, + "trigger": "jqextend" + }, + { + "description": "jq - fn.extend", + "id": 309, + "trigger": "jqfnextend" + }, + { + "description": "jq - globalEval", + "id": 310, + "trigger": "jqgeval" + }, + { + "description": "jq - grep", + "id": 311, + "trigger": "jqgrep" + }, + { + "description": "jq - inArray", + "id": 312, + "trigger": "jqinarray" + }, + { + "description": "jq - isEmptyObject", + "id": 313, + "trigger": "jqieobject" + }, + { + "description": "jq - isFunction", + "id": 314, + "trigger": "jqifunction" + }, + { + "description": "jq - isNumeric", + "id": 315, + "trigger": "jqinumeric" + }, + { + "description": "jq - isPlainObject", + "id": 316, + "trigger": "jqipobject" + }, + { + "description": "jq - isWindow", + "id": 317, + "trigger": "jqiwindow" + }, + { + "description": "jq - isXMLDoc", + "id": 318, + "trigger": "jqixmldoc" + }, + { + "description": "jq - makeArray", + "id": 319, + "trigger": "jqmarray" + }, + { + "description": "jq - jQuery map", + "id": 320, + "trigger": "jqjmap" + }, + { + "description": "jq - merge", + "id": 321, + "trigger": "jqmerge" + }, + { + "description": "jq - noop", + "id": 322, + "trigger": "jqnoop" + }, + { + "description": "jq - now", + "id": 323, + "trigger": "jqnow" + }, + { + "description": "jq - parseHTML", + "id": 324, + "trigger": "jqparse" + }, + { + "description": "jq - parseJSON", + "id": 325, + "trigger": "jqparse" + }, + { + "description": "jq - parseXML", + "id": 326, + "trigger": "jqparse" + }, + { + "description": "jq - proxy", + "id": 327, + "trigger": "jqproxy" + }, + { + "description": "jq - trim", + "id": 328, + "trigger": "jqtrim" + }, + { + "description": "jq - type", + "id": 329, + "trigger": "jqtype" + }, + { + "description": "jq - unique", + "id": 330, + "trigger": "jqunique" + }, + { + "description": "jq - jQuery Boilerplate", + "id": 331, + "trigger": "jqb" + }, + { + "description": "j - console.dir", + "id": 332, + "trigger": "jcd" + }, + { + "description": "j - console.error", + "id": 333, + "trigger": "jce" + }, + { + "description": "j - console.info", + "id": 334, + "trigger": "jci" + }, + { + "description": "j - console.log", + "id": 335, + "trigger": "jcl" + }, + { + "description": "j - console.warn", + "id": 336, + "trigger": "jcw" + }, + { + "description": "j - addEventListener", + "id": 337, + "trigger": "j-ael" + }, + { + "description": "j - appendChild", + "id": 338, + "trigger": "jac" + }, + { + "description": "j - classList.add", + "id": 339, + "trigger": "jcla" + }, + { + "description": "j - classList.remove", + "id": 340, + "trigger": "jclr" + }, + { + "description": "j - classList.toggle", + "id": 341, + "trigger": "jclt" + }, + { + "description": "j - createDocumentFragment", + "id": 342, + "trigger": "jcdf" + }, + { + "description": "j - createElement", + "id": 343, + "trigger": "jcel" + }, + { + "description": "j - getAttribute", + "id": 344, + "trigger": "jgattr" + }, + { + "description": "j - getElementById", + "id": 345, + "trigger": "jgid" + }, + { + "description": "j - getElementsByClassName", + "id": 346, + "trigger": "jgclass" + }, + { + "description": "j - getElementsByTagName", + "id": 347, + "trigger": "jgtag" + }, + { + "description": "j - innerHTML", + "id": 348, + "trigger": "jih" + }, + { + "description": "j - querySelectorAll", + "id": 349, + "trigger": "jqsa" + }, + { + "description": "j - querySelector", + "id": 350, + "trigger": "jqs" + }, + { + "description": "j - removeAttribute", + "id": 351, + "trigger": "jrattr" + }, + { + "description": "j - removeChild", + "id": 352, + "trigger": "jrc" + }, + { + "description": "j - setAttribute", + "id": 353, + "trigger": "jsattr" + }, + { + "description": "j - textContent", + "id": 354, + "trigger": "jtc" + }, + { + "description": "j - Anonymous Function", + "id": 355, + "trigger": "jafn" + }, + { + "description": "j - Function apply", + "id": 356, + "trigger": "japply" + }, + { + "description": "j - Function call", + "id": 357, + "trigger": "jcall" + }, + { + "description": "j - Immediately-invoked function expression", + "id": 358, + "trigger": "j-iife" + }, + { + "description": "j - Prototype", + "id": 359, + "trigger": "jprot" + }, + { + "description": "j - Function", + "id": 360, + "trigger": "jfn" + }, + { + "description": "j - JSON.parse", + "id": 361, + "trigger": "jjsonp" + }, + { + "description": "j - JSON.stringify", + "id": 362, + "trigger": "jjsons" + }, + { + "description": "j - forEach", + "id": 363, + "trigger": "jfore" + }, + { + "description": "j - for in", + "id": 364, + "trigger": "jfori" + }, + { + "description": "j - for", + "id": 365, + "trigger": "jfor" + }, + { + "description": "j - setInterval", + "id": 366, + "trigger": "jsinterval" + }, + { + "description": "j - setTimeout", + "id": 367, + "trigger": "jstimeout" + }, + { + "description": "m - Action", + "id": 368, + "trigger": "maction" + }, + { + "description": "m - Organization", + "id": 369, + "trigger": "morg" + }, + { + "description": "Logotype", + "id": 370, + "trigger": "zjsonld" + }, + { + "description": "Organization", + "id": 371, + "trigger": "zmicrodata" + }, + { + "description": "Article", + "id": 372, + "trigger": "zmicrodata" + }, + { + "description": "Book", + "id": 373, + "trigger": "zmicrodata" + }, + { + "description": "Game", + "id": 374, + "trigger": "zmicrodata" + }, + { + "description": "WebPage", + "id": 375, + "trigger": "zmicrodata" + }, + { + "description": "Breadcrumb", + "id": 376, + "trigger": "zrdfa" + } +] \ No newline at end of file From 815f9b3088854d7a4cb9562bf69c7ded2d43dba0 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 10:32:51 -0200 Subject: [PATCH 013/114] update: removing unnecessary dependency --- source/json-generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/json-generator.py b/source/json-generator.py index 6858a18..f8f5720 100644 --- a/source/json-generator.py +++ b/source/json-generator.py @@ -2,7 +2,7 @@ import os import fnmatch -from json import dumps, load +from json import dumps def writeJson(data, filename): try: From 0cbd2962fcaa7810e4dc554708550a2c58c7a551 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 12:09:17 -0200 Subject: [PATCH 014/114] update: filename --- .gitignore | 1 + .../{json-generator.py => json_generator.py} | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) rename source/{json-generator.py => json_generator.py} (52%) diff --git a/.gitignore b/.gitignore index e69de29..87ca444 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +source/json_generator.pyc diff --git a/source/json-generator.py b/source/json_generator.py similarity index 52% rename from source/json-generator.py rename to source/json_generator.py index f8f5720..b221376 100644 --- a/source/json-generator.py +++ b/source/json_generator.py @@ -21,15 +21,18 @@ def getDir(path, ext): matches.append(os.path.join(root, filename)) return matches +def getJson(): + result = [] + for count, file in enumerate(getDir('../snippets/', '*.sublime-snippet'), start=1): + line = open(file) + content = line.read() + trigger = content.split('')[1].split('')[0] + description = content.split('')[1].split('')[0] -result = [] -for count, file in enumerate(getDir('../snippets/', '*.sublime-snippet'), start=1): - line = open(file) - content = line.read() - trigger = content.split('')[1].split('')[0] - description = content.split('')[1].split('')[0] + result.append({'id':count, 'trigger':trigger, 'description':description}) - result.append({'id':count, 'trigger':trigger, 'description':description}) + return result -writeJson(result, "../snippets.json") + +writeJson(getJson(), "../snippets.json") From 17ab56385135622329b8d1d92f18bb5818c1ee08 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 12:10:30 -0200 Subject: [PATCH 015/114] fix: trigger duplicates --- .travis.yml | 2 +- snippets.json | 12 +++---- snippets/js/jquery/selectors/README.md | 2 +- .../jq-selectors-last-of-type.sublime-snippet | 2 +- snippets/js/jquery/utilities/README.md | 8 ++--- .../jq-utilities-parse-html.sublime-snippet | 2 +- .../jq-utilities-parse-json.sublime-snippet | 2 +- .../jq-utilities-parse-xml.sublime-snippet | 2 +- .../jq-utilities-type.sublime-snippet | 4 +-- tests/__init__.py | 0 tests/test.py | 34 ++++++++++++------- 11 files changed, 40 insertions(+), 30 deletions(-) create mode 100644 tests/__init__.py diff --git a/.travis.yml b/.travis.yml index af2633f..81fc333 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,4 +3,4 @@ python: - "3.3" #run tests -#script: python -m unittest +script: python -m unittest diff --git a/snippets.json b/snippets.json index 9fcec9b..c404a43 100644 --- a/snippets.json +++ b/snippets.json @@ -1267,7 +1267,7 @@ { "description": "jq - :last-of-type", "id": 254, - "trigger": "jq:lt" + "trigger": "jq:lty" }, { "description": "jq - :last", @@ -1617,17 +1617,17 @@ { "description": "jq - parseHTML", "id": 324, - "trigger": "jqparse" + "trigger": "zjqp" }, { "description": "jq - parseJSON", "id": 325, - "trigger": "jqparse" + "trigger": "zjqp" }, { "description": "jq - parseXML", "id": 326, - "trigger": "jqparse" + "trigger": "zjqp" }, { "description": "jq - proxy", @@ -1640,9 +1640,9 @@ "trigger": "jqtrim" }, { - "description": "jq - type", + "description": "jq - jQuery type", "id": 329, - "trigger": "jqtype" + "trigger": "jqjtype" }, { "description": "jq - unique", diff --git a/snippets/js/jquery/selectors/README.md b/snippets/js/jquery/selectors/README.md index 8b2bbf5..197a845 100644 --- a/snippets/js/jquery/selectors/README.md +++ b/snippets/js/jquery/selectors/README.md @@ -222,7 +222,7 @@ ${1:\$}("${2}:lang(${3:language})"); ${1:\$}("${2}:last-child"); ``` -### [jq:lt] :last-of-type +### [jq:lty] :last-of-type ```javascript ${1:\$}("${2}:last-of-type"); diff --git a/snippets/js/jquery/selectors/jq-selectors-last-of-type.sublime-snippet b/snippets/js/jquery/selectors/jq-selectors-last-of-type.sublime-snippet index 200a5a2..fe836b9 100644 --- a/snippets/js/jquery/selectors/jq-selectors-last-of-type.sublime-snippet +++ b/snippets/js/jquery/selectors/jq-selectors-last-of-type.sublime-snippet @@ -2,6 +2,6 @@ - jq:lt + jq:lty jq - :last-of-type diff --git a/snippets/js/jquery/utilities/README.md b/snippets/js/jquery/utilities/README.md index 77ca2d6..2cca5fe 100644 --- a/snippets/js/jquery/utilities/README.md +++ b/snippets/js/jquery/utilities/README.md @@ -108,19 +108,19 @@ ${1:\$}.noop(); ${1:\$}.now(); ``` -### [jqparse] parseHTML +### [zjqp] parseHTML ```javascript ${1:\$}.parseHTML(${2:data}${3:, context}${4:, keepScripts}); ``` -### [jqparse] parseJSON +### [zjqp] parseJSON ```javascript ${1:\$}.parseJSON(${2:json}); ``` -### [jqparse] parseXML +### [zjqp] parseXML ```javascript ${1:\$}.parseXML(${2:data}); @@ -138,7 +138,7 @@ ${1:\$}.proxy(${2:context}${3:, name}${4:, additionalArguments}); ${1:\$}.trim(${2:str}); ``` -### [jqtype] type +### [jqjtype] jQuery type ```javascript ${1:\$}.type(${2:obj}); diff --git a/snippets/js/jquery/utilities/jq-utilities-parse-html.sublime-snippet b/snippets/js/jquery/utilities/jq-utilities-parse-html.sublime-snippet index 09b552d..91e8b56 100644 --- a/snippets/js/jquery/utilities/jq-utilities-parse-html.sublime-snippet +++ b/snippets/js/jquery/utilities/jq-utilities-parse-html.sublime-snippet @@ -2,6 +2,6 @@ - jqparse + zjqp jq - parseHTML diff --git a/snippets/js/jquery/utilities/jq-utilities-parse-json.sublime-snippet b/snippets/js/jquery/utilities/jq-utilities-parse-json.sublime-snippet index a6b38c0..fe82f81 100644 --- a/snippets/js/jquery/utilities/jq-utilities-parse-json.sublime-snippet +++ b/snippets/js/jquery/utilities/jq-utilities-parse-json.sublime-snippet @@ -2,6 +2,6 @@ - jqparse + zjqp jq - parseJSON diff --git a/snippets/js/jquery/utilities/jq-utilities-parse-xml.sublime-snippet b/snippets/js/jquery/utilities/jq-utilities-parse-xml.sublime-snippet index 9375238..9e7c67b 100644 --- a/snippets/js/jquery/utilities/jq-utilities-parse-xml.sublime-snippet +++ b/snippets/js/jquery/utilities/jq-utilities-parse-xml.sublime-snippet @@ -2,6 +2,6 @@ - jqparse + zjqp jq - parseXML diff --git a/snippets/js/jquery/utilities/jq-utilities-type.sublime-snippet b/snippets/js/jquery/utilities/jq-utilities-type.sublime-snippet index 8e6bf8f..4f38bca 100644 --- a/snippets/js/jquery/utilities/jq-utilities-type.sublime-snippet +++ b/snippets/js/jquery/utilities/jq-utilities-type.sublime-snippet @@ -2,6 +2,6 @@ - jqtype - jq - type + jqjtype + jq - jQuery type diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test.py b/tests/test.py index b60c973..7c484d0 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,22 +1,32 @@ #!/usr/bin/env python3 +import sys +sys.path.append('../source/') +from json_generator import getJson +import json +import re import unittest -class TestStringMethods(unittest.TestCase): +def list_duplicates(seq): + seen = set() + seen_add = seen.add + # adds all elements it doesn't know yet to seen and all other to seen_twice + seen_twice = set( x for x in seq if x in seen or seen_add(x) ) + # turn the set into a list (as requested) + return list( seen_twice ) - def test_upper(self): - self.assertEqual('foo'.upper(), 'FOO') +class TestDuplicatesMethods(unittest.TestCase): - def test_isupper(self): - self.assertTrue('FOO'.isupper()) - self.assertFalse('Foo'.isupper()) + def test_duplicates(self): + json = getJson() + triggers = [] - def test_split(self): - s = 'hello world' - self.assertEqual(s.split(), ['hello', 'world']) - # check that s.split fails when the separator is not a string - with self.assertRaises(TypeError): - s.split(2) + for snippet in json: + trigger = snippet['trigger'] + if re.match(r'^z', trigger) is None: + triggers.append(trigger) + + self.assertEqual(list_duplicates(triggers), []) if __name__ == '__main__': unittest.main() From edb4ae7487dddf65026a713e89bafbf88c57c34f Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 12:19:47 -0200 Subject: [PATCH 016/114] fix: syntax game snippet --- .../structured-data-microdata-game.sublime-snippet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/structured-data/microdata/creative-work/structured-data-microdata-game.sublime-snippet b/snippets/structured-data/microdata/creative-work/structured-data-microdata-game.sublime-snippet index ed28874..a724733 100644 --- a/snippets/structured-data/microdata/creative-work/structured-data-microdata-game.sublime-snippet +++ b/snippets/structured-data/microdata/creative-work/structured-data-microdata-game.sublime-snippet @@ -3,7 +3,7 @@
Approx. Retail: - $17.99 + \$17.99 Where To Buy
@@ -11,7 +11,7 @@

Game Description:

Own it all as a high-flying trader in the fast-paced world of real estate. Tour the city for the hottest properties: sites, stations and utilities are all up for grabs. Invest in houses and hotels, then watch the rent come pouring in! Make deals with other players and look out for bargains at auction. There are many ways to get what you want. For really speedy dealers, use the speed die for a quick and intense game of Monopoly. So get on Go and trade your way to success!

Includes gameboard, 8 tokens, 28 Title Deed cards, 16 Chance cards, 16 Community Chest cards, money pack, 32 houses, 12 hotels, 2 dice and instructions

•Features a speed die for a faster, more intense game
•Includes the new token that was voted No. 1: the cat

For

-3 to 5 players
.

Ages 8 and up.

Monopoly and all related characters are trademarks of Hasbro.

+3 to 5 players .

Ages 8 and up.

Monopoly and all related characters are trademarks of Hasbro.
]]> zmicrodata From 003c5cc069a701e1362bde3653cf82132deb08bb Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 14:03:34 -0200 Subject: [PATCH 017/114] update: readme with gif --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 269750c..08a600d 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/LICENSE.md) [![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) +![animation](https://cloud.githubusercontent.com/assets/1963897/12556266/3a0effa0-c36c-11e5-999b-4f5568bffc0f.gif) + ## Install If you already have the [Package Control](http://wbond.net/sublime_packages/package_control) installed , just search for ***Front-end Project Snippets***. If you have not installed in the sublime, you can do it [here](http://wbond.net/sublime_packages/package_control/installation). From 3590dc1879314774c9df2981c994d09d91f6516c Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 14:13:55 -0200 Subject: [PATCH 018/114] update: width image test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 08a600d..f355b03 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/LICENSE.md) [![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) -![animation](https://cloud.githubusercontent.com/assets/1963897/12556266/3a0effa0-c36c-11e5-999b-4f5568bffc0f.gif) +![animation](https://cloud.githubusercontent.com/assets/1963897/12556266/3a0effa0-c36c-11e5-999b-4f5568bffc0f.gif | width=797) ## Install From 9b1d3b69c5cffee632e9730e4bea659377111cfd Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 25 Jan 2016 14:23:00 -0200 Subject: [PATCH 019/114] fix: image readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f355b03..08a600d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/LICENSE.md) [![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) -![animation](https://cloud.githubusercontent.com/assets/1963897/12556266/3a0effa0-c36c-11e5-999b-4f5568bffc0f.gif | width=797) +![animation](https://cloud.githubusercontent.com/assets/1963897/12556266/3a0effa0-c36c-11e5-999b-4f5568bffc0f.gif) ## Install From 1806d3aa027e576b2c81ab23284ef68e51a56994 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 05:01:40 -0200 Subject: [PATCH 020/114] add: js design patterns snippets --- README.md | 1 + snippets/js/patterns/README.md | 3 + .../js/patterns/design-patterns/README.md | 81 +++++++++++++++++++ ...js-design-patterns-command.sublime-snippet | 7 ++ ...esign-patterns-constructor.sublime-snippet | 7 ++ ...-design-patterns-decorator.sublime-snippet | 7 ++ .../js-design-patterns-facade.sublime-snippet | 7 ++ ...js-design-patterns-factory.sublime-snippet | 7 ++ ...-design-patterns-flyweight.sublime-snippet | 7 ++ ...s-design-patterns-mediator.sublime-snippet | 7 ++ .../js-design-patterns-mixin.sublime-snippet | 7 ++ .../js-design-patterns-module.sublime-snippet | 7 ++ ...s-design-patterns-observer.sublime-snippet | 7 ++ ...-design-patterns-prototype.sublime-snippet | 7 ++ ...-patterns-revealing-module.sublime-snippet | 7 ++ ...-design-patterns-singleton.sublime-snippet | 7 ++ 16 files changed, 176 insertions(+) create mode 100644 snippets/js/patterns/README.md create mode 100644 snippets/js/patterns/design-patterns/README.md create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-command.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-decorator.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-facade.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-module.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-revealing-module.sublime-snippet create mode 100644 snippets/js/patterns/design-patterns/js-design-patterns-singleton.sublime-snippet diff --git a/README.md b/README.md index 08a600d..15d4776 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text * (jQuery Boilerplate)[https://jqueryboilerplate.com/](https://jqueryboilerplate.com/) * (JSDuck) [https://github.com/senchalabs/jsduck](https://github.com/senchalabs/jsduck) * (idiomatic CSS) [https://github.com/necolas/idiomatic-css](https://github.com/necolas/idiomatic-css) +* (JS Design Patterns) [https://addyosmani.com/resources/essentialjsdesignpatterns/book/](https://addyosmani.com/resources/essentialjsdesignpatterns/book/) ## Contributing diff --git a/snippets/js/patterns/README.md b/snippets/js/patterns/README.md new file mode 100644 index 0000000..5c75813 --- /dev/null +++ b/snippets/js/patterns/README.md @@ -0,0 +1,3 @@ +# JavaScript Patterns Snippets + +- [Design patterns](design-patterns/) diff --git a/snippets/js/patterns/design-patterns/README.md b/snippets/js/patterns/design-patterns/README.md new file mode 100644 index 0000000..f935fe8 --- /dev/null +++ b/snippets/js/patterns/design-patterns/README.md @@ -0,0 +1,81 @@ +# JavaScript Patterns Snippets + +## Prefix `jdp.*` + +### [jdp.command] Command + +```javascript + +``` + +### [jdp.constructor] Contructor + +```javascript + +``` + +### [jdp.decorator] Decorator + +```javascript + +``` + +### [jdp.facade] Facade + +```javascript + +``` + +### [jdp.factory] Factory + +```javascript + +``` + +### [jdp.flyweight] Flyweight + +```javascript + +``` + +### [jdp.mediator] Mediator + +```javascript + +``` + +### [jdp.mixin] Mixin + +```javascript + +``` + +### [jdp.module] Module + +```javascript + +``` + +### [jdp.observer] Observer + +```javascript + +``` + +### [jdp.prototype] Prototype + +```javascript + +``` + +### [jdp.rmodule] Revealing Module + +```javascript + +``` + +### [jdp.singleton] Singleton + +```javascript + +``` diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-command.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-command.sublime-snippet new file mode 100644 index 0000000..bd6fe21 --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-command.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.command + jdp - Command + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet new file mode 100644 index 0000000..4d8069a --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.constructor + jdp - Constructor + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-decorator.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-decorator.sublime-snippet new file mode 100644 index 0000000..d5052eb --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-decorator.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.decorator + jdp - Decorator + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-facade.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-facade.sublime-snippet new file mode 100644 index 0000000..f6bb399 --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-facade.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.facade + jdp - Facade + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet new file mode 100644 index 0000000..a8d936a --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.factory + jdp - Factory + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet new file mode 100644 index 0000000..7dad98e --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.flyweight + jdp - Flyweight + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet new file mode 100644 index 0000000..3b260d8 --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.mediator + jdp - Mediator + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet new file mode 100644 index 0000000..96eaaa6 --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.mixin + jdp - Mixin + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-module.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-module.sublime-snippet new file mode 100644 index 0000000..2c1a409 --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-module.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.module + jdp - Module + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet new file mode 100644 index 0000000..5b751c7 --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.observer + jdp - Observer + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet new file mode 100644 index 0000000..14ef013 --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.prototype + jdp - Prototype + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-revealing-module.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-revealing-module.sublime-snippet new file mode 100644 index 0000000..a470c12 --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-revealing-module.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.rmodule + jdp - Revealing Module + diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-singleton.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-singleton.sublime-snippet new file mode 100644 index 0000000..a7eeb4d --- /dev/null +++ b/snippets/js/patterns/design-patterns/js-design-patterns-singleton.sublime-snippet @@ -0,0 +1,7 @@ + + + jdp.singleton + jdp - Singleton + From 8824d0574c843ef6c9ff7f257a20a81943e0f326 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 13:38:36 -0200 Subject: [PATCH 021/114] add: tdd snippets --- .../bdd-expect-to-be-contain.sublime-snippet | 7 -- .../bdd-expect-to-be-defined.sublime-snippet | 7 -- .../bdd-expect-to-be-falsy.sublime-snippet | 7 -- ...-expect-to-be-greater-than.sublime-snippet | 7 -- ...bdd-expect-to-be-less-than.sublime-snippet | 7 -- .../bdd-expect-to-be-nan.sublime-snippet | 7 -- .../bdd-expect-to-be-null.sublime-snippet | 7 -- .../bdd-expect-to-be-truthy.sublime-snippet | 7 -- ...bdd-expect-to-be-undefined.sublime-snippet | 7 -- .../bdd-expect-to-equal.sublime-snippet | 7 -- ...-to-have-been-called-times.sublime-snippet | 7 -- ...expect-to-have-been-called.sublime-snippet | 7 -- .../bdd-expect-to-match.sublime-snippet | 7 -- .../bdd-expect-to-throw-error.sublime-snippet | 7 -- .../bdd-expect-to-throw.sublime-snippet | 7 -- snippets/js/{bdd => tests}/README.md | 21 ++++- .../js/{bdd/expect => tests/bdd}/README.md | 40 +++++---- .../bdd-expect-to-be-close-to.sublime-snippet | 4 +- .../bdd-expect-to-be-contain.sublime-snippet | 7 ++ .../bdd-expect-to-be-defined.sublime-snippet | 7 ++ .../bdd-expect-to-be-falsy.sublime-snippet | 7 ++ ...-expect-to-be-greater-than.sublime-snippet | 7 ++ ...bdd-expect-to-be-less-than.sublime-snippet | 7 ++ .../bdd/bdd-expect-to-be-nan.sublime-snippet | 7 ++ .../bdd/bdd-expect-to-be-null.sublime-snippet | 7 ++ .../bdd-expect-to-be-truthy.sublime-snippet | 7 ++ ...bdd-expect-to-be-undefined.sublime-snippet | 7 ++ .../bdd}/bdd-expect-to-be.sublime-snippet | 4 +- .../bdd/bdd-expect-to-equal.sublime-snippet | 7 ++ ...-to-have-been-called-times.sublime-snippet | 7 ++ ...t-to-have-been-called-with.sublime-snippet | 4 +- ...expect-to-have-been-called.sublime-snippet | 7 ++ .../bdd/bdd-expect-to-match.sublime-snippet | 7 ++ .../bdd-expect-to-throw-error.sublime-snippet | 7 ++ .../bdd/bdd-expect-to-throw.sublime-snippet | 7 ++ .../js/{bdd => tests}/structure/README.md | 12 +-- ...ests-structure-after-each.sublime-snippet} | 4 +- ...sts-structure-before-each.sublime-snippet} | 4 +- .../tests-structure-describe.sublime-snippet} | 4 +- .../tests-structure-it.sublime-snippet} | 4 +- snippets/js/tests/tdd/README.md | 87 +++++++++++++++++++ .../tdd/tdd-assert-deep-equal.sublime-snippet | 7 ++ ...d-assert-deep-strict-equal.sublime-snippet | 7 ++ .../tdd-assert-does-not-throw.sublime-snippet | 7 ++ .../tdd/tdd-assert-equal.sublime-snippet | 7 ++ .../tests/tdd/tdd-assert-fail.sublime-snippet | 7 ++ .../tdd/tdd-assert-if-error.sublime-snippet | 7 ++ .../tdd-assert-not-deep-equal.sublime-snippet | 7 ++ ...sert-not-deep-strict-equal.sublime-snippet | 7 ++ .../tdd/tdd-assert-not-equal.sublime-snippet | 7 ++ ...dd-assert-not-strict-equal.sublime-snippet | 7 ++ .../tests/tdd/tdd-assert-ok.sublime-snippet | 7 ++ .../tdd-assert-strict-equal.sublime-snippet | 7 ++ .../tdd/tdd-assert-throws.sublime-snippet | 7 ++ .../js/tests/tdd/tdd-assert.sublime-snippet | 7 ++ 55 files changed, 349 insertions(+), 147 deletions(-) delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-be-contain.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-be-defined.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-be-falsy.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-be-greater-than.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-be-less-than.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-be-nan.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-be-null.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-be-truthy.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-be-undefined.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-equal.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-have-been-called-times.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-have-been-called.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-match.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-throw-error.sublime-snippet delete mode 100644 snippets/js/bdd/expect/bdd-expect-to-throw.sublime-snippet rename snippets/js/{bdd => tests}/README.md (57%) rename snippets/js/{bdd/expect => tests/bdd}/README.md (62%) rename snippets/js/{bdd/expect => tests/bdd}/bdd-expect-to-be-close-to.sublime-snippet (50%) create mode 100644 snippets/js/tests/bdd/bdd-expect-to-be-contain.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-be-defined.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-be-falsy.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-be-greater-than.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-be-less-than.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-be-nan.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-be-null.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-be-truthy.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-be-undefined.sublime-snippet rename snippets/js/{bdd/expect => tests/bdd}/bdd-expect-to-be.sublime-snippet (50%) create mode 100644 snippets/js/tests/bdd/bdd-expect-to-equal.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-have-been-called-times.sublime-snippet rename snippets/js/{bdd/expect => tests/bdd}/bdd-expect-to-have-been-called-with.sublime-snippet (50%) create mode 100644 snippets/js/tests/bdd/bdd-expect-to-have-been-called.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-match.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-throw-error.sublime-snippet create mode 100644 snippets/js/tests/bdd/bdd-expect-to-throw.sublime-snippet rename snippets/js/{bdd => tests}/structure/README.md (60%) rename snippets/js/{bdd/structure/bdd-after-each.sublime-snippet => tests/structure/tests-structure-after-each.sublime-snippet} (51%) rename snippets/js/{bdd/structure/bdd-before-each.sublime-snippet => tests/structure/tests-structure-before-each.sublime-snippet} (51%) rename snippets/js/{bdd/structure/bdd-describe.sublime-snippet => tests/structure/tests-structure-describe.sublime-snippet} (53%) rename snippets/js/{bdd/structure/bdd-it.sublime-snippet => tests/structure/tests-structure-it.sublime-snippet} (56%) create mode 100644 snippets/js/tests/tdd/README.md create mode 100644 snippets/js/tests/tdd/tdd-assert-deep-equal.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-deep-strict-equal.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-does-not-throw.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-equal.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-fail.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-if-error.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-not-deep-equal.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-not-deep-strict-equal.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-not-equal.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-not-strict-equal.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-ok.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-strict-equal.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert-throws.sublime-snippet create mode 100644 snippets/js/tests/tdd/tdd-assert.sublime-snippet diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-contain.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-be-contain.sublime-snippet deleted file mode 100644 index 0083628..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-be-contain.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bcontain - b - Expect toBeContain - diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-defined.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-be-defined.sublime-snippet deleted file mode 100644 index 7c73d9d..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-be-defined.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bdefined - b - Expect toBeDefined - diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-falsy.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-be-falsy.sublime-snippet deleted file mode 100644 index d352473..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-be-falsy.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bfalsy - b - Expect toBeFalsy - diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-greater-than.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-be-greater-than.sublime-snippet deleted file mode 100644 index 18d7543..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-be-greater-than.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bgreaterthan - b - Expect toBeGreaterThan - diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-less-than.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-be-less-than.sublime-snippet deleted file mode 100644 index 2a93f71..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-be-less-than.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - blessthan - b - Expect toBeLessThan - diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-nan.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-be-nan.sublime-snippet deleted file mode 100644 index fb76530..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-be-nan.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bnan - b - Expect toBeNaN - diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-null.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-be-null.sublime-snippet deleted file mode 100644 index fba3abf..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-be-null.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bnull - b - Expect toBeNull - diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-truthy.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-be-truthy.sublime-snippet deleted file mode 100644 index 41df4f9..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-be-truthy.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - btruthy - b - Expect toBeTruthy - diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-undefined.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-be-undefined.sublime-snippet deleted file mode 100644 index b789186..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-be-undefined.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bundefined - b - Expect toBeUndefined - diff --git a/snippets/js/bdd/expect/bdd-expect-to-equal.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-equal.sublime-snippet deleted file mode 100644 index bd61f60..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-equal.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bequal - b - Expect toEqual - diff --git a/snippets/js/bdd/expect/bdd-expect-to-have-been-called-times.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-have-been-called-times.sublime-snippet deleted file mode 100644 index bbc8e88..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-have-been-called-times.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bhbctimes - b - Expect toHaveBeenCalledTimes - diff --git a/snippets/js/bdd/expect/bdd-expect-to-have-been-called.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-have-been-called.sublime-snippet deleted file mode 100644 index fe6ef59..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-have-been-called.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bhbc - b - Expect toHaveBeenCalled - diff --git a/snippets/js/bdd/expect/bdd-expect-to-match.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-match.sublime-snippet deleted file mode 100644 index ab13afe..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-match.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bmatch - b - Expect toMatch - diff --git a/snippets/js/bdd/expect/bdd-expect-to-throw-error.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-throw-error.sublime-snippet deleted file mode 100644 index 1b26694..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-throw-error.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bthrowerror - b - Expect toThrowError - diff --git a/snippets/js/bdd/expect/bdd-expect-to-throw.sublime-snippet b/snippets/js/bdd/expect/bdd-expect-to-throw.sublime-snippet deleted file mode 100644 index 6d6d3ee..0000000 --- a/snippets/js/bdd/expect/bdd-expect-to-throw.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - bthrow - b - Expect toThrow - diff --git a/snippets/js/bdd/README.md b/snippets/js/tests/README.md similarity index 57% rename from snippets/js/bdd/README.md rename to snippets/js/tests/README.md index c8f3670..46a84c8 100644 --- a/snippets/js/bdd/README.md +++ b/snippets/js/tests/README.md @@ -1,13 +1,11 @@ -# BDD JavaScript Snippets - -## Prefix `b*` +# Tests JavaScript Snippets - [Structure](structure/) - afterEach - beforeEach - describe - it -- [Expect](expect/) +- [BDD](bdd/) (expect) - toBeCloseTo - toBeContain - toBeDefined @@ -26,3 +24,18 @@ - toMatch - toThrowError - toThrow +- [TDD](tdd/) (assert) + - assert + - ok + - deepEqual + - deepStrictEqual + - doesNotThrow + - equal + - fail + - ifError + - notDeepEqual + - notDeepStrictEqual + - notEqual + - notStrictEqual + - strictEqual + - throws diff --git a/snippets/js/bdd/expect/README.md b/snippets/js/tests/bdd/README.md similarity index 62% rename from snippets/js/bdd/expect/README.md rename to snippets/js/tests/bdd/README.md index 4dc2e29..6bdf23a 100644 --- a/snippets/js/bdd/expect/README.md +++ b/snippets/js/tests/bdd/README.md @@ -1,108 +1,110 @@ -## BDD Expect Snippets +# BDD JavaScript Snippets -### [bcloseto] toBeCloseTo +## Prefix `tb.*` + +### [tb.closeto] toBeCloseTo ```javascript expect(${1}).toBeCloseTo(${2}, ${3}); ``` -### [bcontain] toBeContain +### [tb.contain] toBeContain ```javascript expect(${1}).toBeContain(${2}); ``` -### [bdefined] toBeDefined +### [tb.defined] toBeDefined ```javascript expect(${1}).toBeDefined(); ``` -### [bfalsy] toBeFalsy +### [tb.falsy] toBeFalsy ```javascript expect(${1}).toBeFalsy(); ``` -### [bgreaterthan] toBeGreaterThan +### [tb.greaterthan] toBeGreaterThan ```javascript expect(${1}).toBeGreaterThan(${2}); ``` -### [blessthan] toBeLessThan +### [tb.lessthan] toBeLessThan ```javascript expect(${1}).toBeLessThan(${2}); ``` -### [bnan] toBeNaN +### [tb.nan] toBeNaN ```javascript expect(${1}).toBeNaN(); ``` -### [bnull] toBeNull +### [tb.null] toBeNull ```javascript expect(${1}).toBeNull(); ``` -### [btruthy] toBeTruthy +### [tb.truthy] toBeTruthy ```javascript expect(${1}).toBeTruthy(); ``` -### [bundefined] toBeUndefined +### [tb.undefined] toBeUndefined ```javascript expect(${1}).toBeUndefined(); ``` -### [btobe] toBe +### [tb.tobe] toBe ```javascript expect(${1}).toBe(${2}); ``` -### [bequal] toEqual +### [tb.equal] toEqual ```javascript expect(${1}).toEqual(${2}); ``` -### [bhbctimes] toHaveBeenCalledTimes +### [tb.hbctimes] toHaveBeenCalledTimes ```javascript expect(${1}).toHaveBeenCalledTimes(${2}); ``` -### [bhbcwith] toHaveBeenCalledWith +### [tb.hbcwith] toHaveBeenCalledWith ```javascript expect(${1}).toHaveBeenCalledWith(${2}, ${3}); ``` -### [bhbc] toHaveBeenCalled +### [tb.hbc] toHaveBeenCalled ```javascript expect(${1}).toHaveBeenCalled(); ``` -### [bmatch] toMatch +### [tb.match] toMatch ```javascript expect(${1}).toMatch(${2}); ``` -### [bthrowerror] toThrowError +### [tb.throwerror] toThrowError ```javascript expect(${1}).toThrowError(${2}); ``` -### [bthrow] toThrow +### [tb.throw] toThrow ```javascript expect(${1}).toThrow(${2}); diff --git a/snippets/js/bdd/expect/bdd-expect-to-be-close-to.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-close-to.sublime-snippet similarity index 50% rename from snippets/js/bdd/expect/bdd-expect-to-be-close-to.sublime-snippet rename to snippets/js/tests/bdd/bdd-expect-to-be-close-to.sublime-snippet index bb1155a..7f390d2 100644 --- a/snippets/js/bdd/expect/bdd-expect-to-be-close-to.sublime-snippet +++ b/snippets/js/tests/bdd/bdd-expect-to-be-close-to.sublime-snippet @@ -2,6 +2,6 @@ - bcloseto - b - Expect toBeCloseTo + tb.closeto + tb - Expect toBeCloseTo diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-contain.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-contain.sublime-snippet new file mode 100644 index 0000000..6938b2a --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-be-contain.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.contain + tb - Expect toBeContain + diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-defined.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-defined.sublime-snippet new file mode 100644 index 0000000..ca83e2e --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-be-defined.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.defined + tb - Expect toBeDefined + diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-falsy.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-falsy.sublime-snippet new file mode 100644 index 0000000..d87cf92 --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-be-falsy.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.falsy + tb - Expect toBeFalsy + diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-greater-than.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-greater-than.sublime-snippet new file mode 100644 index 0000000..64ab6bd --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-be-greater-than.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.greaterthan + tb - Expect toBeGreaterThan + diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-less-than.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-less-than.sublime-snippet new file mode 100644 index 0000000..faa6f45 --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-be-less-than.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.lessthan + tb - Expect toBeLessThan + diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-nan.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-nan.sublime-snippet new file mode 100644 index 0000000..66d333b --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-be-nan.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.nan + tb - Expect toBeNaN + diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-null.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-null.sublime-snippet new file mode 100644 index 0000000..5464221 --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-be-null.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.null + tb - Expect toBeNull + diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-truthy.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-truthy.sublime-snippet new file mode 100644 index 0000000..1a63b05 --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-be-truthy.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.truthy + tb - Expect toBeTruthy + diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-undefined.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be-undefined.sublime-snippet new file mode 100644 index 0000000..fda7e0d --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-be-undefined.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.undefined + tb - Expect toBeUndefined + diff --git a/snippets/js/bdd/expect/bdd-expect-to-be.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-be.sublime-snippet similarity index 50% rename from snippets/js/bdd/expect/bdd-expect-to-be.sublime-snippet rename to snippets/js/tests/bdd/bdd-expect-to-be.sublime-snippet index d76c408..433f027 100644 --- a/snippets/js/bdd/expect/bdd-expect-to-be.sublime-snippet +++ b/snippets/js/tests/bdd/bdd-expect-to-be.sublime-snippet @@ -2,6 +2,6 @@ - btobe - b - Expect toBe + tb.tobe + tb - Expect toBe diff --git a/snippets/js/tests/bdd/bdd-expect-to-equal.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-equal.sublime-snippet new file mode 100644 index 0000000..4396c58 --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.equal + tb - Expect toEqual + diff --git a/snippets/js/tests/bdd/bdd-expect-to-have-been-called-times.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-have-been-called-times.sublime-snippet new file mode 100644 index 0000000..33518b5 --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-have-been-called-times.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.hbctimes + tb - Expect toHaveBeenCalledTimes + diff --git a/snippets/js/bdd/expect/bdd-expect-to-have-been-called-with.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-have-been-called-with.sublime-snippet similarity index 50% rename from snippets/js/bdd/expect/bdd-expect-to-have-been-called-with.sublime-snippet rename to snippets/js/tests/bdd/bdd-expect-to-have-been-called-with.sublime-snippet index ca1e0f6..33d2261 100644 --- a/snippets/js/bdd/expect/bdd-expect-to-have-been-called-with.sublime-snippet +++ b/snippets/js/tests/bdd/bdd-expect-to-have-been-called-with.sublime-snippet @@ -2,6 +2,6 @@ - bhbcwith - b - Expect toHaveBeenCalledWith + tb.hbcwith + tb - Expect toHaveBeenCalledWith diff --git a/snippets/js/tests/bdd/bdd-expect-to-have-been-called.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-have-been-called.sublime-snippet new file mode 100644 index 0000000..15409b6 --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-have-been-called.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.hbc + tb - Expect toHaveBeenCalled + diff --git a/snippets/js/tests/bdd/bdd-expect-to-match.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-match.sublime-snippet new file mode 100644 index 0000000..d551430 --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-match.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.match + tb - Expect toMatch + diff --git a/snippets/js/tests/bdd/bdd-expect-to-throw-error.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-throw-error.sublime-snippet new file mode 100644 index 0000000..3777bdd --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-throw-error.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.throwerror + tb - Expect toThrowError + diff --git a/snippets/js/tests/bdd/bdd-expect-to-throw.sublime-snippet b/snippets/js/tests/bdd/bdd-expect-to-throw.sublime-snippet new file mode 100644 index 0000000..86c34ca --- /dev/null +++ b/snippets/js/tests/bdd/bdd-expect-to-throw.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.throw + tb - Expect toThrow + diff --git a/snippets/js/bdd/structure/README.md b/snippets/js/tests/structure/README.md similarity index 60% rename from snippets/js/bdd/structure/README.md rename to snippets/js/tests/structure/README.md index c807a3b..9dc5199 100644 --- a/snippets/js/bdd/structure/README.md +++ b/snippets/js/tests/structure/README.md @@ -1,6 +1,8 @@ -## BDD structure Snippets +# Tests structure Snippets -### [baftereach] afterEach +## Prefix ts.* + +### [ts.aftereach] afterEach ```javascript afterEach(function() { @@ -8,7 +10,7 @@ afterEach(function() { }); ``` -### [bbeforeeach] beforeEach +### [ts.beforeeach] beforeEach ```javascript beforeEach(function() { @@ -16,7 +18,7 @@ beforeEach(function() { }); ``` -### [bdescribe] describe +### [ts.describe] describe ```javascript describe("$1", function() { @@ -24,7 +26,7 @@ describe("$1", function() { }); ``` -### [bit] it +### [ts.it] it ```javascript it("${1}", function() { diff --git a/snippets/js/bdd/structure/bdd-after-each.sublime-snippet b/snippets/js/tests/structure/tests-structure-after-each.sublime-snippet similarity index 51% rename from snippets/js/bdd/structure/bdd-after-each.sublime-snippet rename to snippets/js/tests/structure/tests-structure-after-each.sublime-snippet index 9365aef..eee8179 100644 --- a/snippets/js/bdd/structure/bdd-after-each.sublime-snippet +++ b/snippets/js/tests/structure/tests-structure-after-each.sublime-snippet @@ -4,6 +4,6 @@ afterEach(function() { ${1} }); ]]> - baftereach - b - afterEach + ts.aftereach + ts - afterEach diff --git a/snippets/js/bdd/structure/bdd-before-each.sublime-snippet b/snippets/js/tests/structure/tests-structure-before-each.sublime-snippet similarity index 51% rename from snippets/js/bdd/structure/bdd-before-each.sublime-snippet rename to snippets/js/tests/structure/tests-structure-before-each.sublime-snippet index e91a8c2..e823690 100644 --- a/snippets/js/bdd/structure/bdd-before-each.sublime-snippet +++ b/snippets/js/tests/structure/tests-structure-before-each.sublime-snippet @@ -4,6 +4,6 @@ beforeEach(function() { ${1} }); ]]> - bbeforeeach - b - beforeEach + ts.beforeeach + ts - beforeEach diff --git a/snippets/js/bdd/structure/bdd-describe.sublime-snippet b/snippets/js/tests/structure/tests-structure-describe.sublime-snippet similarity index 53% rename from snippets/js/bdd/structure/bdd-describe.sublime-snippet rename to snippets/js/tests/structure/tests-structure-describe.sublime-snippet index 655dd96..42737d1 100644 --- a/snippets/js/bdd/structure/bdd-describe.sublime-snippet +++ b/snippets/js/tests/structure/tests-structure-describe.sublime-snippet @@ -4,6 +4,6 @@ describe("$1", function() { $2 }); ]]> - bdescribe - b - describe + ts.describe + ts - describe diff --git a/snippets/js/bdd/structure/bdd-it.sublime-snippet b/snippets/js/tests/structure/tests-structure-it.sublime-snippet similarity index 56% rename from snippets/js/bdd/structure/bdd-it.sublime-snippet rename to snippets/js/tests/structure/tests-structure-it.sublime-snippet index f82f04d..3b779e0 100644 --- a/snippets/js/bdd/structure/bdd-it.sublime-snippet +++ b/snippets/js/tests/structure/tests-structure-it.sublime-snippet @@ -4,6 +4,6 @@ it("${1}", function() { ${2} }); ]]> - bit - b - it + ts.it + ts - it diff --git a/snippets/js/tests/tdd/README.md b/snippets/js/tests/tdd/README.md new file mode 100644 index 0000000..e34473d --- /dev/null +++ b/snippets/js/tests/tdd/README.md @@ -0,0 +1,87 @@ +# TDD JavaScript Snippets + +## Prefix `tt.*` + +### [tt.dequal] deepEqual + +```javascript +assert.deepEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.dsequal] deepStrictEqual + +```javascript +assert.deepStrictEqual(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tt.dnthrow] doesNotThrow + +```javascript +assert.doesNotThrow(${1:block} ${2:, error} ${3:, message}); +``` + +### [tt.equal] equal + +```javascript +assert.equal(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tt.fail] fail + +```javascript +assert.fail(${1:actual}, ${2:expected}, ${3:message}, ${4:operator}); +``` + +### [tt.iferror] ifError + +```javascript +assert.ifError(${1:value}); +``` + +### [tt.ndequal] notDeepEqual + +```javascript +assert.notDeepEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.ndsequal] notDeepStrictEqual + +```javascript +assert.notDeepStrictEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.nequal] notEqual + +```javascript +assert.notEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.nsequal] notStrictEqual + +```javascript +assert.notStrictEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.ok] ok + +```javascript +assert.ok(${1:value}${2:, message}); +``` + +### [tt.sequal] strictEqual + +```javascript +assert.strictEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.throws] throws + +```javascript +assert.throws(${1:block}, ${1:error} ${2:, message}); +``` + +### [tt.a] Assert + +```javascript +assert(${1:true}${2:, message}); +``` diff --git a/snippets/js/tests/tdd/tdd-assert-deep-equal.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-deep-equal.sublime-snippet new file mode 100644 index 0000000..50b12f0 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-deep-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.dequal + tt - Assert deepEqual + diff --git a/snippets/js/tests/tdd/tdd-assert-deep-strict-equal.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-deep-strict-equal.sublime-snippet new file mode 100644 index 0000000..7a28770 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-deep-strict-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.dsequal + tt - Assert deepStrictEqual + diff --git a/snippets/js/tests/tdd/tdd-assert-does-not-throw.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-does-not-throw.sublime-snippet new file mode 100644 index 0000000..a8744ee --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-does-not-throw.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.dnthrow + tt - Assert doesNotThrow + diff --git a/snippets/js/tests/tdd/tdd-assert-equal.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-equal.sublime-snippet new file mode 100644 index 0000000..9ab1d87 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.equal + tt - Assert equal + diff --git a/snippets/js/tests/tdd/tdd-assert-fail.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-fail.sublime-snippet new file mode 100644 index 0000000..973115e --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-fail.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.fail + tt - Assert fail + diff --git a/snippets/js/tests/tdd/tdd-assert-if-error.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-if-error.sublime-snippet new file mode 100644 index 0000000..6c28e7a --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-if-error.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.iferror + tt - Assert ifError + diff --git a/snippets/js/tests/tdd/tdd-assert-not-deep-equal.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-not-deep-equal.sublime-snippet new file mode 100644 index 0000000..2772c83 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-not-deep-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.ndequal + tt - Assert notDeepEqual + diff --git a/snippets/js/tests/tdd/tdd-assert-not-deep-strict-equal.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-not-deep-strict-equal.sublime-snippet new file mode 100644 index 0000000..567f076 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-not-deep-strict-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.ndsequal + tt - Assert notDeepStrictEqual + diff --git a/snippets/js/tests/tdd/tdd-assert-not-equal.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-not-equal.sublime-snippet new file mode 100644 index 0000000..d23f092 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-not-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.nequal + tt - Assert notEqual + diff --git a/snippets/js/tests/tdd/tdd-assert-not-strict-equal.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-not-strict-equal.sublime-snippet new file mode 100644 index 0000000..c4971a1 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-not-strict-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.nsequal + tt - Assert notStrictEqual + diff --git a/snippets/js/tests/tdd/tdd-assert-ok.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-ok.sublime-snippet new file mode 100644 index 0000000..5952997 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-ok.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.ok + tt - Assert ok + diff --git a/snippets/js/tests/tdd/tdd-assert-strict-equal.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-strict-equal.sublime-snippet new file mode 100644 index 0000000..32e0501 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-strict-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.sequal + tt - Assert strictEqual + diff --git a/snippets/js/tests/tdd/tdd-assert-throws.sublime-snippet b/snippets/js/tests/tdd/tdd-assert-throws.sublime-snippet new file mode 100644 index 0000000..2b42ba4 --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert-throws.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.throws + tt - Assert throws + diff --git a/snippets/js/tests/tdd/tdd-assert.sublime-snippet b/snippets/js/tests/tdd/tdd-assert.sublime-snippet new file mode 100644 index 0000000..bc988dd --- /dev/null +++ b/snippets/js/tests/tdd/tdd-assert.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.a + tt - Assert + From 346e53babe8aa75a4a605826228d347f4dc3ec9b Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 13:39:48 -0200 Subject: [PATCH 022/114] update: changing folders --- snippets/js/libraries/README.md | 0 snippets/js/{ => libraries}/jquery/README.md | 0 snippets/js/{ => libraries}/jquery/ajax/README.md | 0 snippets/js/{ => libraries}/jquery/ajax/jq-ajax-1.sublime-snippet | 0 .../{ => libraries}/jquery/ajax/jq-ajax-complete.sublime-snippet | 0 .../js/{ => libraries}/jquery/ajax/jq-ajax-error.sublime-snippet | 0 .../{ => libraries}/jquery/ajax/jq-ajax-get-json.sublime-snippet | 0 .../jquery/ajax/jq-ajax-get-script.sublime-snippet | 0 .../js/{ => libraries}/jquery/ajax/jq-ajax-get.sublime-snippet | 0 .../js/{ => libraries}/jquery/ajax/jq-ajax-load.sublime-snippet | 0 .../js/{ => libraries}/jquery/ajax/jq-ajax-post.sublime-snippet | 0 .../{ => libraries}/jquery/ajax/jq-ajax-prefilter.sublime-snippet | 0 .../js/{ => libraries}/jquery/ajax/jq-ajax-send.sublime-snippet | 0 .../js/{ => libraries}/jquery/ajax/jq-ajax-setup.sublime-snippet | 0 .../js/{ => libraries}/jquery/ajax/jq-ajax-start.sublime-snippet | 0 .../js/{ => libraries}/jquery/ajax/jq-ajax-stop.sublime-snippet | 0 .../{ => libraries}/jquery/ajax/jq-ajax-success.sublime-snippet | 0 .../{ => libraries}/jquery/ajax/jq-ajax-transport.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/attributes/README.md | 0 .../jquery/attributes/jq-attributes-add-class.sublime-snippet | 0 .../jquery/attributes/jq-attributes-attr.sublime-snippet | 0 .../jquery/attributes/jq-attributes-has-class.sublime-snippet | 0 .../jquery/attributes/jq-attributes-html.sublime-snippet | 0 .../jquery/attributes/jq-attributes-prop.sublime-snippet | 0 .../jquery/attributes/jq-attributes-remove-attr.sublime-snippet | 0 .../jquery/attributes/jq-attributes-remove-class.sublime-snippet | 0 .../jquery/attributes/jq-attributes-remove-prop.sublime-snippet | 0 .../jquery/attributes/jq-attributes-toggle-class.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/callbacks/README.md | 0 .../jquery/callbacks/jq-callbacks-add.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-disable.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-disabled.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-empty.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-fire-with.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-fire.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-fired.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-has.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-lock.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-locked.sublime-snippet | 0 .../jquery/callbacks/jq-callbacks-remove.sublime-snippet | 0 .../{ => libraries}/jquery/callbacks/jq-callbacks.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/core/README.md | 0 .../jquery/core/jq-core-hold-heady.sublime-snippet | 0 .../js/{ => libraries}/jquery/core/jq-core-jquery.sublime-snippet | 0 .../jquery/core/jq-core-no-conflict.sublime-snippet | 0 .../js/{ => libraries}/jquery/core/jq-core-when.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/css/README.md | 0 .../js/{ => libraries}/jquery/css/jq-css-hooks.sublime-snippet | 0 .../js/{ => libraries}/jquery/css/jq-css-number.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/css/jq-css.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/data/README.md | 0 .../{ => libraries}/jquery/data/jq-data-has-data.sublime-snippet | 0 .../js/{ => libraries}/jquery/data/jq-data-jquery.sublime-snippet | 0 .../jquery/data/jq-data-remove-data-jquery.sublime-snippet | 0 .../jquery/data/jq-data-remove-data.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/data/jq-data.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/deferred/README.md | 0 .../jquery/deferred/jq-deferred-always.sublime-snippet | 0 .../jquery/deferred/jq-deferred-done.sublime-snippet | 0 .../jquery/deferred/jq-deferred-fail.sublime-snippet | 0 .../jquery/deferred/jq-deferred-notify-with.sublime-snippet | 0 .../jquery/deferred/jq-deferred-notify.sublime-snippet | 0 .../jquery/deferred/jq-deferred-progress.sublime-snippet | 0 .../jquery/deferred/jq-deferred-promise.sublime-snippet | 0 .../jquery/deferred/jq-deferred-reject-with.sublime-snippet | 0 .../jquery/deferred/jq-deferred-reject.sublime-snippet | 0 .../jquery/deferred/jq-deferred-resolve-with.sublime-snippet | 0 .../jquery/deferred/jq-deferred-resolve.sublime-snippet | 0 .../jquery/deferred/jq-deferred-state.sublime-snippet | 0 .../jquery/deferred/jq-deferred-then.sublime-snippet | 0 .../{ => libraries}/jquery/deferred/jq-deferred.sublime-snippet | 0 .../js/{ => libraries}/jquery/deferred/jq-promise.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/dimensions/README.md | 0 .../jquery/dimensions/jq-dimensions-height.sublime-snippet | 0 .../jquery/dimensions/jq-dimensions-inner-height.sublime-snippet | 0 .../jquery/dimensions/jq-dimensions-inner-width.sublime-snippet | 0 .../jquery/dimensions/jq-dimensions-outer-height.sublime-snippet | 0 .../jquery/dimensions/jq-dimensions-outer-width.sublime-snippet | 0 .../jquery/dimensions/jq-dimensions-width.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/effects/README.md | 0 .../jquery/effects/jq-effects-animate.sublime-snippet | 0 .../jquery/effects/jq-effects-clear-queue.sublime-snippet | 0 .../jquery/effects/jq-effects-delay.sublime-snippet | 0 .../jquery/effects/jq-effects-dequeue.sublime-snippet | 0 .../jquery/effects/jq-effects-fade-in.sublime-snippet | 0 .../jquery/effects/jq-effects-fade-out.sublime-snippet | 0 .../jquery/effects/jq-effects-fade-to.sublime-snippet | 0 .../jquery/effects/jq-effects-fade-toggle.sublime-snippet | 0 .../jquery/effects/jq-effects-finish.sublime-snippet | 0 .../jquery/effects/jq-effects-hide.sublime-snippet | 0 .../jquery/effects/jq-effects-queue.sublime-snippet | 0 .../jquery/effects/jq-effects-show.sublime-snippet | 0 .../jquery/effects/jq-effects-slide-down.sublime-snippet | 0 .../jquery/effects/jq-effects-slide-toggle.sublime-snippet | 0 .../jquery/effects/jq-effects-slide-up.sublime-snippet | 0 .../jquery/effects/jq-effects-stop.sublime-snippet | 0 .../jquery/effects/jq-effects-toggle.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/events/README.md | 0 .../{ => libraries}/jquery/events/jq-events-bind.sublime-snippet | 0 .../{ => libraries}/jquery/events/jq-events-click.sublime-snippet | 0 .../jquery/events/jq-events-context-menu.sublime-snippet | 0 .../jquery/events/jq-events-current-target.sublime-snippet | 0 .../{ => libraries}/jquery/events/jq-events-data.sublime-snippet | 0 .../jquery/events/jq-events-dbl-click.sublime-snippet | 0 .../jquery/events/jq-events-delegate-target.sublime-snippet | 0 .../jquery/events/jq-events-delegate.sublime-snippet | 0 .../{ => libraries}/jquery/events/jq-events-hover.sublime-snippet | 0 .../jquery/events/jq-events-is-default-prevented.sublime-snippet | 0 .../jq-events-is-immediate-propagation-stopped.sublime-snippet | 0 .../events/jq-events-is-propagation-stopped.sublime-snippet | 0 .../jquery/events/jq-events-key-down.sublime-snippet | 0 .../jquery/events/jq-events-key-press.sublime-snippet | 0 .../jquery/events/jq-events-key-up.sublime-snippet | 0 .../jquery/events/jq-events-meta-key.sublime-snippet | 0 .../jquery/events/jq-events-mouse-down.sublime-snippet | 0 .../jquery/events/jq-events-mouse-enter.sublime-snippet | 0 .../jquery/events/jq-events-mouse-leave.sublime-snippet | 0 .../jquery/events/jq-events-mouse-move.sublime-snippet | 0 .../jquery/events/jq-events-mouse-out.sublime-snippet | 0 .../jquery/events/jq-events-mouse-over.sublime-snippet | 0 .../jquery/events/jq-events-mouse-up.sublime-snippet | 0 .../jquery/events/jq-events-namespace.sublime-snippet | 0 .../{ => libraries}/jquery/events/jq-events-off.sublime-snippet | 0 .../js/{ => libraries}/jquery/events/jq-events-on.sublime-snippet | 0 .../{ => libraries}/jquery/events/jq-events-one.sublime-snippet | 0 .../jquery/events/jq-events-page-x.sublime-snippet | 0 .../jquery/events/jq-events-page-y.sublime-snippet | 0 .../jquery/events/jq-events-prevent-default.sublime-snippet | 0 .../{ => libraries}/jquery/events/jq-events-ready.sublime-snippet | 0 .../jquery/events/jq-events-related-target.sublime-snippet | 0 .../jquery/events/jq-events-resize.sublime-snippet | 0 .../jquery/events/jq-events-result.sublime-snippet | 0 .../jquery/events/jq-events-scroll.sublime-snippet | 0 .../events/jq-events-stop-immediate-propagation.sublime-snippet | 0 .../jquery/events/jq-events-stop-propagation.sublime-snippet | 0 .../jquery/events/jq-events-target.sublime-snippet | 0 .../jquery/events/jq-events-time-stamp.sublime-snippet | 0 .../jquery/events/jq-events-trigger-handler.sublime-snippet | 0 .../jquery/events/jq-events-trigger.sublime-snippet | 0 .../{ => libraries}/jquery/events/jq-events-type.sublime-snippet | 0 .../jquery/events/jq-events-unbind.sublime-snippet | 0 .../jquery/events/jq-events-undelegate.sublime-snippet | 0 .../{ => libraries}/jquery/events/jq-events-which.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/forms/README.md | 0 .../js/{ => libraries}/jquery/forms/jq-forms-blur.sublime-snippet | 0 .../{ => libraries}/jquery/forms/jq-forms-change.sublime-snippet | 0 .../jquery/forms/jq-forms-focus-in.sublime-snippet | 0 .../jquery/forms/jq-forms-focus-out.sublime-snippet | 0 .../{ => libraries}/jquery/forms/jq-forms-focus.sublime-snippet | 0 .../{ => libraries}/jquery/forms/jq-forms-param.sublime-snippet | 0 .../{ => libraries}/jquery/forms/jq-forms-select.sublime-snippet | 0 .../jquery/forms/jq-forms-serialize-array.sublime-snippet | 0 .../jquery/forms/jq-forms-serialize.sublime-snippet | 0 .../{ => libraries}/jquery/forms/jq-forms-submit.sublime-snippet | 0 .../js/{ => libraries}/jquery/forms/jq-forms-val.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/internals/README.md | 0 .../jquery/internals/jq-internals-error.sublime-snippet | 0 .../jquery/internals/jq-internals-push-stack.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/manipulation/README.md | 0 .../jquery/manipulation/jq-manipulation-after.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-append-to.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-append.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-before.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-clone.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-detach.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-empty.sublime-snippet | 0 .../manipulation/jq-manipulation-insert-after.sublime-snippet | 0 .../manipulation/jq-manipulation-insert-before.sublime-snippet | 0 .../manipulation/jq-manipulation-prepend-to.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-prepend.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-remove.sublime-snippet | 0 .../manipulation/jq-manipulation-replace-all.sublime-snippet | 0 .../manipulation/jq-manipulation-replace-with.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-text.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-unwrap.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet | 0 .../manipulation/jq-manipulation-wrap-inner.sublime-snippet | 0 .../jquery/manipulation/jq-manipulation-wrap.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/miscellaneous/README.md | 0 .../jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet | 0 .../jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet | 0 .../miscellaneous/jq-miscellaneous-to-array.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/offset/README.md | 0 .../jquery/offset/jq-offset-parent.sublime-snippet | 0 .../jquery/offset/jq-offset-position.sublime-snippet | 0 .../jquery/offset/jq-offset-scroll-left.sublime-snippet | 0 .../jquery/offset/jq-offset-scroll-top.sublime-snippet | 0 .../js/{ => libraries}/jquery/offset/jq-offset.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/properties/README.md | 0 .../jquery/properties/jq-properties-fx-interval.sublime-snippet | 0 .../jquery/properties/jq-properties-fx-off.sublime-snippet | 0 .../jquery/properties/jq-properties-jquery.sublime-snippet | 0 .../jquery/properties/jq-properties-length.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/selectors/README.md | 0 .../jquery/selectors/jq-selectors-all.sublime-snippet | 0 .../jquery/selectors/jq-selectors-animated.sublime-snippet | 0 ...q-selectors-attribute-contains-prefix-selector.sublime-snippet | 0 .../jq-selectors-attribute-contains-selector.sublime-snippet | 0 .../jq-selectors-attribute-contains-word-selector.sublime-snippet | 0 .../jq-selectors-attribute-ends-with-selector.sublime-snippet | 0 .../jq-selectors-attribute-equals-selector.sublime-snippet | 0 .../jq-selectors-attribute-not-equal-selector.sublime-snippet | 0 .../jq-selectors-attribute-starts-with-selector.sublime-snippet | 0 .../jquery/selectors/jq-selectors-button.sublime-snippet | 0 .../jquery/selectors/jq-selectors-checkbox.sublime-snippet | 0 .../jquery/selectors/jq-selectors-checked.sublime-snippet | 0 .../jquery/selectors/jq-selectors-child.sublime-snippet | 0 .../jquery/selectors/jq-selectors-class.sublime-snippet | 0 .../jquery/selectors/jq-selectors-contains.sublime-snippet | 0 .../jquery/selectors/jq-selectors-descendant.sublime-snippet | 0 .../jquery/selectors/jq-selectors-disabled.sublime-snippet | 0 .../jquery/selectors/jq-selectors-element.sublime-snippet | 0 .../jquery/selectors/jq-selectors-empty.sublime-snippet | 0 .../jquery/selectors/jq-selectors-enabled.sublime-snippet | 0 .../jquery/selectors/jq-selectors-eq.sublime-snippet | 0 .../jquery/selectors/jq-selectors-even.sublime-snippet | 0 .../jquery/selectors/jq-selectors-file.sublime-snippet | 0 .../jquery/selectors/jq-selectors-first-child.sublime-snippet | 0 .../jquery/selectors/jq-selectors-first-of-type.sublime-snippet | 0 .../jquery/selectors/jq-selectors-first.sublime-snippet | 0 .../jquery/selectors/jq-selectors-focus.sublime-snippet | 0 .../jquery/selectors/jq-selectors-gt.sublime-snippet | 0 .../selectors/jq-selectors-has-attribute-selector.sublime-snippet | 0 .../jquery/selectors/jq-selectors-has.sublime-snippet | 0 .../jquery/selectors/jq-selectors-header.sublime-snippet | 0 .../jquery/selectors/jq-selectors-hidden.sublime-snippet | 0 .../jquery/selectors/jq-selectors-id.sublime-snippet | 0 .../jquery/selectors/jq-selectors-image.sublime-snippet | 0 .../jquery/selectors/jq-selectors-input.sublime-snippet | 0 .../jquery/selectors/jq-selectors-lang.sublime-snippet | 0 .../jquery/selectors/jq-selectors-last-child.sublime-snippet | 0 .../jquery/selectors/jq-selectors-last-of-type.sublime-snippet | 0 .../jquery/selectors/jq-selectors-last.sublime-snippet | 0 .../jquery/selectors/jq-selectors-lt.sublime-snippet | 0 .../jq-selectors-multiple-attribute-selector.sublime-snippet | 0 .../selectors/jq-selectors-multiple-selector.sublime-snippet | 0 .../selectors/jq-selectors-next-adjacent-selector.sublime-snippet | 0 .../selectors/jq-selectors-next-siblings-selector.sublime-snippet | 0 .../jquery/selectors/jq-selectors-not.sublime-snippet | 0 .../jquery/selectors/jq-selectors-nth-child.sublime-snippet | 0 .../jquery/selectors/jq-selectors-nth-last-child.sublime-snippet | 0 .../selectors/jq-selectors-nth-last-of-type.sublime-snippet | 0 .../jquery/selectors/jq-selectors-nth-of-type.sublime-snippet | 0 .../jquery/selectors/jq-selectors-odd.sublime-snippet | 0 .../jquery/selectors/jq-selectors-only-child.sublime-snippet | 0 .../jquery/selectors/jq-selectors-only-of-type.sublime-snippet | 0 .../jquery/selectors/jq-selectors-parent.sublime-snippet | 0 .../jquery/selectors/jq-selectors-password.sublime-snippet | 0 .../jquery/selectors/jq-selectors-radio.sublime-snippet | 0 .../jquery/selectors/jq-selectors-reset.sublime-snippet | 0 .../jquery/selectors/jq-selectors-root.sublime-snippet | 0 .../jquery/selectors/jq-selectors-selected.sublime-snippet | 0 .../jquery/selectors/jq-selectors-submit.sublime-snippet | 0 .../jquery/selectors/jq-selectors-target.sublime-snippet | 0 .../jquery/selectors/jq-selectors-text.sublime-snippet | 0 .../jquery/selectors/jq-selectors-visible.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/traversing/README.md | 0 .../jquery/traversing/jq-traversing-add-back.sublime-snippet | 0 .../jquery/traversing/jq-traversing-add.sublime-snippet | 0 .../jquery/traversing/jq-traversing-children.sublime-snippet | 0 .../jquery/traversing/jq-traversing-closest.sublime-snippet | 0 .../jquery/traversing/jq-traversing-contents.sublime-snippet | 0 .../jquery/traversing/jq-traversing-each.sublime-snippet | 0 .../jquery/traversing/jq-traversing-end.sublime-snippet | 0 .../jquery/traversing/jq-traversing-eq.sublime-snippet | 0 .../jquery/traversing/jq-traversing-filter.sublime-snippet | 0 .../jquery/traversing/jq-traversing-find.sublime-snippet | 0 .../jquery/traversing/jq-traversing-first.sublime-snippet | 0 .../jquery/traversing/jq-traversing-has.sublime-snippet | 0 .../jquery/traversing/jq-traversing-is.sublime-snippet | 0 .../jquery/traversing/jq-traversing-last.sublime-snippet | 0 .../jquery/traversing/jq-traversing-map.sublime-snippet | 0 .../jquery/traversing/jq-traversing-next-all.sublime-snippet | 0 .../jquery/traversing/jq-traversing-next-until.sublime-snippet | 0 .../jquery/traversing/jq-traversing-next.sublime-snippet | 0 .../jquery/traversing/jq-traversing-not.sublime-snippet | 0 .../jquery/traversing/jq-traversing-parent.sublime-snippet | 0 .../jquery/traversing/jq-traversing-parents-until.sublime-snippet | 0 .../jquery/traversing/jq-traversing-parents.sublime-snippet | 0 .../jquery/traversing/jq-traversing-prev-all.sublime-snippet | 0 .../jquery/traversing/jq-traversing-prev-until.sublime-snippet | 0 .../jquery/traversing/jq-traversing-prev.sublime-snippet | 0 .../jquery/traversing/jq-traversing-siblings.sublime-snippet | 0 .../jquery/traversing/jq-traversing-slice.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/utilities/README.md | 0 .../jquery/utilities/jq-utilities-contains.sublime-snippet | 0 .../jquery/utilities/jq-utilities-each.sublime-snippet | 0 .../jquery/utilities/jq-utilities-extend.sublime-snippet | 0 .../jquery/utilities/jq-utilities-fn-extend.sublime-snippet | 0 .../jquery/utilities/jq-utilities-global-eval.sublime-snippet | 0 .../jquery/utilities/jq-utilities-grep.sublime-snippet | 0 .../jquery/utilities/jq-utilities-in-array.sublime-snippet | 0 .../jquery/utilities/jq-utilities-is-empty-object.sublime-snippet | 0 .../jquery/utilities/jq-utilities-is-function.sublime-snippet | 0 .../jquery/utilities/jq-utilities-is-numeric.sublime-snippet | 0 .../jquery/utilities/jq-utilities-is-plain-object.sublime-snippet | 0 .../jquery/utilities/jq-utilities-is-window.sublime-snippet | 0 .../jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet | 0 .../jquery/utilities/jq-utilities-make-array.sublime-snippet | 0 .../jquery/utilities/jq-utilities-map.sublime-snippet | 0 .../jquery/utilities/jq-utilities-merge.sublime-snippet | 0 .../jquery/utilities/jq-utilities-noop.sublime-snippet | 0 .../jquery/utilities/jq-utilities-now.sublime-snippet | 0 .../jquery/utilities/jq-utilities-parse-html.sublime-snippet | 0 .../jquery/utilities/jq-utilities-parse-json.sublime-snippet | 0 .../jquery/utilities/jq-utilities-parse-xml.sublime-snippet | 0 .../jquery/utilities/jq-utilities-proxy.sublime-snippet | 0 .../jquery/utilities/jq-utilities-trim.sublime-snippet | 0 .../jquery/utilities/jq-utilities-type.sublime-snippet | 0 .../jquery/utilities/jq-utilities-unique.sublime-snippet | 0 snippets/js/{ => libraries}/jquery/zothers/README.md | 0 .../{ => libraries}/jquery/zothers/jq-boilerplate.sublime-snippet | 0 312 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 snippets/js/libraries/README.md rename snippets/js/{ => libraries}/jquery/README.md (100%) rename snippets/js/{ => libraries}/jquery/ajax/README.md (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-1.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-complete.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-error.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-get-json.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-get-script.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-get.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-load.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-post.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-prefilter.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-send.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-setup.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-start.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-stop.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-success.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/ajax/jq-ajax-transport.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/attributes/README.md (100%) rename snippets/js/{ => libraries}/jquery/attributes/jq-attributes-add-class.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/attributes/jq-attributes-attr.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/attributes/jq-attributes-has-class.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/attributes/jq-attributes-html.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/attributes/jq-attributes-prop.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/attributes/jq-attributes-remove-attr.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/attributes/jq-attributes-remove-class.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/attributes/jq-attributes-remove-prop.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/attributes/jq-attributes-toggle-class.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/README.md (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-add.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-disable.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-disabled.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-empty.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-fire-with.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-fire.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-fired.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-has.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-lock.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-locked.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks-remove.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/callbacks/jq-callbacks.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/core/README.md (100%) rename snippets/js/{ => libraries}/jquery/core/jq-core-hold-heady.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/core/jq-core-jquery.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/core/jq-core-no-conflict.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/core/jq-core-when.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/css/README.md (100%) rename snippets/js/{ => libraries}/jquery/css/jq-css-hooks.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/css/jq-css-number.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/css/jq-css.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/data/README.md (100%) rename snippets/js/{ => libraries}/jquery/data/jq-data-has-data.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/data/jq-data-jquery.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/data/jq-data-remove-data-jquery.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/data/jq-data-remove-data.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/data/jq-data.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/README.md (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-always.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-done.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-fail.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-notify-with.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-notify.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-progress.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-promise.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-reject-with.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-reject.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-resolve-with.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-resolve.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-state.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred-then.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-deferred.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/deferred/jq-promise.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/dimensions/README.md (100%) rename snippets/js/{ => libraries}/jquery/dimensions/jq-dimensions-height.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/dimensions/jq-dimensions-inner-height.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/dimensions/jq-dimensions-inner-width.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/dimensions/jq-dimensions-outer-height.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/dimensions/jq-dimensions-outer-width.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/dimensions/jq-dimensions-width.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/README.md (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-animate.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-clear-queue.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-delay.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-dequeue.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-fade-in.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-fade-out.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-fade-to.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-fade-toggle.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-finish.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-hide.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-queue.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-show.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-slide-down.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-slide-toggle.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-slide-up.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-stop.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/effects/jq-effects-toggle.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/README.md (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-bind.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-click.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-context-menu.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-current-target.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-data.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-dbl-click.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-delegate-target.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-delegate.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-hover.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-is-default-prevented.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-is-immediate-propagation-stopped.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-is-propagation-stopped.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-key-down.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-key-press.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-key-up.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-meta-key.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-mouse-down.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-mouse-enter.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-mouse-leave.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-mouse-move.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-mouse-out.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-mouse-over.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-mouse-up.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-namespace.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-off.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-on.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-one.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-page-x.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-page-y.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-prevent-default.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-ready.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-related-target.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-resize.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-result.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-scroll.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-stop-immediate-propagation.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-stop-propagation.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-target.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-time-stamp.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-trigger-handler.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-trigger.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-type.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-unbind.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-undelegate.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/events/jq-events-which.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/README.md (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-blur.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-change.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-focus-in.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-focus-out.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-focus.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-param.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-select.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-serialize-array.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-serialize.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-submit.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/forms/jq-forms-val.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/internals/README.md (100%) rename snippets/js/{ => libraries}/jquery/internals/jq-internals-error.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/internals/jq-internals-push-stack.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/README.md (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-after.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-append-to.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-append.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-before.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-clone.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-detach.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-empty.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-insert-after.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-insert-before.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-prepend-to.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-prepend.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-remove.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-replace-all.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-replace-with.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-text.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-unwrap.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-wrap-inner.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/manipulation/jq-manipulation-wrap.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/miscellaneous/README.md (100%) rename snippets/js/{ => libraries}/jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/miscellaneous/jq-miscellaneous-to-array.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/offset/README.md (100%) rename snippets/js/{ => libraries}/jquery/offset/jq-offset-parent.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/offset/jq-offset-position.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/offset/jq-offset-scroll-left.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/offset/jq-offset-scroll-top.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/offset/jq-offset.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/properties/README.md (100%) rename snippets/js/{ => libraries}/jquery/properties/jq-properties-fx-interval.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/properties/jq-properties-fx-off.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/properties/jq-properties-jquery.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/properties/jq-properties-length.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/README.md (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-all.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-animated.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-attribute-contains-prefix-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-attribute-contains-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-attribute-contains-word-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-attribute-ends-with-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-attribute-equals-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-attribute-not-equal-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-attribute-starts-with-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-button.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-checkbox.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-checked.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-child.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-class.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-contains.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-descendant.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-disabled.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-element.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-empty.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-enabled.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-eq.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-even.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-file.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-first-child.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-first-of-type.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-first.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-focus.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-gt.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-has-attribute-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-has.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-header.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-hidden.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-id.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-image.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-input.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-lang.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-last-child.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-last-of-type.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-last.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-lt.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-multiple-attribute-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-multiple-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-next-adjacent-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-not.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-nth-child.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-nth-last-child.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-nth-last-of-type.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-nth-of-type.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-odd.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-only-child.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-only-of-type.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-parent.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-password.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-radio.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-reset.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-root.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-selected.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-submit.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-target.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-text.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/selectors/jq-selectors-visible.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/README.md (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-add-back.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-add.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-children.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-closest.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-contents.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-each.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-end.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-eq.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-filter.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-find.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-first.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-has.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-is.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-last.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-map.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-next-all.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-next-until.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-next.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-not.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-parent.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-parents-until.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-parents.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-prev-all.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-prev-until.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-prev.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-siblings.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/traversing/jq-traversing-slice.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/README.md (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-contains.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-each.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-extend.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-fn-extend.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-global-eval.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-grep.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-in-array.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-is-empty-object.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-is-function.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-is-numeric.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-is-plain-object.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-is-window.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-make-array.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-map.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-merge.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-noop.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-now.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-parse-html.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-parse-json.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-parse-xml.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-proxy.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-trim.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-type.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/utilities/jq-utilities-unique.sublime-snippet (100%) rename snippets/js/{ => libraries}/jquery/zothers/README.md (100%) rename snippets/js/{ => libraries}/jquery/zothers/jq-boilerplate.sublime-snippet (100%) diff --git a/snippets/js/libraries/README.md b/snippets/js/libraries/README.md new file mode 100644 index 0000000..e69de29 diff --git a/snippets/js/jquery/README.md b/snippets/js/libraries/jquery/README.md similarity index 100% rename from snippets/js/jquery/README.md rename to snippets/js/libraries/jquery/README.md diff --git a/snippets/js/jquery/ajax/README.md b/snippets/js/libraries/jquery/ajax/README.md similarity index 100% rename from snippets/js/jquery/ajax/README.md rename to snippets/js/libraries/jquery/ajax/README.md diff --git a/snippets/js/jquery/ajax/jq-ajax-1.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-1.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-1.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-1.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-complete.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-complete.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-complete.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-complete.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-error.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-error.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-error.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-error.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-get-json.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-get-json.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-get-json.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-get-json.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-get-script.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-get-script.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-get-script.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-get-script.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-get.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-get.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-get.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-get.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-load.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-load.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-load.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-load.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-post.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-post.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-post.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-post.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-prefilter.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-prefilter.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-prefilter.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-prefilter.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-send.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-send.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-send.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-send.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-setup.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-setup.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-setup.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-setup.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-start.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-start.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-start.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-start.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-stop.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-stop.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-stop.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-stop.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-success.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-success.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-success.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-success.sublime-snippet diff --git a/snippets/js/jquery/ajax/jq-ajax-transport.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-transport.sublime-snippet similarity index 100% rename from snippets/js/jquery/ajax/jq-ajax-transport.sublime-snippet rename to snippets/js/libraries/jquery/ajax/jq-ajax-transport.sublime-snippet diff --git a/snippets/js/jquery/attributes/README.md b/snippets/js/libraries/jquery/attributes/README.md similarity index 100% rename from snippets/js/jquery/attributes/README.md rename to snippets/js/libraries/jquery/attributes/README.md diff --git a/snippets/js/jquery/attributes/jq-attributes-add-class.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-add-class.sublime-snippet similarity index 100% rename from snippets/js/jquery/attributes/jq-attributes-add-class.sublime-snippet rename to snippets/js/libraries/jquery/attributes/jq-attributes-add-class.sublime-snippet diff --git a/snippets/js/jquery/attributes/jq-attributes-attr.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-attr.sublime-snippet similarity index 100% rename from snippets/js/jquery/attributes/jq-attributes-attr.sublime-snippet rename to snippets/js/libraries/jquery/attributes/jq-attributes-attr.sublime-snippet diff --git a/snippets/js/jquery/attributes/jq-attributes-has-class.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-has-class.sublime-snippet similarity index 100% rename from snippets/js/jquery/attributes/jq-attributes-has-class.sublime-snippet rename to snippets/js/libraries/jquery/attributes/jq-attributes-has-class.sublime-snippet diff --git a/snippets/js/jquery/attributes/jq-attributes-html.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-html.sublime-snippet similarity index 100% rename from snippets/js/jquery/attributes/jq-attributes-html.sublime-snippet rename to snippets/js/libraries/jquery/attributes/jq-attributes-html.sublime-snippet diff --git a/snippets/js/jquery/attributes/jq-attributes-prop.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-prop.sublime-snippet similarity index 100% rename from snippets/js/jquery/attributes/jq-attributes-prop.sublime-snippet rename to snippets/js/libraries/jquery/attributes/jq-attributes-prop.sublime-snippet diff --git a/snippets/js/jquery/attributes/jq-attributes-remove-attr.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-remove-attr.sublime-snippet similarity index 100% rename from snippets/js/jquery/attributes/jq-attributes-remove-attr.sublime-snippet rename to snippets/js/libraries/jquery/attributes/jq-attributes-remove-attr.sublime-snippet diff --git a/snippets/js/jquery/attributes/jq-attributes-remove-class.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-remove-class.sublime-snippet similarity index 100% rename from snippets/js/jquery/attributes/jq-attributes-remove-class.sublime-snippet rename to snippets/js/libraries/jquery/attributes/jq-attributes-remove-class.sublime-snippet diff --git a/snippets/js/jquery/attributes/jq-attributes-remove-prop.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-remove-prop.sublime-snippet similarity index 100% rename from snippets/js/jquery/attributes/jq-attributes-remove-prop.sublime-snippet rename to snippets/js/libraries/jquery/attributes/jq-attributes-remove-prop.sublime-snippet diff --git a/snippets/js/jquery/attributes/jq-attributes-toggle-class.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-toggle-class.sublime-snippet similarity index 100% rename from snippets/js/jquery/attributes/jq-attributes-toggle-class.sublime-snippet rename to snippets/js/libraries/jquery/attributes/jq-attributes-toggle-class.sublime-snippet diff --git a/snippets/js/jquery/callbacks/README.md b/snippets/js/libraries/jquery/callbacks/README.md similarity index 100% rename from snippets/js/jquery/callbacks/README.md rename to snippets/js/libraries/jquery/callbacks/README.md diff --git a/snippets/js/jquery/callbacks/jq-callbacks-add.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-add.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-add.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-add.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-disable.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-disable.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-disable.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-disable.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-disabled.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-disabled.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-disabled.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-disabled.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-empty.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-empty.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-empty.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-empty.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-fire-with.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire-with.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-fire-with.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-fire-with.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-fire.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-fire.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-fire.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-fired.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-fired.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-fired.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-fired.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-has.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-has.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-has.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-has.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-lock.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-lock.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-lock.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-lock.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-locked.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-locked.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-locked.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-locked.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks-remove.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-remove.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks-remove.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks-remove.sublime-snippet diff --git a/snippets/js/jquery/callbacks/jq-callbacks.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks.sublime-snippet similarity index 100% rename from snippets/js/jquery/callbacks/jq-callbacks.sublime-snippet rename to snippets/js/libraries/jquery/callbacks/jq-callbacks.sublime-snippet diff --git a/snippets/js/jquery/core/README.md b/snippets/js/libraries/jquery/core/README.md similarity index 100% rename from snippets/js/jquery/core/README.md rename to snippets/js/libraries/jquery/core/README.md diff --git a/snippets/js/jquery/core/jq-core-hold-heady.sublime-snippet b/snippets/js/libraries/jquery/core/jq-core-hold-heady.sublime-snippet similarity index 100% rename from snippets/js/jquery/core/jq-core-hold-heady.sublime-snippet rename to snippets/js/libraries/jquery/core/jq-core-hold-heady.sublime-snippet diff --git a/snippets/js/jquery/core/jq-core-jquery.sublime-snippet b/snippets/js/libraries/jquery/core/jq-core-jquery.sublime-snippet similarity index 100% rename from snippets/js/jquery/core/jq-core-jquery.sublime-snippet rename to snippets/js/libraries/jquery/core/jq-core-jquery.sublime-snippet diff --git a/snippets/js/jquery/core/jq-core-no-conflict.sublime-snippet b/snippets/js/libraries/jquery/core/jq-core-no-conflict.sublime-snippet similarity index 100% rename from snippets/js/jquery/core/jq-core-no-conflict.sublime-snippet rename to snippets/js/libraries/jquery/core/jq-core-no-conflict.sublime-snippet diff --git a/snippets/js/jquery/core/jq-core-when.sublime-snippet b/snippets/js/libraries/jquery/core/jq-core-when.sublime-snippet similarity index 100% rename from snippets/js/jquery/core/jq-core-when.sublime-snippet rename to snippets/js/libraries/jquery/core/jq-core-when.sublime-snippet diff --git a/snippets/js/jquery/css/README.md b/snippets/js/libraries/jquery/css/README.md similarity index 100% rename from snippets/js/jquery/css/README.md rename to snippets/js/libraries/jquery/css/README.md diff --git a/snippets/js/jquery/css/jq-css-hooks.sublime-snippet b/snippets/js/libraries/jquery/css/jq-css-hooks.sublime-snippet similarity index 100% rename from snippets/js/jquery/css/jq-css-hooks.sublime-snippet rename to snippets/js/libraries/jquery/css/jq-css-hooks.sublime-snippet diff --git a/snippets/js/jquery/css/jq-css-number.sublime-snippet b/snippets/js/libraries/jquery/css/jq-css-number.sublime-snippet similarity index 100% rename from snippets/js/jquery/css/jq-css-number.sublime-snippet rename to snippets/js/libraries/jquery/css/jq-css-number.sublime-snippet diff --git a/snippets/js/jquery/css/jq-css.sublime-snippet b/snippets/js/libraries/jquery/css/jq-css.sublime-snippet similarity index 100% rename from snippets/js/jquery/css/jq-css.sublime-snippet rename to snippets/js/libraries/jquery/css/jq-css.sublime-snippet diff --git a/snippets/js/jquery/data/README.md b/snippets/js/libraries/jquery/data/README.md similarity index 100% rename from snippets/js/jquery/data/README.md rename to snippets/js/libraries/jquery/data/README.md diff --git a/snippets/js/jquery/data/jq-data-has-data.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data-has-data.sublime-snippet similarity index 100% rename from snippets/js/jquery/data/jq-data-has-data.sublime-snippet rename to snippets/js/libraries/jquery/data/jq-data-has-data.sublime-snippet diff --git a/snippets/js/jquery/data/jq-data-jquery.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data-jquery.sublime-snippet similarity index 100% rename from snippets/js/jquery/data/jq-data-jquery.sublime-snippet rename to snippets/js/libraries/jquery/data/jq-data-jquery.sublime-snippet diff --git a/snippets/js/jquery/data/jq-data-remove-data-jquery.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data-remove-data-jquery.sublime-snippet similarity index 100% rename from snippets/js/jquery/data/jq-data-remove-data-jquery.sublime-snippet rename to snippets/js/libraries/jquery/data/jq-data-remove-data-jquery.sublime-snippet diff --git a/snippets/js/jquery/data/jq-data-remove-data.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data-remove-data.sublime-snippet similarity index 100% rename from snippets/js/jquery/data/jq-data-remove-data.sublime-snippet rename to snippets/js/libraries/jquery/data/jq-data-remove-data.sublime-snippet diff --git a/snippets/js/jquery/data/jq-data.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data.sublime-snippet similarity index 100% rename from snippets/js/jquery/data/jq-data.sublime-snippet rename to snippets/js/libraries/jquery/data/jq-data.sublime-snippet diff --git a/snippets/js/jquery/deferred/README.md b/snippets/js/libraries/jquery/deferred/README.md similarity index 100% rename from snippets/js/jquery/deferred/README.md rename to snippets/js/libraries/jquery/deferred/README.md diff --git a/snippets/js/jquery/deferred/jq-deferred-always.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-always.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-always.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-always.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-done.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-done.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-done.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-done.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-fail.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-fail.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-fail.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-fail.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-notify-with.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-notify-with.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-notify-with.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-notify-with.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-notify.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-notify.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-notify.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-notify.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-progress.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-progress.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-progress.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-progress.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-promise.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-promise.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-promise.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-promise.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-reject-with.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-reject-with.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-reject-with.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-reject-with.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-reject.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-reject.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-reject.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-reject.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-resolve-with.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-resolve-with.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-resolve-with.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-resolve-with.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-resolve.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-resolve.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-resolve.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-resolve.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-state.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-state.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-state.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-state.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred-then.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-then.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred-then.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred-then.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-deferred.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-deferred.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-deferred.sublime-snippet diff --git a/snippets/js/jquery/deferred/jq-promise.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-promise.sublime-snippet similarity index 100% rename from snippets/js/jquery/deferred/jq-promise.sublime-snippet rename to snippets/js/libraries/jquery/deferred/jq-promise.sublime-snippet diff --git a/snippets/js/jquery/dimensions/README.md b/snippets/js/libraries/jquery/dimensions/README.md similarity index 100% rename from snippets/js/jquery/dimensions/README.md rename to snippets/js/libraries/jquery/dimensions/README.md diff --git a/snippets/js/jquery/dimensions/jq-dimensions-height.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-height.sublime-snippet similarity index 100% rename from snippets/js/jquery/dimensions/jq-dimensions-height.sublime-snippet rename to snippets/js/libraries/jquery/dimensions/jq-dimensions-height.sublime-snippet diff --git a/snippets/js/jquery/dimensions/jq-dimensions-inner-height.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-height.sublime-snippet similarity index 100% rename from snippets/js/jquery/dimensions/jq-dimensions-inner-height.sublime-snippet rename to snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-height.sublime-snippet diff --git a/snippets/js/jquery/dimensions/jq-dimensions-inner-width.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-width.sublime-snippet similarity index 100% rename from snippets/js/jquery/dimensions/jq-dimensions-inner-width.sublime-snippet rename to snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-width.sublime-snippet diff --git a/snippets/js/jquery/dimensions/jq-dimensions-outer-height.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-height.sublime-snippet similarity index 100% rename from snippets/js/jquery/dimensions/jq-dimensions-outer-height.sublime-snippet rename to snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-height.sublime-snippet diff --git a/snippets/js/jquery/dimensions/jq-dimensions-outer-width.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-width.sublime-snippet similarity index 100% rename from snippets/js/jquery/dimensions/jq-dimensions-outer-width.sublime-snippet rename to snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-width.sublime-snippet diff --git a/snippets/js/jquery/dimensions/jq-dimensions-width.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-width.sublime-snippet similarity index 100% rename from snippets/js/jquery/dimensions/jq-dimensions-width.sublime-snippet rename to snippets/js/libraries/jquery/dimensions/jq-dimensions-width.sublime-snippet diff --git a/snippets/js/jquery/effects/README.md b/snippets/js/libraries/jquery/effects/README.md similarity index 100% rename from snippets/js/jquery/effects/README.md rename to snippets/js/libraries/jquery/effects/README.md diff --git a/snippets/js/jquery/effects/jq-effects-animate.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-animate.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-animate.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-animate.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-clear-queue.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-clear-queue.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-clear-queue.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-clear-queue.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-delay.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-delay.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-delay.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-delay.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-dequeue.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-dequeue.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-dequeue.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-dequeue.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-fade-in.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-fade-in.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-fade-in.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-fade-in.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-fade-out.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-fade-out.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-fade-out.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-fade-out.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-fade-to.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-fade-to.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-fade-to.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-fade-to.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-fade-toggle.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-fade-toggle.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-fade-toggle.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-fade-toggle.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-finish.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-finish.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-finish.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-finish.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-hide.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-hide.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-hide.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-hide.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-queue.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-queue.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-queue.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-queue.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-show.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-show.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-show.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-show.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-slide-down.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-slide-down.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-slide-down.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-slide-down.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-slide-toggle.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-slide-toggle.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-slide-toggle.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-slide-toggle.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-slide-up.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-slide-up.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-slide-up.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-slide-up.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-stop.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-stop.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-stop.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-stop.sublime-snippet diff --git a/snippets/js/jquery/effects/jq-effects-toggle.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-toggle.sublime-snippet similarity index 100% rename from snippets/js/jquery/effects/jq-effects-toggle.sublime-snippet rename to snippets/js/libraries/jquery/effects/jq-effects-toggle.sublime-snippet diff --git a/snippets/js/jquery/events/README.md b/snippets/js/libraries/jquery/events/README.md similarity index 100% rename from snippets/js/jquery/events/README.md rename to snippets/js/libraries/jquery/events/README.md diff --git a/snippets/js/jquery/events/jq-events-bind.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-bind.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-bind.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-bind.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-click.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-click.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-click.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-click.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-context-menu.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-context-menu.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-context-menu.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-context-menu.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-current-target.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-current-target.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-current-target.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-current-target.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-data.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-data.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-data.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-data.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-dbl-click.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-dbl-click.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-dbl-click.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-dbl-click.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-delegate-target.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-delegate-target.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-delegate-target.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-delegate-target.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-delegate.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-delegate.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-delegate.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-delegate.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-hover.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-hover.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-hover.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-hover.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-is-default-prevented.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-is-default-prevented.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-is-default-prevented.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-is-default-prevented.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-is-immediate-propagation-stopped.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-is-immediate-propagation-stopped.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-is-immediate-propagation-stopped.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-is-immediate-propagation-stopped.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-is-propagation-stopped.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-is-propagation-stopped.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-is-propagation-stopped.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-is-propagation-stopped.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-key-down.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-key-down.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-key-down.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-key-down.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-key-press.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-key-press.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-key-press.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-key-press.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-key-up.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-key-up.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-key-up.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-key-up.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-meta-key.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-meta-key.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-meta-key.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-meta-key.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-mouse-down.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-down.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-mouse-down.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-mouse-down.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-mouse-enter.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-enter.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-mouse-enter.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-mouse-enter.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-mouse-leave.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-leave.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-mouse-leave.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-mouse-leave.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-mouse-move.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-move.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-mouse-move.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-mouse-move.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-mouse-out.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-out.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-mouse-out.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-mouse-out.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-mouse-over.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-over.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-mouse-over.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-mouse-over.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-mouse-up.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-up.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-mouse-up.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-mouse-up.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-namespace.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-namespace.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-namespace.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-namespace.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-off.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-off.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-off.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-off.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-on.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-on.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-on.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-on.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-one.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-one.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-one.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-one.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-page-x.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-page-x.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-page-x.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-page-x.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-page-y.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-page-y.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-page-y.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-page-y.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-prevent-default.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-prevent-default.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-prevent-default.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-prevent-default.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-ready.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-ready.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-ready.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-ready.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-related-target.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-related-target.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-related-target.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-related-target.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-resize.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-resize.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-resize.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-resize.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-result.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-result.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-result.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-result.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-scroll.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-scroll.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-scroll.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-scroll.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-stop-immediate-propagation.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-stop-immediate-propagation.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-stop-immediate-propagation.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-stop-immediate-propagation.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-stop-propagation.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-stop-propagation.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-stop-propagation.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-stop-propagation.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-target.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-target.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-target.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-target.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-time-stamp.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-time-stamp.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-time-stamp.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-time-stamp.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-trigger-handler.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-trigger-handler.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-trigger-handler.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-trigger-handler.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-trigger.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-trigger.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-trigger.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-trigger.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-type.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-type.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-type.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-type.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-unbind.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-unbind.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-unbind.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-unbind.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-undelegate.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-undelegate.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-undelegate.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-undelegate.sublime-snippet diff --git a/snippets/js/jquery/events/jq-events-which.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-which.sublime-snippet similarity index 100% rename from snippets/js/jquery/events/jq-events-which.sublime-snippet rename to snippets/js/libraries/jquery/events/jq-events-which.sublime-snippet diff --git a/snippets/js/jquery/forms/README.md b/snippets/js/libraries/jquery/forms/README.md similarity index 100% rename from snippets/js/jquery/forms/README.md rename to snippets/js/libraries/jquery/forms/README.md diff --git a/snippets/js/jquery/forms/jq-forms-blur.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-blur.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-blur.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-blur.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-change.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-change.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-change.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-change.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-focus-in.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-focus-in.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-focus-in.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-focus-in.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-focus-out.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-focus-out.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-focus-out.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-focus-out.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-focus.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-focus.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-focus.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-focus.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-param.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-param.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-param.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-param.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-select.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-select.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-select.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-select.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-serialize-array.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-serialize-array.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-serialize-array.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-serialize-array.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-serialize.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-serialize.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-serialize.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-serialize.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-submit.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-submit.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-submit.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-submit.sublime-snippet diff --git a/snippets/js/jquery/forms/jq-forms-val.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-val.sublime-snippet similarity index 100% rename from snippets/js/jquery/forms/jq-forms-val.sublime-snippet rename to snippets/js/libraries/jquery/forms/jq-forms-val.sublime-snippet diff --git a/snippets/js/jquery/internals/README.md b/snippets/js/libraries/jquery/internals/README.md similarity index 100% rename from snippets/js/jquery/internals/README.md rename to snippets/js/libraries/jquery/internals/README.md diff --git a/snippets/js/jquery/internals/jq-internals-error.sublime-snippet b/snippets/js/libraries/jquery/internals/jq-internals-error.sublime-snippet similarity index 100% rename from snippets/js/jquery/internals/jq-internals-error.sublime-snippet rename to snippets/js/libraries/jquery/internals/jq-internals-error.sublime-snippet diff --git a/snippets/js/jquery/internals/jq-internals-push-stack.sublime-snippet b/snippets/js/libraries/jquery/internals/jq-internals-push-stack.sublime-snippet similarity index 100% rename from snippets/js/jquery/internals/jq-internals-push-stack.sublime-snippet rename to snippets/js/libraries/jquery/internals/jq-internals-push-stack.sublime-snippet diff --git a/snippets/js/jquery/manipulation/README.md b/snippets/js/libraries/jquery/manipulation/README.md similarity index 100% rename from snippets/js/jquery/manipulation/README.md rename to snippets/js/libraries/jquery/manipulation/README.md diff --git a/snippets/js/jquery/manipulation/jq-manipulation-after.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-after.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-after.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-after.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-append-to.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-append-to.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-append-to.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-append-to.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-append.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-append.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-append.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-append.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-before.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-before.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-before.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-before.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-clone.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-clone.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-clone.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-clone.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-detach.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-detach.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-detach.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-detach.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-empty.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-empty.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-empty.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-empty.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-insert-after.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-after.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-insert-after.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-after.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-insert-before.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-before.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-insert-before.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-before.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-prepend-to.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend-to.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-prepend-to.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend-to.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-prepend.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-prepend.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-remove.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-remove.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-remove.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-remove.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-replace-all.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-all.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-replace-all.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-all.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-replace-with.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-with.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-replace-with.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-with.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-text.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-text.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-text.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-text.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-unwrap.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-unwrap.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-unwrap.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-unwrap.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-wrap-inner.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-inner.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-wrap-inner.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-inner.sublime-snippet diff --git a/snippets/js/jquery/manipulation/jq-manipulation-wrap.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap.sublime-snippet similarity index 100% rename from snippets/js/jquery/manipulation/jq-manipulation-wrap.sublime-snippet rename to snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap.sublime-snippet diff --git a/snippets/js/jquery/miscellaneous/README.md b/snippets/js/libraries/jquery/miscellaneous/README.md similarity index 100% rename from snippets/js/jquery/miscellaneous/README.md rename to snippets/js/libraries/jquery/miscellaneous/README.md diff --git a/snippets/js/jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet b/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet similarity index 100% rename from snippets/js/jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet rename to snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet diff --git a/snippets/js/jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet b/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet similarity index 100% rename from snippets/js/jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet rename to snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet diff --git a/snippets/js/jquery/miscellaneous/jq-miscellaneous-to-array.sublime-snippet b/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-to-array.sublime-snippet similarity index 100% rename from snippets/js/jquery/miscellaneous/jq-miscellaneous-to-array.sublime-snippet rename to snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-to-array.sublime-snippet diff --git a/snippets/js/jquery/offset/README.md b/snippets/js/libraries/jquery/offset/README.md similarity index 100% rename from snippets/js/jquery/offset/README.md rename to snippets/js/libraries/jquery/offset/README.md diff --git a/snippets/js/jquery/offset/jq-offset-parent.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset-parent.sublime-snippet similarity index 100% rename from snippets/js/jquery/offset/jq-offset-parent.sublime-snippet rename to snippets/js/libraries/jquery/offset/jq-offset-parent.sublime-snippet diff --git a/snippets/js/jquery/offset/jq-offset-position.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset-position.sublime-snippet similarity index 100% rename from snippets/js/jquery/offset/jq-offset-position.sublime-snippet rename to snippets/js/libraries/jquery/offset/jq-offset-position.sublime-snippet diff --git a/snippets/js/jquery/offset/jq-offset-scroll-left.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset-scroll-left.sublime-snippet similarity index 100% rename from snippets/js/jquery/offset/jq-offset-scroll-left.sublime-snippet rename to snippets/js/libraries/jquery/offset/jq-offset-scroll-left.sublime-snippet diff --git a/snippets/js/jquery/offset/jq-offset-scroll-top.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset-scroll-top.sublime-snippet similarity index 100% rename from snippets/js/jquery/offset/jq-offset-scroll-top.sublime-snippet rename to snippets/js/libraries/jquery/offset/jq-offset-scroll-top.sublime-snippet diff --git a/snippets/js/jquery/offset/jq-offset.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset.sublime-snippet similarity index 100% rename from snippets/js/jquery/offset/jq-offset.sublime-snippet rename to snippets/js/libraries/jquery/offset/jq-offset.sublime-snippet diff --git a/snippets/js/jquery/properties/README.md b/snippets/js/libraries/jquery/properties/README.md similarity index 100% rename from snippets/js/jquery/properties/README.md rename to snippets/js/libraries/jquery/properties/README.md diff --git a/snippets/js/jquery/properties/jq-properties-fx-interval.sublime-snippet b/snippets/js/libraries/jquery/properties/jq-properties-fx-interval.sublime-snippet similarity index 100% rename from snippets/js/jquery/properties/jq-properties-fx-interval.sublime-snippet rename to snippets/js/libraries/jquery/properties/jq-properties-fx-interval.sublime-snippet diff --git a/snippets/js/jquery/properties/jq-properties-fx-off.sublime-snippet b/snippets/js/libraries/jquery/properties/jq-properties-fx-off.sublime-snippet similarity index 100% rename from snippets/js/jquery/properties/jq-properties-fx-off.sublime-snippet rename to snippets/js/libraries/jquery/properties/jq-properties-fx-off.sublime-snippet diff --git a/snippets/js/jquery/properties/jq-properties-jquery.sublime-snippet b/snippets/js/libraries/jquery/properties/jq-properties-jquery.sublime-snippet similarity index 100% rename from snippets/js/jquery/properties/jq-properties-jquery.sublime-snippet rename to snippets/js/libraries/jquery/properties/jq-properties-jquery.sublime-snippet diff --git a/snippets/js/jquery/properties/jq-properties-length.sublime-snippet b/snippets/js/libraries/jquery/properties/jq-properties-length.sublime-snippet similarity index 100% rename from snippets/js/jquery/properties/jq-properties-length.sublime-snippet rename to snippets/js/libraries/jquery/properties/jq-properties-length.sublime-snippet diff --git a/snippets/js/jquery/selectors/README.md b/snippets/js/libraries/jquery/selectors/README.md similarity index 100% rename from snippets/js/jquery/selectors/README.md rename to snippets/js/libraries/jquery/selectors/README.md diff --git a/snippets/js/jquery/selectors/jq-selectors-all.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-all.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-all.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-all.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-animated.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-animated.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-animated.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-animated.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-attribute-contains-prefix-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-prefix-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-attribute-contains-prefix-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-prefix-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-attribute-contains-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-attribute-contains-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-attribute-contains-word-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-word-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-attribute-contains-word-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-word-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-attribute-ends-with-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-ends-with-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-attribute-ends-with-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-attribute-ends-with-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-attribute-equals-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-equals-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-attribute-equals-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-attribute-equals-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-attribute-not-equal-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-not-equal-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-attribute-not-equal-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-attribute-not-equal-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-attribute-starts-with-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-starts-with-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-attribute-starts-with-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-attribute-starts-with-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-button.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-button.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-button.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-button.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-checkbox.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-checkbox.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-checkbox.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-checkbox.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-checked.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-checked.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-checked.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-checked.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-child.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-child.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-child.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-class.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-class.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-class.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-class.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-contains.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-contains.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-contains.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-contains.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-descendant.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-descendant.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-descendant.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-descendant.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-disabled.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-disabled.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-disabled.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-disabled.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-element.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-element.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-element.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-element.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-empty.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-empty.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-empty.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-empty.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-enabled.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-enabled.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-enabled.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-enabled.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-eq.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-eq.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-eq.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-eq.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-even.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-even.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-even.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-even.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-file.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-file.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-file.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-file.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-first-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-first-child.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-first-child.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-first-child.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-first-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-first-of-type.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-first-of-type.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-first-of-type.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-first.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-first.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-first.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-first.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-focus.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-focus.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-focus.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-focus.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-gt.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-gt.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-gt.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-gt.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-has-attribute-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-has-attribute-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-has-attribute-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-has-attribute-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-has.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-has.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-has.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-has.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-header.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-header.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-header.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-header.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-hidden.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-hidden.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-hidden.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-hidden.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-id.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-id.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-id.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-id.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-image.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-image.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-image.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-image.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-input.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-input.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-input.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-input.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-lang.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-lang.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-lang.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-lang.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-last-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-last-child.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-last-child.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-last-child.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-last-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-last-of-type.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-last-of-type.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-last-of-type.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-last.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-last.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-last.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-last.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-lt.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-lt.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-lt.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-lt.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-multiple-attribute-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-attribute-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-multiple-attribute-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-multiple-attribute-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-multiple-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-multiple-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-multiple-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-next-adjacent-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-next-adjacent-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-next-adjacent-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-next-adjacent-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-not.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-not.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-not.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-not.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-nth-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-child.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-nth-child.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-nth-child.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-nth-last-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-child.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-nth-last-child.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-child.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-nth-last-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-of-type.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-nth-last-of-type.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-of-type.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-nth-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-of-type.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-nth-of-type.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-nth-of-type.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-odd.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-odd.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-odd.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-odd.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-only-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-only-child.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-only-child.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-only-child.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-only-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-only-of-type.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-only-of-type.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-only-of-type.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-parent.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-parent.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-parent.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-parent.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-password.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-password.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-password.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-password.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-radio.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-radio.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-radio.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-radio.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-reset.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-reset.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-reset.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-reset.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-root.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-root.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-root.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-root.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-selected.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-selected.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-selected.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-selected.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-submit.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-submit.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-submit.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-submit.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-target.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-target.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-target.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-target.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-text.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-text.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-text.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-text.sublime-snippet diff --git a/snippets/js/jquery/selectors/jq-selectors-visible.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-visible.sublime-snippet similarity index 100% rename from snippets/js/jquery/selectors/jq-selectors-visible.sublime-snippet rename to snippets/js/libraries/jquery/selectors/jq-selectors-visible.sublime-snippet diff --git a/snippets/js/jquery/traversing/README.md b/snippets/js/libraries/jquery/traversing/README.md similarity index 100% rename from snippets/js/jquery/traversing/README.md rename to snippets/js/libraries/jquery/traversing/README.md diff --git a/snippets/js/jquery/traversing/jq-traversing-add-back.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-add-back.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-add-back.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-add-back.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-add.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-add.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-add.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-add.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-children.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-children.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-children.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-children.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-closest.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-closest.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-closest.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-closest.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-contents.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-contents.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-contents.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-contents.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-each.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-each.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-each.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-each.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-end.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-end.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-end.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-end.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-eq.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-eq.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-eq.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-eq.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-filter.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-filter.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-filter.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-filter.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-find.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-find.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-find.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-find.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-first.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-first.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-first.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-first.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-has.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-has.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-has.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-has.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-is.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-is.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-is.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-is.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-last.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-last.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-last.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-last.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-map.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-map.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-map.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-map.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-next-all.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-next-all.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-next-all.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-next-all.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-next-until.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-next-until.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-next-until.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-next-until.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-next.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-next.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-next.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-next.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-not.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-not.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-not.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-not.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-parent.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-parent.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-parent.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-parent.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-parents-until.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-parents-until.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-parents-until.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-parents-until.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-parents.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-parents.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-parents.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-parents.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-prev-all.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-prev-all.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-prev-all.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-prev-all.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-prev-until.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-prev-until.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-prev-until.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-prev-until.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-prev.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-prev.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-prev.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-prev.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-siblings.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-siblings.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet diff --git a/snippets/js/jquery/traversing/jq-traversing-slice.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet similarity index 100% rename from snippets/js/jquery/traversing/jq-traversing-slice.sublime-snippet rename to snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet diff --git a/snippets/js/jquery/utilities/README.md b/snippets/js/libraries/jquery/utilities/README.md similarity index 100% rename from snippets/js/jquery/utilities/README.md rename to snippets/js/libraries/jquery/utilities/README.md diff --git a/snippets/js/jquery/utilities/jq-utilities-contains.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-contains.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-contains.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-contains.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-each.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-each.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-each.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-each.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-extend.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-extend.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-extend.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-extend.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-fn-extend.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-fn-extend.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-fn-extend.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-fn-extend.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-global-eval.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-global-eval.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-global-eval.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-global-eval.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-grep.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-grep.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-grep.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-grep.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-in-array.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-in-array.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-in-array.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-in-array.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-is-empty-object.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-empty-object.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-is-empty-object.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-is-empty-object.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-is-function.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-function.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-is-function.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-is-function.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-is-numeric.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-numeric.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-is-numeric.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-is-numeric.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-is-plain-object.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-plain-object.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-is-plain-object.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-is-plain-object.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-is-window.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-window.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-is-window.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-is-window.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-make-array.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-make-array.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-make-array.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-make-array.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-map.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-map.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-map.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-map.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-merge.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-merge.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-merge.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-merge.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-noop.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-noop.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-noop.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-noop.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-now.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-now.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-now.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-now.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-parse-html.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-parse-html.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-parse-html.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-parse-html.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-parse-json.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-parse-json.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-parse-json.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-parse-json.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-parse-xml.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-parse-xml.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-parse-xml.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-parse-xml.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-proxy.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-proxy.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-proxy.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-proxy.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-trim.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-trim.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-trim.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-trim.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-type.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-type.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-type.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-type.sublime-snippet diff --git a/snippets/js/jquery/utilities/jq-utilities-unique.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-unique.sublime-snippet similarity index 100% rename from snippets/js/jquery/utilities/jq-utilities-unique.sublime-snippet rename to snippets/js/libraries/jquery/utilities/jq-utilities-unique.sublime-snippet diff --git a/snippets/js/jquery/zothers/README.md b/snippets/js/libraries/jquery/zothers/README.md similarity index 100% rename from snippets/js/jquery/zothers/README.md rename to snippets/js/libraries/jquery/zothers/README.md diff --git a/snippets/js/jquery/zothers/jq-boilerplate.sublime-snippet b/snippets/js/libraries/jquery/zothers/jq-boilerplate.sublime-snippet similarity index 100% rename from snippets/js/jquery/zothers/jq-boilerplate.sublime-snippet rename to snippets/js/libraries/jquery/zothers/jq-boilerplate.sublime-snippet From 3561dfd96e80855fff4b9e888bf0f1bfe0ffe251 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 13:40:12 -0200 Subject: [PATCH 023/114] update: readme with tdd --- snippets/js/README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/snippets/js/README.md b/snippets/js/README.md index e14f471..0468f75 100644 --- a/snippets/js/README.md +++ b/snippets/js/README.md @@ -1,5 +1,12 @@ # JavaScript Snippets - [Native Javascript](vanilla/) -- [jQuery](jquery/) -- [BDD](bdd/) +- [Libraries](libraries/) + - [jQuery](jquery/) +- [Patterns](patterns/) + - [Design Patterns](patterns/design-patterns/) +- [Tests](tests/) + - [Structure](structure/) + - [BDD](bdd/) + - [TDD](tdd/) + From d459c67ec2af42c6dd7950f9e957fc1408d73057 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 13:41:02 -0200 Subject: [PATCH 024/114] update: code with new patterns snippets --- ...js-design-patterns-constructor.sublime-snippet | 15 ++++++++++++++- .../js-design-patterns-module.sublime-snippet | 10 +++++++++- .../js-design-patterns-prototype.sublime-snippet | 9 ++++++++- .../js-design-patterns-singleton.sublime-snippet | 12 +++++++++++- 4 files changed, 42 insertions(+), 4 deletions(-) diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet index 4d8069a..995a557 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet @@ -1,6 +1,19 @@ jdp.constructor jdp - Constructor diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-module.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-module.sublime-snippet index 2c1a409..f790ad6 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-module.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-module.sublime-snippet @@ -1,6 +1,14 @@ jdp.module jdp - Module diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet index 14ef013..e97312d 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet @@ -1,6 +1,13 @@ jdp.prototype jdp - Prototype diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-singleton.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-singleton.sublime-snippet index a7eeb4d..032923d 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-singleton.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-singleton.sublime-snippet @@ -1,6 +1,16 @@ jdp.singleton jdp - Singleton From 41698af4d889a27779b9a38ca582e29c79a8aa17 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 14:00:08 -0200 Subject: [PATCH 025/114] add: basic html snippet --- snippets/html/README.md | 15 +++++++++++++++ snippets/html/html-basic.sublime-snippet | 16 ++++++++++++++++ snippets/html/html-document.sublime-snippet | 2 +- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 snippets/html/html-basic.sublime-snippet diff --git a/snippets/html/README.md b/snippets/html/README.md index 4368baa..c95480b 100644 --- a/snippets/html/README.md +++ b/snippets/html/README.md @@ -4,6 +4,21 @@ Prefix `h*` ## Structure +### [hb] html basic + +```html + + + + + ${1:Document} + + + $2 + + +``` + ### [hdoc] html document ```html diff --git a/snippets/html/html-basic.sublime-snippet b/snippets/html/html-basic.sublime-snippet new file mode 100644 index 0000000..b0ad9f5 --- /dev/null +++ b/snippets/html/html-basic.sublime-snippet @@ -0,0 +1,16 @@ + + + + + + ${1:Document} + + + $2 + + +]]> + hb + h - Basic HTML document + diff --git a/snippets/html/html-document.sublime-snippet b/snippets/html/html-document.sublime-snippet index 2d945ff..df69ee1 100644 --- a/snippets/html/html-document.sublime-snippet +++ b/snippets/html/html-document.sublime-snippet @@ -19,5 +19,5 @@ ]]> hdoc - h - Basic HTML document + h - HTML document From 417a97da05abeae5dfbbaa9ee3cee08b32c35603 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 14:01:04 -0200 Subject: [PATCH 026/114] add: js comment block snippet --- snippets/comment/js/js-comment-block.sublime-snippet | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 snippets/comment/js/js-comment-block.sublime-snippet diff --git a/snippets/comment/js/js-comment-block.sublime-snippet b/snippets/comment/js/js-comment-block.sublime-snippet new file mode 100644 index 0000000..fbd7e46 --- /dev/null +++ b/snippets/comment/js/js-comment-block.sublime-snippet @@ -0,0 +1,9 @@ + + + xjproperty + xj - Property Comment + From 07959186af782a2b087bd4cd3b50d0842e60672c Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 14:01:28 -0200 Subject: [PATCH 027/114] update: adjusting syntax --- snippets/js/libraries/README.md | 3 +++ snippets/js/tests/structure/README.md | 2 +- snippets/js/vanilla/timer/js-timer-set-timeout.sublime-snippet | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/snippets/js/libraries/README.md b/snippets/js/libraries/README.md index e69de29..707c49c 100644 --- a/snippets/js/libraries/README.md +++ b/snippets/js/libraries/README.md @@ -0,0 +1,3 @@ +# JavaScript Libraries Snippets + +- [jQuery](jquery/) diff --git a/snippets/js/tests/structure/README.md b/snippets/js/tests/structure/README.md index 9dc5199..c6fedcb 100644 --- a/snippets/js/tests/structure/README.md +++ b/snippets/js/tests/structure/README.md @@ -1,6 +1,6 @@ # Tests structure Snippets -## Prefix ts.* +## Prefix `ts.*` ### [ts.aftereach] afterEach diff --git a/snippets/js/vanilla/timer/js-timer-set-timeout.sublime-snippet b/snippets/js/vanilla/timer/js-timer-set-timeout.sublime-snippet index 7d1df06..2281d91 100644 --- a/snippets/js/vanilla/timer/js-timer-set-timeout.sublime-snippet +++ b/snippets/js/vanilla/timer/js-timer-set-timeout.sublime-snippet @@ -1,7 +1,7 @@ jstimeout From e21813c1ac8e10057143129ca2f305a63d4f9e58 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 14:18:00 -0200 Subject: [PATCH 028/114] add: js comment event snippet --- snippets/comment/js/js-comment-event.sublime-snippet | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 snippets/comment/js/js-comment-event.sublime-snippet diff --git a/snippets/comment/js/js-comment-event.sublime-snippet b/snippets/comment/js/js-comment-event.sublime-snippet new file mode 100644 index 0000000..2f2667a --- /dev/null +++ b/snippets/comment/js/js-comment-event.sublime-snippet @@ -0,0 +1,11 @@ + + + xjevent + xj - Event Comment + From 091ab34c9693cf02811c573877ab86481399a175 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 14:18:31 -0200 Subject: [PATCH 029/114] add: js comment constructor snippet --- .../js/js-comment-constructor.sublime-snippet | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 snippets/comment/js/js-comment-constructor.sublime-snippet diff --git a/snippets/comment/js/js-comment-constructor.sublime-snippet b/snippets/comment/js/js-comment-constructor.sublime-snippet new file mode 100644 index 0000000..90ca4a7 --- /dev/null +++ b/snippets/comment/js/js-comment-constructor.sublime-snippet @@ -0,0 +1,14 @@ + + + xjconstructor + xj - Constructor Comment + From 809eacb92af90cf57b2e570dfe7c56bfdabd674d Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 14:18:44 -0200 Subject: [PATCH 030/114] add: js comment class snippet --- snippets/comment/js/js-comment-class.sublime-snippet | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 snippets/comment/js/js-comment-class.sublime-snippet diff --git a/snippets/comment/js/js-comment-class.sublime-snippet b/snippets/comment/js/js-comment-class.sublime-snippet new file mode 100644 index 0000000..db6cdb7 --- /dev/null +++ b/snippets/comment/js/js-comment-class.sublime-snippet @@ -0,0 +1,12 @@ + + + xjclass + xj - Class Comment + From 1297b602bdb70edab01062821f50932d82256f66 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 14:31:04 -0200 Subject: [PATCH 031/114] update: adjusting comments snippets keys --- README.md | 15 ++++-- messages/install.txt | 21 -------- snippets/comment/css/README.md | 10 ++-- .../css/css-comment-basic.sublime-snippet | 4 +- .../css/css-comment-block.sublime-snippet | 4 +- .../css/css-comment-section.sublime-snippet | 4 +- .../css-comment-sub-section.sublime-snippet | 4 +- snippets/comment/html/README.md | 10 ++-- .../comment/html/html-basic.sublime-snippet | 4 +- .../comment/html/html-block.sublime-snippet | 4 +- .../html/html-conditional.sublime-snippet | 4 +- .../comment/html/html-end-tag.sublime-snippet | 4 +- snippets/comment/js/README.md | 48 +++++++++++++++++-- .../js/js-comment-block.sublime-snippet | 4 +- .../js/js-comment-class.sublime-snippet | 4 +- .../js/js-comment-constructor.sublime-snippet | 4 +- .../js/js-comment-event.sublime-snippet | 4 +- .../js/js-comment-methods.sublime-snippet | 4 +- .../js/js-comment-property.sublime-snippet | 4 +- 19 files changed, 93 insertions(+), 67 deletions(-) diff --git a/README.md b/README.md index 15d4776..e3cf5ac 100644 --- a/README.md +++ b/README.md @@ -20,15 +20,20 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text - [WAI-ARIA - hw.*](snippets/html/wai-aria) - [CSS - c*](snippets/css/) - [JavaScript - j*](snippets/js/vanilla) - - [BDD - b*](snippets/js/bdd) - - [jQuery - jq*](snippets/js/jquery) + - Libraries + - [jQuery - jq*](snippets/js/libraries/jquery) + - Patterns + - Tests + - [Structure - ts.*](snippets/js/tests/structure) + - [BDD - tb.*](snippets/js/tests/bdd) + - [TDD - tt.*](snippets/js/tests/tdd) - Schema.org - [Microdata](snippets/schema/microdata) - [External - e*](snippets/external/) - [Comment](snippets/comment/) - - [HTML - xh*](snippets/comment/html) - - [CSS - xc*](snippets/comment/css) - - [JavaScript - xj*](snippets/comment/js) + - [HTML - hc.*](snippets/comment/html) + - [CSS - cc.*](snippets/comment/css) + - [JavaScript - jc.*](snippets/comment/js) - [Structure data](snippets/structured-data) (***examples***) - [Microdata - zmicrodata](snippets/structured-data/microdata) - [JSON-LD - zjsonld](snippets/structured-data/json-ld) diff --git a/messages/install.txt b/messages/install.txt index 1777d60..6dc8f1a 100644 --- a/messages/install.txt +++ b/messages/install.txt @@ -3,27 +3,6 @@ Front-end Project Snippets You can see all installed snippets in Tools > Snippets... . -Snippets: -- HTML - - Microdata - - WAI-ARIA -- CSS -- JavaScript - - BDD - - jQuery -- Schema.org - - Microdata -- External -- Comment - - HTML - - CSS - - JavaScript -- Structure data (examples) - - Microdata - - JSON-LD - - RDFa - - To find out more checkout the readme at https://github.com/brazilian-dev/sublime-front-end-snippets Report issues at https://github.com/brazilian-dev/sublime-front-end-snippets/issues diff --git a/snippets/comment/css/README.md b/snippets/comment/css/README.md index b53228f..15e54f4 100644 --- a/snippets/comment/css/README.md +++ b/snippets/comment/css/README.md @@ -1,14 +1,14 @@ # CSS Comments Snippets -Prefix `xc*` +Prefix `cc.*` -### [xcbasic] basic +### [cc.basic] basic ```css /* ${1:Basic comment} */ ``` -### [xcblock] block +### [cc.block] block ```css /** @@ -17,7 +17,7 @@ Prefix `xc*` */ ``` -### [xcsection] section +### [cc.section] section ```css /* ========================================================================== @@ -25,7 +25,7 @@ Prefix `xc*` ========================================================================== */ ``` -### [xcsubsection] sub-section +### [cc.subsection] sub-section ```css /* ${1:Sub-section} diff --git a/snippets/comment/css/css-comment-basic.sublime-snippet b/snippets/comment/css/css-comment-basic.sublime-snippet index b5a0787..46eee38 100644 --- a/snippets/comment/css/css-comment-basic.sublime-snippet +++ b/snippets/comment/css/css-comment-basic.sublime-snippet @@ -2,6 +2,6 @@ - xcbasic - xc - Basic Comment + cc.basic + cc - Basic Comment diff --git a/snippets/comment/css/css-comment-block.sublime-snippet b/snippets/comment/css/css-comment-block.sublime-snippet index 215204f..89bb692 100644 --- a/snippets/comment/css/css-comment-block.sublime-snippet +++ b/snippets/comment/css/css-comment-block.sublime-snippet @@ -5,6 +5,6 @@ * */ ]]> - xcblock - xc - Block Comment + cc.block + cc - Block Comment diff --git a/snippets/comment/css/css-comment-section.sublime-snippet b/snippets/comment/css/css-comment-section.sublime-snippet index 5555928..4f44bae 100644 --- a/snippets/comment/css/css-comment-section.sublime-snippet +++ b/snippets/comment/css/css-comment-section.sublime-snippet @@ -4,6 +4,6 @@ ${1:Section} ========================================================================== */ ]]> - xcsection - xc - Section Comment + cc.section + cc - Section Comment diff --git a/snippets/comment/css/css-comment-sub-section.sublime-snippet b/snippets/comment/css/css-comment-sub-section.sublime-snippet index 7e6b2ca..45bdfcb 100644 --- a/snippets/comment/css/css-comment-sub-section.sublime-snippet +++ b/snippets/comment/css/css-comment-sub-section.sublime-snippet @@ -3,6 +3,6 @@ /* ${1:Sub-section} ========================================================================== */ ]]> - xcsubsection - xc - Sub-section Comment + cc.subsection + cc - Sub-section Comment diff --git a/snippets/comment/html/README.md b/snippets/comment/html/README.md index ebee5ad..e61dfcd 100644 --- a/snippets/comment/html/README.md +++ b/snippets/comment/html/README.md @@ -1,14 +1,14 @@ # HTML Comments Snippets -Prefix `xh*` +Prefix `hc.*` -### [xhbasic] basic +### [hc.basic] basic ```html ``` -### [xhblock] block +### [hc.block] block ```html ``` -### [xhcond] conditional +### [hc.cond] conditional ```html ``` -### [xhend] end tag +### [hc.end] end tag ```html diff --git a/snippets/comment/html/html-basic.sublime-snippet b/snippets/comment/html/html-basic.sublime-snippet index 7ecbf52..8d8d684 100644 --- a/snippets/comment/html/html-basic.sublime-snippet +++ b/snippets/comment/html/html-basic.sublime-snippet @@ -2,6 +2,6 @@ ]]> - xhbasic - xh - Basic Comment + hc.basic + hc - Basic Comment diff --git a/snippets/comment/html/html-block.sublime-snippet b/snippets/comment/html/html-block.sublime-snippet index 9812d39..e0f5fbe 100644 --- a/snippets/comment/html/html-block.sublime-snippet +++ b/snippets/comment/html/html-block.sublime-snippet @@ -4,6 +4,6 @@ ${2:description} --> ]]> - xhblock - xh - Block Comment + hc.block + hc - Block Comment diff --git a/snippets/comment/html/html-conditional.sublime-snippet b/snippets/comment/html/html-conditional.sublime-snippet index ac6e81d..57c0fab 100644 --- a/snippets/comment/html/html-conditional.sublime-snippet +++ b/snippets/comment/html/html-conditional.sublime-snippet @@ -4,6 +4,6 @@ ${3} ]]> - xhcond - xh - Conditional Comment + hc.cond + hc - Conditional Comment diff --git a/snippets/comment/html/html-end-tag.sublime-snippet b/snippets/comment/html/html-end-tag.sublime-snippet index 843e363..61807dd 100644 --- a/snippets/comment/html/html-end-tag.sublime-snippet +++ b/snippets/comment/html/html-end-tag.sublime-snippet @@ -2,6 +2,6 @@ ]]> - xhend - xh - End Tag Comment + hc.end + hc - End Tag Comment diff --git a/snippets/comment/js/README.md b/snippets/comment/js/README.md index a0606c6..9ce9257 100644 --- a/snippets/comment/js/README.md +++ b/snippets/comment/js/README.md @@ -1,8 +1,50 @@ # JavaScript Comments Snippets -Prefix `xj*` +Prefix `jc.*` -### [xjmethod] method comment +### [jc.block] block + +```javascript +/** + * ${1:Description} + */ +``` + +### [jc.class] class + +```javascript +/** + * @class ${1:Class name} + * @param {${2:String}} ${3:Description of the param} + * @extends ${4:name of the } + * ${5:Documentation for the class} + */ +``` + +### [jc.constructor] constructor + +```javascript +/** + * @class ${1:Class name} + * ${2:Documentation for the class} + * + * @constructor + * ${3:Documentation for the constructor} + * @param {${4:String}} ${5:Description of the param} + */ +``` + +### [jc.event] event + +```javascript + /** + * @event ${1:click} + * ${2:Documentation for the event} + * @param {${3:String}} ${4:Description of the param} + */ +``` + +### [jc.method] method ```javascript /** @@ -13,7 +55,7 @@ Prefix `xj*` */ ``` -### [xjproperty] property comment +### [jc.property] property ```javascript /** diff --git a/snippets/comment/js/js-comment-block.sublime-snippet b/snippets/comment/js/js-comment-block.sublime-snippet index fbd7e46..30ac0c3 100644 --- a/snippets/comment/js/js-comment-block.sublime-snippet +++ b/snippets/comment/js/js-comment-block.sublime-snippet @@ -4,6 +4,6 @@ * ${1:Description} */ ]]> - xjproperty - xj - Property Comment + jc.property + jc - Property Comment diff --git a/snippets/comment/js/js-comment-class.sublime-snippet b/snippets/comment/js/js-comment-class.sublime-snippet index db6cdb7..113c7ad 100644 --- a/snippets/comment/js/js-comment-class.sublime-snippet +++ b/snippets/comment/js/js-comment-class.sublime-snippet @@ -7,6 +7,6 @@ * ${5:Documentation for the class} */ ]]> - xjclass - xj - Class Comment + jc.class + jc - Class Comment diff --git a/snippets/comment/js/js-comment-constructor.sublime-snippet b/snippets/comment/js/js-comment-constructor.sublime-snippet index 90ca4a7..55aca0e 100644 --- a/snippets/comment/js/js-comment-constructor.sublime-snippet +++ b/snippets/comment/js/js-comment-constructor.sublime-snippet @@ -9,6 +9,6 @@ * @param {${4:String}} ${5:Description of the param} */ ]]> - xjconstructor - xj - Constructor Comment + jc.constructor + jc - Constructor Comment diff --git a/snippets/comment/js/js-comment-event.sublime-snippet b/snippets/comment/js/js-comment-event.sublime-snippet index 2f2667a..5af549d 100644 --- a/snippets/comment/js/js-comment-event.sublime-snippet +++ b/snippets/comment/js/js-comment-event.sublime-snippet @@ -6,6 +6,6 @@ * @param {${3:String}} ${4:Description of the param} */ ]]> - xjevent - xj - Event Comment + jc.event + jc - Event Comment diff --git a/snippets/comment/js/js-comment-methods.sublime-snippet b/snippets/comment/js/js-comment-methods.sublime-snippet index 78af47a..3b8a0d3 100644 --- a/snippets/comment/js/js-comment-methods.sublime-snippet +++ b/snippets/comment/js/js-comment-methods.sublime-snippet @@ -7,6 +7,6 @@ * @return {${5:String}} ${6:Description of the return} */ ]]> - xjmethod - xj - Method Comment + jc.method + jc - Method Comment diff --git a/snippets/comment/js/js-comment-property.sublime-snippet b/snippets/comment/js/js-comment-property.sublime-snippet index 3e824fe..30cef85 100644 --- a/snippets/comment/js/js-comment-property.sublime-snippet +++ b/snippets/comment/js/js-comment-property.sublime-snippet @@ -5,6 +5,6 @@ * ${3:Description} */ ]]> - xjproperty - xj - Property Comment + jc.property + jc - Property Comment From cef88ad30305518f9a46c9cf570099f2fe8d2276 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 14:54:36 -0200 Subject: [PATCH 032/114] add: js conditional snippets --- snippets/js/vanilla/README.md | 3 ++ snippets/js/vanilla/conditional/README.md | 31 +++++++++++++++++++ .../conditional/js-if-else.sublime-snippet | 12 +++++++ .../conditional/js-switch.sublime-snippet | 20 ++++++++++++ snippets/js/vanilla/loop/README.md | 16 ++++++++++ .../loop/js-loop-do-while.sublime-snippet | 9 ++++++ .../loop/js-loop-while.sublime-snippet | 9 ++++++ 7 files changed, 100 insertions(+) create mode 100644 snippets/js/vanilla/conditional/README.md create mode 100644 snippets/js/vanilla/conditional/js-if-else.sublime-snippet create mode 100644 snippets/js/vanilla/conditional/js-switch.sublime-snippet create mode 100644 snippets/js/vanilla/loop/js-loop-do-while.sublime-snippet create mode 100644 snippets/js/vanilla/loop/js-loop-while.sublime-snippet diff --git a/snippets/js/vanilla/README.md b/snippets/js/vanilla/README.md index 0b327a4..ee3ec42 100644 --- a/snippets/js/vanilla/README.md +++ b/snippets/js/vanilla/README.md @@ -2,6 +2,9 @@ ## Prefix `j*` +- [Conditional](conditional/) + - if-else + - switch - [Console](console/) - console.dir - console.error diff --git a/snippets/js/vanilla/conditional/README.md b/snippets/js/vanilla/conditional/README.md new file mode 100644 index 0000000..95f92ab --- /dev/null +++ b/snippets/js/vanilla/conditional/README.md @@ -0,0 +1,31 @@ +## JavaScript Conditional Snippets + +### [jifelse] if else + +```javascript +if (${1:condition}) { + ${2:expression} +} +else { + ${3:second expression} +} +``` + +### [jswitch] switch + +```javascript +switch (${1:expression}) { + case ${2:value1}: + ${3:instructions} + break; + case ${4:value2}: + ${5:instructions} + break; + case ${6:valueN}: + ${7:instructions} + break; + default: + ${8:instructions} + break; +} +``` diff --git a/snippets/js/vanilla/conditional/js-if-else.sublime-snippet b/snippets/js/vanilla/conditional/js-if-else.sublime-snippet new file mode 100644 index 0000000..3f657f9 --- /dev/null +++ b/snippets/js/vanilla/conditional/js-if-else.sublime-snippet @@ -0,0 +1,12 @@ + + + jifelse + j - if else + diff --git a/snippets/js/vanilla/conditional/js-switch.sublime-snippet b/snippets/js/vanilla/conditional/js-switch.sublime-snippet new file mode 100644 index 0000000..d8768c0 --- /dev/null +++ b/snippets/js/vanilla/conditional/js-switch.sublime-snippet @@ -0,0 +1,20 @@ + + + jswitch + j - switch + diff --git a/snippets/js/vanilla/loop/README.md b/snippets/js/vanilla/loop/README.md index cdba312..ef1ca7f 100644 --- a/snippets/js/vanilla/loop/README.md +++ b/snippets/js/vanilla/loop/README.md @@ -1,5 +1,13 @@ ## JavaScript Loop Snippets +### [jdowhile] do while + +```javascript +do { + ${1:expression} +} while (${2:condition}); +``` + ### [jfore] forEach ```javascript @@ -25,3 +33,11 @@ for (var i = ${1:0}, len = ${2:10}; i ${3:<=} len; i${4:++} ) { ${5} } ``` + +### [jwhile] while + +```javascript +while (${1:condition}) { + ${2:expression} +} +``` diff --git a/snippets/js/vanilla/loop/js-loop-do-while.sublime-snippet b/snippets/js/vanilla/loop/js-loop-do-while.sublime-snippet new file mode 100644 index 0000000..e36b0d7 --- /dev/null +++ b/snippets/js/vanilla/loop/js-loop-do-while.sublime-snippet @@ -0,0 +1,9 @@ + + + jdowhile + j - do while + diff --git a/snippets/js/vanilla/loop/js-loop-while.sublime-snippet b/snippets/js/vanilla/loop/js-loop-while.sublime-snippet new file mode 100644 index 0000000..c7792f2 --- /dev/null +++ b/snippets/js/vanilla/loop/js-loop-while.sublime-snippet @@ -0,0 +1,9 @@ + + + jwhile + j - while + From 5def675489e788313cd84e7f22a71e78cbbb44b0 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 14:58:29 -0200 Subject: [PATCH 033/114] update: readme with design patterns link --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e3cf5ac..02e6e9f 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text - Libraries - [jQuery - jq*](snippets/js/libraries/jquery) - Patterns + - [Design Patterns](snippets/js/patterns/design-patterns) - Tests - [Structure - ts.*](snippets/js/tests/structure) - [BDD - tb.*](snippets/js/tests/bdd) From ee53e699d241c95330d0f97bee036a3daba20b97 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 15:07:49 -0200 Subject: [PATCH 034/114] update: python functions --- source/duplication.py | 9 +++++++++ source/json_generator.py | 10 +++++----- tests/test.py | 13 +++---------- 3 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 source/duplication.py diff --git a/source/duplication.py b/source/duplication.py new file mode 100644 index 0000000..da822bf --- /dev/null +++ b/source/duplication.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python3 + +def list_duplicates(seq): + seen = set() + seen_add = seen.add + # adds all elements it doesn't know yet to seen and all other to seen_twice + seen_twice = set( x for x in seq if x in seen or seen_add(x) ) + # turn the set into a list (as requested) + return list( seen_twice ) diff --git a/source/json_generator.py b/source/json_generator.py index b221376..c9cafa8 100644 --- a/source/json_generator.py +++ b/source/json_generator.py @@ -4,7 +4,7 @@ import fnmatch from json import dumps -def writeJson(data, filename): +def write_json(data, filename): try: jsondata = dumps(data, indent=2, skipkeys=True, sort_keys=True) fd = open(filename, 'w') @@ -14,16 +14,16 @@ def writeJson(data, filename): print 'ERROR writing', filename pass -def getDir(path, ext): +def get_dir(path, ext): matches = [] for root, dirnames, filenames in os.walk(path): for filename in fnmatch.filter(filenames, ext): matches.append(os.path.join(root, filename)) return matches -def getJson(): +def get_json(): result = [] - for count, file in enumerate(getDir('../snippets/', '*.sublime-snippet'), start=1): + for count, file in enumerate(get_dir('../snippets/', '*.sublime-snippet'), start=1): line = open(file) content = line.read() trigger = content.split('')[1].split('')[0] @@ -34,5 +34,5 @@ def getJson(): return result -writeJson(getJson(), "../snippets.json") +write_json(get_json(), "../snippets.json") diff --git a/tests/test.py b/tests/test.py index 7c484d0..6b9b2ac 100644 --- a/tests/test.py +++ b/tests/test.py @@ -2,23 +2,16 @@ import sys sys.path.append('../source/') -from json_generator import getJson +from json_generator import get_json +from duplication import list_duplicates import json import re import unittest -def list_duplicates(seq): - seen = set() - seen_add = seen.add - # adds all elements it doesn't know yet to seen and all other to seen_twice - seen_twice = set( x for x in seq if x in seen or seen_add(x) ) - # turn the set into a list (as requested) - return list( seen_twice ) - class TestDuplicatesMethods(unittest.TestCase): def test_duplicates(self): - json = getJson() + json = get_json() triggers = [] for snippet in json: From 0b51e26455efddf23cf68844e6db6818ab044dde Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 15:09:25 -0200 Subject: [PATCH 035/114] update: snippets json --- .gitignore | 1 + snippets.json | 1116 ++++++++++------- .../js/js-comment-block.sublime-snippet | 4 +- 3 files changed, 651 insertions(+), 470 deletions(-) diff --git a/.gitignore b/.gitignore index 87ca444..b999ca6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ source/json_generator.pyc +source/duplication.pyc diff --git a/snippets.json b/snippets.json index c404a43..a5dc88f 100644 --- a/snippets.json +++ b/snippets.json @@ -1,1882 +1,2062 @@ [ { - "description": "xc - Basic Comment", + "description": "cc - Basic Comment", "id": 1, - "trigger": "xcbasic" + "trigger": "cc.basic" }, { - "description": "xc - Block Comment", + "description": "cc - Block Comment", "id": 2, - "trigger": "xcblock" + "trigger": "cc.block" }, { - "description": "xc - Section Comment", + "description": "cc - Section Comment", "id": 3, - "trigger": "xcsection" + "trigger": "cc.section" }, { - "description": "xc - Sub-section Comment", + "description": "cc - Sub-section Comment", "id": 4, - "trigger": "xcsubsection" + "trigger": "cc.subsection" }, { - "description": "xh - Basic Comment", + "description": "hc - Basic Comment", "id": 5, - "trigger": "xhbasic" + "trigger": "hc.basic" }, { - "description": "xh - Block Comment", + "description": "hc - Block Comment", "id": 6, - "trigger": "xhblock" + "trigger": "hc.block" }, { - "description": "xh - Conditional Comment", + "description": "hc - Conditional Comment", "id": 7, - "trigger": "xhcond" + "trigger": "hc.cond" }, { - "description": "xh - End Tag Comment", + "description": "hc - End Tag Comment", "id": 8, - "trigger": "xhend" + "trigger": "hc.end" }, { - "description": "xj - Method Comment", + "description": "jc - Block Comment", "id": 9, - "trigger": "xjmethod" + "trigger": "jc.block" }, { - "description": "xj - Property Comment", + "description": "jc - Class Comment", "id": 10, - "trigger": "xjproperty" + "trigger": "jc.class" }, { - "description": "c - @font-face structure", + "description": "jc - Constructor Comment", "id": 11, - "trigger": "cff" + "trigger": "jc.constructor" }, { - "description": "c - Keyframes", + "description": "jc - Event Comment", "id": 12, - "trigger": "ck" + "trigger": "jc.event" }, { - "description": "c - Media Querie", + "description": "jc - Method Comment", "id": 13, - "trigger": "cmq" + "trigger": "jc.method" }, { - "description": "e - Google Analytics", + "description": "jc - Property Comment", "id": 14, - "trigger": "ega" + "trigger": "jc.property" }, { - "description": "e - Google Tag Manager", + "description": "c - @font-face structure", "id": 15, - "trigger": "egtm" + "trigger": "cff" }, { - "description": "h - Basic HTML document", + "description": "c - Keyframes", "id": 16, - "trigger": "hdoc" + "trigger": "ck" }, { - "description": "h - Head tags", + "description": "c - Media Querie", "id": 17, - "trigger": "hhtags" + "trigger": "cmq" }, { - "description": "hm - HTML with SiteNavigationElement", + "description": "e - Google Analytics", "id": 18, - "trigger": "hm.sitenav" + "trigger": "ega" }, { - "description": "hw - Alert Dialog", + "description": "e - Google Tag Manager", "id": 19, - "trigger": "hw.alertdialog" + "trigger": "egtm" }, { - "description": "b - Expect toBeCloseTo", + "description": "h - Basic HTML document", "id": 20, - "trigger": "bcloseto" + "trigger": "hb" }, { - "description": "b - Expect toBeContain", + "description": "h - HTML document", "id": 21, - "trigger": "bcontain" + "trigger": "hdoc" }, { - "description": "b - Expect toBeDefined", + "description": "h - Head tags", "id": 22, - "trigger": "bdefined" + "trigger": "hhtags" }, { - "description": "b - Expect toBeFalsy", + "description": "hm - HTML with SiteNavigationElement", "id": 23, - "trigger": "bfalsy" + "trigger": "hm.sitenav" }, { - "description": "b - Expect toBeGreaterThan", + "description": "hw - Alert Dialog", "id": 24, - "trigger": "bgreaterthan" - }, - { - "description": "b - Expect toBeLessThan", - "id": 25, - "trigger": "blessthan" - }, - { - "description": "b - Expect toBeNaN", - "id": 26, - "trigger": "bnan" - }, - { - "description": "b - Expect toBeNull", - "id": 27, - "trigger": "bnull" - }, - { - "description": "b - Expect toBeTruthy", - "id": 28, - "trigger": "btruthy" - }, - { - "description": "b - Expect toBeUndefined", - "id": 29, - "trigger": "bundefined" - }, - { - "description": "b - Expect toBe", - "id": 30, - "trigger": "btobe" - }, - { - "description": "b - Expect toEqual", - "id": 31, - "trigger": "bequal" - }, - { - "description": "b - Expect toHaveBeenCalledTimes", - "id": 32, - "trigger": "bhbctimes" - }, - { - "description": "b - Expect toHaveBeenCalledWith", - "id": 33, - "trigger": "bhbcwith" - }, - { - "description": "b - Expect toHaveBeenCalled", - "id": 34, - "trigger": "bhbc" - }, - { - "description": "b - Expect toMatch", - "id": 35, - "trigger": "bmatch" - }, - { - "description": "b - Expect toThrowError", - "id": 36, - "trigger": "bthrowerror" - }, - { - "description": "b - Expect toThrow", - "id": 37, - "trigger": "bthrow" - }, - { - "description": "b - afterEach", - "id": 38, - "trigger": "baftereach" - }, - { - "description": "b - beforeEach", - "id": 39, - "trigger": "bbeforeeach" - }, - { - "description": "b - describe", - "id": 40, - "trigger": "bdescribe" - }, - { - "description": "b - it", - "id": 41, - "trigger": "bit" + "trigger": "hw.alertdialog" }, { "description": "jq - ajax", - "id": 42, + "id": 25, "trigger": "jqa" }, { "description": "jq - ajaxComplete", - "id": 43, + "id": 26, "trigger": "jqacomplete" }, { "description": "jq - ajaxError", - "id": 44, + "id": 27, "trigger": "jqaerror" }, { "description": "jq - getJSON", - "id": 45, + "id": 28, "trigger": "jqgjson" }, { "description": "jq - getScript", - "id": 46, + "id": 29, "trigger": "jqgscript" }, { "description": "jq - jQuery get", - "id": 47, + "id": 30, "trigger": "jqjget" }, { "description": "jq - load", - "id": 48, + "id": 31, "trigger": "jqload" }, { "description": "jq - post", - "id": 49, + "id": 32, "trigger": "jqpost" }, { "description": "jq - ajaxPrefilter", - "id": 50, + "id": 33, "trigger": "jqaprefilter" }, { "description": "jq - ajaxSend", - "id": 51, + "id": 34, "trigger": "jqasend" }, { "description": "jq - ajaxSetup", - "id": 52, + "id": 35, "trigger": "jqasetup" }, { "description": "jq - ajaxStart", - "id": 53, + "id": 36, "trigger": "jqastart" }, { "description": "jq - ajaxStop", - "id": 54, + "id": 37, "trigger": "jqastop" }, { "description": "jq - ajaxSuccess", - "id": 55, + "id": 38, "trigger": "jqasuccess" }, { "description": "jq - ajaxTransport", - "id": 56, + "id": 39, "trigger": "jqatransport" }, { "description": "jq - addClass", - "id": 57, + "id": 40, "trigger": "jqaddclass" }, { "description": "jq - attr", - "id": 58, + "id": 41, "trigger": "jqattr" }, { "description": "jq - hasClass", - "id": 59, + "id": 42, "trigger": "jqhasclass" }, { "description": "jq - html", - "id": 60, + "id": 43, "trigger": "jqhtml" }, { "description": "jq - prop", - "id": 61, + "id": 44, "trigger": "jqprop" }, { "description": "jq - removeAttr", - "id": 62, + "id": 45, "trigger": "jqrattr" }, { "description": "jq - removeClass", - "id": 63, + "id": 46, "trigger": "jqrclass" }, { "description": "jq - removeProp", - "id": 64, + "id": 47, "trigger": "jqrprop" }, { "description": "jq - toggleClass", - "id": 65, + "id": 48, "trigger": "jqtclass" }, { "description": "jq - add", - "id": 66, + "id": 49, "trigger": "jqcbadd" }, { "description": "jq - disable", - "id": 67, + "id": 50, "trigger": "jqcbdisable" }, { "description": "jq - disabled", - "id": 68, + "id": 51, "trigger": "jqcbdisabled" }, { "description": "jq - empty", - "id": 69, + "id": 52, "trigger": "jqcbempty" }, { "description": "jq - fireWith", - "id": 70, + "id": 53, "trigger": "jqcbfirewith" }, { "description": "jq - fire", - "id": 71, + "id": 54, "trigger": "jqcbfire" }, { "description": "jq - fired", - "id": 72, + "id": 55, "trigger": "jqcbfired" }, { "description": "jq - has", - "id": 73, + "id": 56, "trigger": "jqcbhas" }, { "description": "jq - lock", - "id": 74, + "id": 57, "trigger": "jqcblock" }, { "description": "jq - locked", - "id": 75, + "id": 58, "trigger": "jqcblocked" }, { "description": "jq - remove", - "id": 76, + "id": 59, "trigger": "jqcbremove" }, { "description": "jq - callbacks", - "id": 77, + "id": 60, "trigger": "jqcb" }, { "description": "jq - holdReady", - "id": 78, + "id": 61, "trigger": "jqholdready" }, { "description": "jq - jQuery", - "id": 79, + "id": 62, "trigger": "jqjq" }, { "description": "jq - noConflict", - "id": 80, + "id": 63, "trigger": "jqnoc" }, { "description": "jq - when", - "id": 81, + "id": 64, "trigger": "jqwhen" }, { "description": "jq - cssHooks", - "id": 82, + "id": 65, "trigger": "jqcssh" }, { "description": "jq - cssNumber", - "id": 83, + "id": 66, "trigger": "jqcssn" }, { "description": "jq - css", - "id": 84, + "id": 67, "trigger": "jqcss" }, { "description": "jq - hasData", - "id": 85, + "id": 68, "trigger": "jqhasdata" }, { "description": "jq - jQuery data", - "id": 86, + "id": 69, "trigger": "jqjdata" }, { "description": "jq - jQuery removeData", - "id": 87, + "id": 70, "trigger": "jqjrdata" }, { "description": "jq - removeData", - "id": 88, + "id": 71, "trigger": "jqrdata" }, { "description": "jq - data", - "id": 89, + "id": 72, "trigger": "jqdata" }, { "description": "jq - always", - "id": 90, + "id": 73, "trigger": "jqalways" }, { "description": "jq - done", - "id": 91, + "id": 74, "trigger": "jqdone" }, { "description": "jq - fail", - "id": 92, + "id": 75, "trigger": "jqfail" }, { "description": "jq - notifyWith", - "id": 93, + "id": 76, "trigger": "jqnotifywith" }, { "description": "jq - notify", - "id": 94, + "id": 77, "trigger": "jqnotify" }, { "description": "jq - progress", - "id": 95, + "id": 78, "trigger": "jqprogress" }, { "description": "jq - promise", - "id": 96, + "id": 79, "trigger": "jqdpromise" }, { "description": "jq - rejectWith", - "id": 97, + "id": 80, "trigger": "jqrejectwith" }, { "description": "jq - reject", - "id": 98, + "id": 81, "trigger": "jqreject" }, { "description": "jq - resolveWith", - "id": 99, + "id": 82, "trigger": "jqresolvewith" }, { "description": "jq - resolve", - "id": 100, + "id": 83, "trigger": "jqresolve" }, { "description": "jq - state", - "id": 101, + "id": 84, "trigger": "jqstate" }, { "description": "jq - then", - "id": 102, + "id": 85, "trigger": "jqthen" }, { "description": "jq - deferred", - "id": 103, + "id": 86, "trigger": "jqd" }, { "description": "jq - promise", - "id": 104, + "id": 87, "trigger": "jqpromise" }, { "description": "jq - height", - "id": 105, + "id": 88, "trigger": "jqheight" }, { "description": "jq - innerHeight", - "id": 106, + "id": 89, "trigger": "jqiheight" }, { "description": "jq - innerWidth", - "id": 107, + "id": 90, "trigger": "jqiwidth" }, { "description": "jq - outerHeight", - "id": 108, + "id": 91, "trigger": "jqoheight" }, { "description": "jq - outerWidth", - "id": 109, + "id": 92, "trigger": "jqowidth" }, { "description": "jq - width", - "id": 110, + "id": 93, "trigger": "jqwidth" }, { "description": "jq - animate", - "id": 111, + "id": 94, "trigger": "jqanimate" }, { "description": "jq - clearQueue", - "id": 112, + "id": 95, "trigger": "jqcqueue" }, { "description": "jq - delay", - "id": 113, + "id": 96, "trigger": "jqdelay" }, { "description": "jq - dequeue", - "id": 114, + "id": 97, "trigger": "jqdequeue" }, { "description": "jq - fadeIn", - "id": 115, + "id": 98, "trigger": "jqfadein" }, { "description": "jq - fadeOut", - "id": 116, + "id": 99, "trigger": "jqfadeout" }, { "description": "jq - fadeToggle", - "id": 117, + "id": 100, "trigger": "jqfadetoggle" }, { "description": "jq - fadeTo", - "id": 118, + "id": 101, "trigger": "jqfadeto" }, { "description": "jq - finish", - "id": 119, + "id": 102, "trigger": "jqfinish" }, { "description": "jq - hide", - "id": 120, + "id": 103, "trigger": "jqhide" }, { "description": "jq - queue", - "id": 121, + "id": 104, "trigger": "jqqueue" }, { "description": "jq - show", - "id": 122, + "id": 105, "trigger": "jqshow" }, { "description": "jq - slideDown", - "id": 123, + "id": 106, "trigger": "jqsdown" }, { "description": "jq - slideToggle", - "id": 124, + "id": 107, "trigger": "jqstoggle" }, { "description": "jq - slideUp", - "id": 125, + "id": 108, "trigger": "jqsup" }, { "description": "jq - stop", - "id": 126, + "id": 109, "trigger": "jqstop" }, { "description": "jq - toggle", - "id": 127, + "id": 110, "trigger": "jqtoggle" }, { "description": "jq - bind", - "id": 128, + "id": 111, "trigger": "jqbind" }, { "description": "jq - click", - "id": 129, + "id": 112, "trigger": "jqclick" }, { "description": "jq - contextmenu", - "id": 130, + "id": 113, "trigger": "jqjqcmenu" }, { "description": "jq - currentTarget", - "id": 131, + "id": 114, "trigger": "jqctarget" }, { "description": "jq - Event data", - "id": 132, + "id": 115, "trigger": "jqedata" }, { "description": "jq - dblclick", - "id": 133, + "id": 116, "trigger": "jqdclick" }, { "description": "jq - delegateTarget", - "id": 134, + "id": 117, "trigger": "jqdtarget" }, { "description": "jq - delegate", - "id": 135, + "id": 118, "trigger": "jqdelegate" }, { "description": "jq - hover", - "id": 136, + "id": 119, "trigger": "jqhover" }, { "description": "jq - isDefaultPrevented", - "id": 137, + "id": 120, "trigger": "jqidprevented" }, { "description": "jq - isImmediatePropagationStopped", - "id": 138, + "id": 121, "trigger": "jqiips" }, { "description": "jq - isPropagationStopped", - "id": 139, + "id": 122, "trigger": "jqips" }, { "description": "jq - keydown", - "id": 140, + "id": 123, "trigger": "jqkdown" }, { "description": "jq - keypress", - "id": 141, + "id": 124, "trigger": "jqkpress" }, { "description": "jq - keyup", - "id": 142, + "id": 125, "trigger": "jqkup" }, { "description": "jq - metaKey", - "id": 143, + "id": 126, "trigger": "jqmkey" }, { "description": "jq - mousedown", - "id": 144, + "id": 127, "trigger": "jqmdown" }, { "description": "jq - mouseenter", - "id": 145, + "id": 128, "trigger": "jqmenter" }, { "description": "jq - mouseleave", - "id": 146, + "id": 129, "trigger": "jqmleave" }, { "description": "jq - mousemove", - "id": 147, + "id": 130, "trigger": "jqmmove" }, { "description": "jq - mouseout", - "id": 148, + "id": 131, "trigger": "jqmout" }, { "description": "jq - mouseover", - "id": 149, + "id": 132, "trigger": "jqmover" }, { "description": "jq - mouseup", - "id": 150, + "id": 133, "trigger": "jqmup" }, { "description": "jq - namespace", - "id": 151, + "id": 134, "trigger": "jqns" }, { "description": "jq - off", - "id": 152, + "id": 135, "trigger": "jqoff" }, { "description": "jq - on", - "id": 153, + "id": 136, "trigger": "jqon" }, { "description": "jq - one", - "id": 154, + "id": 137, "trigger": "jqone" }, { "description": "jq - pageX", - "id": 155, + "id": 138, "trigger": "jqpx" }, { "description": "jq - pageY", - "id": 156, + "id": 139, "trigger": "jqpy" }, { "description": "jq - preventDefault", - "id": 157, + "id": 140, "trigger": "jqpd" }, { "description": "jq - ready", - "id": 158, + "id": 141, "trigger": "jqready" }, { "description": "jq - relatedTarget", - "id": 159, + "id": 142, "trigger": "jqrtarget" }, { "description": "jq - resize", - "id": 160, + "id": 143, "trigger": "jqresize" }, { "description": "jq - result", - "id": 161, + "id": 144, "trigger": "jqresult" }, { "description": "jq - scroll", - "id": 162, + "id": 145, "trigger": "jqscroll" }, { "description": "jq - stopImmediatePropagation", - "id": 163, + "id": 146, "trigger": "jqsip" }, { "description": "jq - stopPropagation", - "id": 164, + "id": 147, "trigger": "jqsp" }, { "description": "jq - target", - "id": 165, + "id": 148, "trigger": "jqtarget" }, { "description": "jq - timeStamp", - "id": 166, + "id": 149, "trigger": "jqtstamp" }, { "description": "jq - triggerHandler", - "id": 167, + "id": 150, "trigger": "jqthandler" }, { "description": "jq - trigger", - "id": 168, + "id": 151, "trigger": "jqtrigger" }, { "description": "jq - type", - "id": 169, + "id": 152, "trigger": "jqtype" }, { "description": "jq - unbind", - "id": 170, + "id": 153, "trigger": "jqunbind" }, { "description": "jq - undelegate", - "id": 171, + "id": 154, "trigger": "jqundelegate" }, { "description": "jq - which", - "id": 172, + "id": 155, "trigger": "jqwhich" }, { "description": "jq - blur", - "id": 173, + "id": 156, "trigger": "jqblur" }, { "description": "jq - change", - "id": 174, + "id": 157, "trigger": "jqchange" }, { "description": "jq - focusin", - "id": 175, + "id": 158, "trigger": "jqfocusin" }, { "description": "jq - focusout", - "id": 176, + "id": 159, "trigger": "jqfocusout" }, { "description": "jq - focus", - "id": 177, + "id": 160, "trigger": "jqfocus" }, { "description": "jq - param", - "id": 178, + "id": 161, "trigger": "jqparam" }, { "description": "jq - select", - "id": 179, + "id": 162, "trigger": "jqselect" }, { "description": "jq - serializeArray", - "id": 180, + "id": 163, "trigger": "jqserarray" }, { "description": "jq - serialize", - "id": 181, + "id": 164, "trigger": "jqser" }, { "description": "jq - submit", - "id": 182, + "id": 165, "trigger": "jqsubmit" }, { "description": "jq - val", - "id": 183, + "id": 166, "trigger": "jqval" }, { "description": "jq - error", - "id": 184, + "id": 167, "trigger": "jqerror" }, { "description": "jq - pushStack", - "id": 185, + "id": 168, "trigger": "jqpstack" }, { "description": "jq - after", - "id": 186, + "id": 169, "trigger": "jqafter" }, { "description": "jq - appendTo", - "id": 187, + "id": 170, "trigger": "jqappendto" }, { "description": "jq - append", - "id": 188, + "id": 171, "trigger": "jqappend" }, { "description": "jq - before", - "id": 189, + "id": 172, "trigger": "jqbefore" }, { "description": "jq - clone", - "id": 190, + "id": 173, "trigger": "jqclone" }, { "description": "jq - detach", - "id": 191, + "id": 174, "trigger": "jqdetach" }, { "description": "jq - empty", - "id": 192, + "id": 175, "trigger": "jqempty" }, { "description": "jq - insertAfter", - "id": 193, + "id": 176, "trigger": "jqiafter" }, { "description": "jq - insertBefore", - "id": 194, + "id": 177, "trigger": "jqibefore" }, { "description": "jq - prependTo", - "id": 195, + "id": 178, "trigger": "jqprependto" }, { "description": "jq - prepend", - "id": 196, + "id": 179, "trigger": "jqprepend" }, { "description": "jq - remove", - "id": 197, + "id": 180, "trigger": "jqremove" }, { "description": "jq - replaceAll", - "id": 198, + "id": 181, "trigger": "jqreplaceall" }, { "description": "jq - replaceWith", - "id": 199, + "id": 182, "trigger": "jqreplacewith" }, { "description": "jq - text", - "id": 200, + "id": 183, "trigger": "jqtext" }, { "description": "jq - unwrap", - "id": 201, + "id": 184, "trigger": "jqunwrap" }, { "description": "jq - wrapAll", - "id": 202, + "id": 185, "trigger": "jqwall" }, { "description": "jq - wrapInner", - "id": 203, + "id": 186, "trigger": "jqwinner" }, { "description": "jq - wrap", - "id": 204, + "id": 187, "trigger": "jqwrap" }, { "description": "jq - get", - "id": 205, + "id": 188, "trigger": "jqget" }, { "description": "jq - index", - "id": 206, + "id": 189, "trigger": "jqindex" }, { "description": "jq - toArray", - "id": 207, + "id": 190, "trigger": "jqtoarray" }, { "description": "jq - offsetParent", - "id": 208, + "id": 191, "trigger": "jqoparent" }, { "description": "jq - position", - "id": 209, + "id": 192, "trigger": "jqpos" }, { "description": "jq - scrollLeft", - "id": 210, + "id": 193, "trigger": "jqscleft" }, { "description": "jq - scrollTop", - "id": 211, + "id": 194, "trigger": "jqsctop" }, { "description": "jq - offset", - "id": 212, + "id": 195, "trigger": "jqoset" }, { "description": "jq - fx.interval", - "id": 213, + "id": 196, "trigger": "jqfxi" }, { "description": "jq - fx.off", - "id": 214, + "id": 197, "trigger": "jqfxo" }, { "description": "jq - jquery", - "id": 215, + "id": 198, "trigger": "jqjprop" }, { "description": "jq - length", - "id": 216, + "id": 199, "trigger": "jqlen" }, { "description": "jq - all", - "id": 217, + "id": 200, "trigger": "jqall" }, { "description": "jq - :animated", - "id": 218, + "id": 201, "trigger": "jq:a" }, { "description": "jq - Attribute Contains Prefix", - "id": 219, + "id": 202, "trigger": "jq[]|" }, { "description": "jq - Attribute Contains", - "id": 220, + "id": 203, "trigger": "jq[]*" }, { "description": "jq - Attribute Contains Word", - "id": 221, + "id": 204, "trigger": "jq[]~" }, { "description": "jq - Attribute Ends With", - "id": 222, + "id": 205, "trigger": "jq[]$" }, { "description": "jq - Attribute Equals", - "id": 223, + "id": 206, "trigger": "jq[]=" }, { "description": "jq - Attribute Not Equal", - "id": 224, + "id": 207, "trigger": "jq[]!" }, { "description": "jq - Attribute Starts With", - "id": 225, + "id": 208, "trigger": "jq[]^" }, { "description": "jq - :button", - "id": 226, + "id": 209, "trigger": "jq:b" }, { "description": "jq - :checkbox", - "id": 227, + "id": 210, "trigger": "jq:c" }, { "description": "jq - :checked", - "id": 228, + "id": 211, "trigger": "jq:ch" }, { "description": "jq - :child", - "id": 229, + "id": 212, "trigger": "jq:chi" }, { "description": "jq - class", - "id": 230, + "id": 213, "trigger": "jq:cl" }, { "description": "jq - :contains", - "id": 231, + "id": 214, "trigger": "jq:co" }, { "description": "jq - descendant", - "id": 232, + "id": 215, "trigger": "jqdes" }, { "description": "jq - :disabled", - "id": 233, + "id": 216, "trigger": "jq:d" }, { "description": "jq - element", - "id": 234, + "id": 217, "trigger": "jq$" }, { "description": "jq - :empty", - "id": 235, + "id": 218, "trigger": "jq:e" }, { "description": "jq - :enabled", - "id": 236, + "id": 219, "trigger": "jq:en" }, { "description": "jq - :eq", - "id": 237, + "id": 220, "trigger": "jq:eq" }, { "description": "jq - :even", - "id": 238, + "id": 221, "trigger": "jq:ev" }, { "description": "jq - :file", - "id": 239, + "id": 222, "trigger": "jq:f" }, { "description": "jq - :first-child", - "id": 240, + "id": 223, "trigger": "jq:fc" }, { "description": "jq - :first-of-type", - "id": 241, + "id": 224, "trigger": "jq:ft" }, { "description": "jq - :first", - "id": 242, + "id": 225, "trigger": "jq:fi" }, { "description": "jq - :focus", - "id": 243, + "id": 226, "trigger": "jq:fo" }, { "description": "jq - :gt", - "id": 244, + "id": 227, "trigger": "jq:gt" }, { "description": "jq - Has Attribute", - "id": 245, + "id": 228, "trigger": "jq[]" }, { "description": "jq - :has", - "id": 246, + "id": 229, "trigger": "jq:h" }, { "description": "jq - :header", - "id": 247, + "id": 230, "trigger": "jq:he" }, { "description": "jq - :hidden", - "id": 248, + "id": 231, "trigger": "jq:hi" }, { "description": "jq - id", - "id": 249, + "id": 232, "trigger": "jqid" }, { "description": "jq - :image", - "id": 250, + "id": 233, "trigger": "jq:i" }, { "description": "jq - :input", - "id": 251, + "id": 234, "trigger": "jq:in" }, { "description": "jq - :lang", - "id": 252, + "id": 235, "trigger": "jq:l" }, { "description": "jq - :last-child", - "id": 253, + "id": 236, "trigger": "jq:lc" }, { "description": "jq - :last-of-type", - "id": 254, + "id": 237, "trigger": "jq:lty" }, { "description": "jq - :last", - "id": 255, + "id": 238, "trigger": "jq:la" }, { "description": "jq - :lt", - "id": 256, + "id": 239, "trigger": "jq:lt" }, { "description": "jq - Multiple Attribute", - "id": 257, + "id": 240, "trigger": "jq[][]" }, { "description": "jq - Multiple", - "id": 258, + "id": 241, "trigger": "jq," }, { "description": "jq - Next Adjacent", - "id": 259, + "id": 242, "trigger": "jq+" }, { "description": "jq - Next Siblings", - "id": 260, + "id": 243, "trigger": "jq-snss" }, { "description": "jq - :not", - "id": 261, + "id": 244, "trigger": "jq:not" }, { "description": "jq - :nth-child", - "id": 262, + "id": 245, "trigger": "jq:nc" }, { "description": "jq - :nth-last-child", - "id": 263, + "id": 246, "trigger": "jq:nlc" }, { "description": "jq - :nth-last-of-type", - "id": 264, + "id": 247, "trigger": "jq:nlt" }, { "description": "jq - :nth-of-type", - "id": 265, + "id": 248, "trigger": "jq:nt" }, { "description": "jq - :odd", - "id": 266, + "id": 249, "trigger": "jq:o" }, { "description": "jq - :only-child", - "id": 267, + "id": 250, "trigger": "jq:oc" }, { "description": "jq - :only-of-type", - "id": 268, + "id": 251, "trigger": "jq:ot" }, { "description": "jq - :parent", - "id": 269, + "id": 252, "trigger": "jq:p" }, { "description": "jq - :password", - "id": 270, + "id": 253, "trigger": "jq:pa" }, { "description": "jq - :radio", - "id": 271, + "id": 254, "trigger": "jq:r" }, { "description": "jq - :reset", - "id": 272, + "id": 255, "trigger": "jq:re" }, { "description": "jq - :root", - "id": 273, + "id": 256, "trigger": "jq:ro" }, { "description": "jq - :selected", - "id": 274, + "id": 257, "trigger": "jq:s" }, { "description": "jq - :submit", - "id": 275, + "id": 258, "trigger": "jq:su" }, { "description": "jq - :target", - "id": 276, + "id": 259, "trigger": "jq:t" }, { "description": "jq - :text", - "id": 277, + "id": 260, "trigger": "jq:tx" }, { "description": "jq - :visible", - "id": 278, + "id": 261, "trigger": "jq:v" }, { "description": "jq - addBack", - "id": 279, + "id": 262, "trigger": "jqaddback" }, { "description": "jq - add", - "id": 280, + "id": 263, "trigger": "jqadd" }, { "description": "jq - children", - "id": 281, + "id": 264, "trigger": "jqchildren" }, { "description": "jq - closest", - "id": 282, + "id": 265, "trigger": "jqclosest" }, { "description": "jq - contents", - "id": 283, + "id": 266, "trigger": "jqcontents" }, { "description": "jq - each", - "id": 284, + "id": 267, "trigger": "jqeach" }, { "description": "jq - end", - "id": 285, + "id": 268, "trigger": "jqend" }, { "description": "jq - eq", - "id": 286, + "id": 269, "trigger": "jqeq" }, { "description": "jq - filter", - "id": 287, + "id": 270, "trigger": "jqfilter" }, { "description": "jq - find", - "id": 288, + "id": 271, "trigger": "jqfind" }, { "description": "jq - first", - "id": 289, + "id": 272, "trigger": "jqfirst" }, { "description": "jq - has", - "id": 290, + "id": 273, "trigger": "jqhas" }, { "description": "jq - is", - "id": 291, + "id": 274, "trigger": "jqis" }, { "description": "jq - last", - "id": 292, + "id": 275, "trigger": "jqlast" }, { "description": "jq - map", - "id": 293, + "id": 276, "trigger": "jqmap" }, { "description": "jq - nextAll", - "id": 294, + "id": 277, "trigger": "jqnextall" }, { "description": "jq - nextUntil", - "id": 295, + "id": 278, "trigger": "jqnextuntil" }, { "description": "jq - next", - "id": 296, + "id": 279, "trigger": "jqnext" }, { "description": "jq - not", - "id": 297, + "id": 280, "trigger": "jqnot" }, { "description": "jq - parent", - "id": 298, + "id": 281, "trigger": "jqparent" }, { "description": "jq - parentsUntil", - "id": 299, + "id": 282, "trigger": "jqpuntil" }, { "description": "jq - parents", - "id": 300, + "id": 283, "trigger": "jqparents" }, { "description": "jq - prevAll", - "id": 301, + "id": 284, "trigger": "jqprevall" }, { "description": "jq - prevUntil", - "id": 302, + "id": 285, "trigger": "jqprevuntil" }, { "description": "jq - prev", - "id": 303, + "id": 286, "trigger": "jqprev" }, { "description": "jq - siblings", - "id": 304, + "id": 287, "trigger": "jq-ts" }, { "description": "jq - slice", - "id": 305, + "id": 288, "trigger": "jq-tsl" }, { "description": "jq - contains", - "id": 306, + "id": 289, "trigger": "jqcontains" }, { "description": "jq - jQuery each", - "id": 307, + "id": 290, "trigger": "jqjeach" }, { "description": "jq - extend", - "id": 308, + "id": 291, "trigger": "jqextend" }, { "description": "jq - fn.extend", - "id": 309, + "id": 292, "trigger": "jqfnextend" }, { "description": "jq - globalEval", - "id": 310, + "id": 293, "trigger": "jqgeval" }, { "description": "jq - grep", - "id": 311, + "id": 294, "trigger": "jqgrep" }, { "description": "jq - inArray", - "id": 312, + "id": 295, "trigger": "jqinarray" }, { "description": "jq - isEmptyObject", - "id": 313, + "id": 296, "trigger": "jqieobject" }, { "description": "jq - isFunction", - "id": 314, + "id": 297, "trigger": "jqifunction" }, { "description": "jq - isNumeric", - "id": 315, + "id": 298, "trigger": "jqinumeric" }, { "description": "jq - isPlainObject", - "id": 316, + "id": 299, "trigger": "jqipobject" }, { "description": "jq - isWindow", - "id": 317, + "id": 300, "trigger": "jqiwindow" }, { "description": "jq - isXMLDoc", - "id": 318, + "id": 301, "trigger": "jqixmldoc" }, { "description": "jq - makeArray", - "id": 319, + "id": 302, "trigger": "jqmarray" }, { "description": "jq - jQuery map", - "id": 320, + "id": 303, "trigger": "jqjmap" }, { "description": "jq - merge", - "id": 321, + "id": 304, "trigger": "jqmerge" }, { "description": "jq - noop", - "id": 322, + "id": 305, "trigger": "jqnoop" }, { "description": "jq - now", - "id": 323, + "id": 306, "trigger": "jqnow" }, { "description": "jq - parseHTML", - "id": 324, + "id": 307, "trigger": "zjqp" }, { "description": "jq - parseJSON", - "id": 325, + "id": 308, "trigger": "zjqp" }, { "description": "jq - parseXML", - "id": 326, + "id": 309, "trigger": "zjqp" }, { "description": "jq - proxy", - "id": 327, + "id": 310, "trigger": "jqproxy" }, { "description": "jq - trim", - "id": 328, + "id": 311, "trigger": "jqtrim" }, { "description": "jq - jQuery type", - "id": 329, + "id": 312, "trigger": "jqjtype" }, { "description": "jq - unique", - "id": 330, + "id": 313, "trigger": "jqunique" }, { "description": "jq - jQuery Boilerplate", - "id": 331, + "id": 314, "trigger": "jqb" }, { - "description": "j - console.dir", + "description": "jdp - Command", + "id": 315, + "trigger": "jdp.command" + }, + { + "description": "jdp - Constructor", + "id": 316, + "trigger": "jdp.constructor" + }, + { + "description": "jdp - Decorator", + "id": 317, + "trigger": "jdp.decorator" + }, + { + "description": "jdp - Facade", + "id": 318, + "trigger": "jdp.facade" + }, + { + "description": "jdp - Factory", + "id": 319, + "trigger": "jdp.factory" + }, + { + "description": "jdp - Flyweight", + "id": 320, + "trigger": "jdp.flyweight" + }, + { + "description": "jdp - Mediator", + "id": 321, + "trigger": "jdp.mediator" + }, + { + "description": "jdp - Mixin", + "id": 322, + "trigger": "jdp.mixin" + }, + { + "description": "jdp - Module", + "id": 323, + "trigger": "jdp.module" + }, + { + "description": "jdp - Observer", + "id": 324, + "trigger": "jdp.observer" + }, + { + "description": "jdp - Prototype", + "id": 325, + "trigger": "jdp.prototype" + }, + { + "description": "jdp - Revealing Module", + "id": 326, + "trigger": "jdp.rmodule" + }, + { + "description": "jdp - Singleton", + "id": 327, + "trigger": "jdp.singleton" + }, + { + "description": "tb - Expect toBeCloseTo", + "id": 328, + "trigger": "tb.closeto" + }, + { + "description": "tb - Expect toBeContain", + "id": 329, + "trigger": "tb.contain" + }, + { + "description": "tb - Expect toBeDefined", + "id": 330, + "trigger": "tb.defined" + }, + { + "description": "tb - Expect toBeFalsy", + "id": 331, + "trigger": "tb.falsy" + }, + { + "description": "tb - Expect toBeGreaterThan", "id": 332, + "trigger": "tb.greaterthan" + }, + { + "description": "tb - Expect toBeLessThan", + "id": 333, + "trigger": "tb.lessthan" + }, + { + "description": "tb - Expect toBeNaN", + "id": 334, + "trigger": "tb.nan" + }, + { + "description": "tb - Expect toBeNull", + "id": 335, + "trigger": "tb.null" + }, + { + "description": "tb - Expect toBeTruthy", + "id": 336, + "trigger": "tb.truthy" + }, + { + "description": "tb - Expect toBeUndefined", + "id": 337, + "trigger": "tb.undefined" + }, + { + "description": "tb - Expect toBe", + "id": 338, + "trigger": "tb.tobe" + }, + { + "description": "tb - Expect toEqual", + "id": 339, + "trigger": "tb.equal" + }, + { + "description": "tb - Expect toHaveBeenCalledTimes", + "id": 340, + "trigger": "tb.hbctimes" + }, + { + "description": "tb - Expect toHaveBeenCalledWith", + "id": 341, + "trigger": "tb.hbcwith" + }, + { + "description": "tb - Expect toHaveBeenCalled", + "id": 342, + "trigger": "tb.hbc" + }, + { + "description": "tb - Expect toMatch", + "id": 343, + "trigger": "tb.match" + }, + { + "description": "tb - Expect toThrowError", + "id": 344, + "trigger": "tb.throwerror" + }, + { + "description": "tb - Expect toThrow", + "id": 345, + "trigger": "tb.throw" + }, + { + "description": "ts - afterEach", + "id": 346, + "trigger": "ts.aftereach" + }, + { + "description": "ts - beforeEach", + "id": 347, + "trigger": "ts.beforeeach" + }, + { + "description": "ts - describe", + "id": 348, + "trigger": "ts.describe" + }, + { + "description": "ts - it", + "id": 349, + "trigger": "ts.it" + }, + { + "description": "tt - Assert deepEqual", + "id": 350, + "trigger": "tt.dequal" + }, + { + "description": "tt - Assert deepStrictEqual", + "id": 351, + "trigger": "tt.dsequal" + }, + { + "description": "tt - Assert doesNotThrow", + "id": 352, + "trigger": "tt.dnthrow" + }, + { + "description": "tt - Assert equal", + "id": 353, + "trigger": "tt.equal" + }, + { + "description": "tt - Assert fail", + "id": 354, + "trigger": "tt.fail" + }, + { + "description": "tt - Assert ifError", + "id": 355, + "trigger": "tt.iferror" + }, + { + "description": "tt - Assert notDeepEqual", + "id": 356, + "trigger": "tt.ndequal" + }, + { + "description": "tt - Assert notDeepStrictEqual", + "id": 357, + "trigger": "tt.ndsequal" + }, + { + "description": "tt - Assert notEqual", + "id": 358, + "trigger": "tt.nequal" + }, + { + "description": "tt - Assert notStrictEqual", + "id": 359, + "trigger": "tt.nsequal" + }, + { + "description": "tt - Assert ok", + "id": 360, + "trigger": "tt.ok" + }, + { + "description": "tt - Assert strictEqual", + "id": 361, + "trigger": "tt.sequal" + }, + { + "description": "tt - Assert throws", + "id": 362, + "trigger": "tt.throws" + }, + { + "description": "tt - Assert", + "id": 363, + "trigger": "tt.a" + }, + { + "description": "j - if else", + "id": 364, + "trigger": "jifelse" + }, + { + "description": "j - switch", + "id": 365, + "trigger": "jswitch" + }, + { + "description": "j - console.dir", + "id": 366, "trigger": "jcd" }, { "description": "j - console.error", - "id": 333, + "id": 367, "trigger": "jce" }, { "description": "j - console.info", - "id": 334, + "id": 368, "trigger": "jci" }, { "description": "j - console.log", - "id": 335, + "id": 369, "trigger": "jcl" }, { "description": "j - console.warn", - "id": 336, + "id": 370, "trigger": "jcw" }, { "description": "j - addEventListener", - "id": 337, + "id": 371, "trigger": "j-ael" }, { "description": "j - appendChild", - "id": 338, + "id": 372, "trigger": "jac" }, { "description": "j - classList.add", - "id": 339, + "id": 373, "trigger": "jcla" }, { "description": "j - classList.remove", - "id": 340, + "id": 374, "trigger": "jclr" }, { "description": "j - classList.toggle", - "id": 341, + "id": 375, "trigger": "jclt" }, { "description": "j - createDocumentFragment", - "id": 342, + "id": 376, "trigger": "jcdf" }, { "description": "j - createElement", - "id": 343, + "id": 377, "trigger": "jcel" }, { "description": "j - getAttribute", - "id": 344, + "id": 378, "trigger": "jgattr" }, { "description": "j - getElementById", - "id": 345, + "id": 379, "trigger": "jgid" }, { "description": "j - getElementsByClassName", - "id": 346, + "id": 380, "trigger": "jgclass" }, { "description": "j - getElementsByTagName", - "id": 347, + "id": 381, "trigger": "jgtag" }, { "description": "j - innerHTML", - "id": 348, + "id": 382, "trigger": "jih" }, { "description": "j - querySelectorAll", - "id": 349, + "id": 383, "trigger": "jqsa" }, { "description": "j - querySelector", - "id": 350, + "id": 384, "trigger": "jqs" }, { "description": "j - removeAttribute", - "id": 351, + "id": 385, "trigger": "jrattr" }, { "description": "j - removeChild", - "id": 352, + "id": 386, "trigger": "jrc" }, { "description": "j - setAttribute", - "id": 353, + "id": 387, "trigger": "jsattr" }, { "description": "j - textContent", - "id": 354, + "id": 388, "trigger": "jtc" }, { "description": "j - Anonymous Function", - "id": 355, + "id": 389, "trigger": "jafn" }, { "description": "j - Function apply", - "id": 356, + "id": 390, "trigger": "japply" }, { "description": "j - Function call", - "id": 357, + "id": 391, "trigger": "jcall" }, { "description": "j - Immediately-invoked function expression", - "id": 358, + "id": 392, "trigger": "j-iife" }, { "description": "j - Prototype", - "id": 359, + "id": 393, "trigger": "jprot" }, { "description": "j - Function", - "id": 360, + "id": 394, "trigger": "jfn" }, { "description": "j - JSON.parse", - "id": 361, + "id": 395, "trigger": "jjsonp" }, { "description": "j - JSON.stringify", - "id": 362, + "id": 396, "trigger": "jjsons" }, + { + "description": "j - do while", + "id": 397, + "trigger": "jdowhile" + }, { "description": "j - forEach", - "id": 363, + "id": 398, "trigger": "jfore" }, { "description": "j - for in", - "id": 364, + "id": 399, "trigger": "jfori" }, { "description": "j - for", - "id": 365, + "id": 400, "trigger": "jfor" }, + { + "description": "j - while", + "id": 401, + "trigger": "jwhile" + }, { "description": "j - setInterval", - "id": 366, + "id": 402, "trigger": "jsinterval" }, { "description": "j - setTimeout", - "id": 367, + "id": 403, "trigger": "jstimeout" }, { "description": "m - Action", - "id": 368, + "id": 404, "trigger": "maction" }, { "description": "m - Organization", - "id": 369, + "id": 405, "trigger": "morg" }, { "description": "Logotype", - "id": 370, + "id": 406, "trigger": "zjsonld" }, { "description": "Organization", - "id": 371, + "id": 407, "trigger": "zmicrodata" }, { "description": "Article", - "id": 372, + "id": 408, "trigger": "zmicrodata" }, { "description": "Book", - "id": 373, + "id": 409, "trigger": "zmicrodata" }, { "description": "Game", - "id": 374, + "id": 410, "trigger": "zmicrodata" }, { "description": "WebPage", - "id": 375, + "id": 411, "trigger": "zmicrodata" }, { "description": "Breadcrumb", - "id": 376, + "id": 412, "trigger": "zrdfa" } ] \ No newline at end of file diff --git a/snippets/comment/js/js-comment-block.sublime-snippet b/snippets/comment/js/js-comment-block.sublime-snippet index 30ac0c3..01c111a 100644 --- a/snippets/comment/js/js-comment-block.sublime-snippet +++ b/snippets/comment/js/js-comment-block.sublime-snippet @@ -4,6 +4,6 @@ * ${1:Description} */ ]]> - jc.property - jc - Property Comment + jc.block + jc - Block Comment From 25a0e2b31d3252197bda7369fe6c59c280d225ff Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 15:17:09 -0200 Subject: [PATCH 036/114] add: after and before test strucute snippets --- README.md | 2 ++ snippets/js/tests/README.md | 2 ++ snippets/js/tests/structure/README.md | 16 ++++++++++++++++ .../tests-structure-after.sublime-snippet | 9 +++++++++ .../tests-structure-before.sublime-snippet | 9 +++++++++ 5 files changed, 38 insertions(+) create mode 100644 snippets/js/tests/structure/tests-structure-after.sublime-snippet create mode 100644 snippets/js/tests/structure/tests-structure-before.sublime-snippet diff --git a/README.md b/README.md index 02e6e9f..4649d9f 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,8 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text * (JSDuck) [https://github.com/senchalabs/jsduck](https://github.com/senchalabs/jsduck) * (idiomatic CSS) [https://github.com/necolas/idiomatic-css](https://github.com/necolas/idiomatic-css) * (JS Design Patterns) [https://addyosmani.com/resources/essentialjsdesignpatterns/book/](https://addyosmani.com/resources/essentialjsdesignpatterns/book/) +* (Node.js Assert) [https://nodejs.org/api/assert.html](https://nodejs.org/api/assert.html) +* (Jasmine) [http://jasmine.github.io/2.0/introduction.html](http://jasmine.github.io/2.0/introduction.html) ## Contributing diff --git a/snippets/js/tests/README.md b/snippets/js/tests/README.md index 46a84c8..da98bd0 100644 --- a/snippets/js/tests/README.md +++ b/snippets/js/tests/README.md @@ -2,7 +2,9 @@ - [Structure](structure/) - afterEach + - after - beforeEach + - before - describe - it - [BDD](bdd/) (expect) diff --git a/snippets/js/tests/structure/README.md b/snippets/js/tests/structure/README.md index c6fedcb..456f960 100644 --- a/snippets/js/tests/structure/README.md +++ b/snippets/js/tests/structure/README.md @@ -10,6 +10,14 @@ afterEach(function() { }); ``` +### [ts.after] after + +```javascript +after(function() { + ${1} +}); +``` + ### [ts.beforeeach] beforeEach ```javascript @@ -18,6 +26,14 @@ beforeEach(function() { }); ``` +### [ts.before] before + +```javascript +before(function() { + ${1} +}); +``` + ### [ts.describe] describe ```javascript diff --git a/snippets/js/tests/structure/tests-structure-after.sublime-snippet b/snippets/js/tests/structure/tests-structure-after.sublime-snippet new file mode 100644 index 0000000..b53a273 --- /dev/null +++ b/snippets/js/tests/structure/tests-structure-after.sublime-snippet @@ -0,0 +1,9 @@ + + + ts.after + ts - after + diff --git a/snippets/js/tests/structure/tests-structure-before.sublime-snippet b/snippets/js/tests/structure/tests-structure-before.sublime-snippet new file mode 100644 index 0000000..87848ae --- /dev/null +++ b/snippets/js/tests/structure/tests-structure-before.sublime-snippet @@ -0,0 +1,9 @@ + + + ts.before + ts - before + From 166e92a4bad6d600303f9e30bfd8ec97129489f8 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 16:16:13 -0200 Subject: [PATCH 037/114] add: chai javascript snippets --- snippets/js/tests/README.md | 41 ++----- snippets/js/tests/bdd/README.md | 109 +----------------- snippets/js/tests/bdd/expect/README.md | 26 +++++ snippets/js/tests/bdd/expect/chai/README.md | 25 ++++ .../bdd-chai-expect-to-be-a.sublime-snippet | 7 ++ .../bdd-chai-expect-to-equal.sublime-snippet | 7 ++ ...chai-expect-to-have-length.sublime-snippet | 7 ++ ...ai-expect-to-have-property.sublime-snippet | 7 ++ .../js/tests/bdd/expect/jasmine/README.md | 109 ++++++++++++++++++ .../bdd-expect-to-be-close-to.sublime-snippet | 0 .../bdd-expect-to-be-contain.sublime-snippet | 0 .../bdd-expect-to-be-defined.sublime-snippet | 0 .../bdd-expect-to-be-falsy.sublime-snippet | 0 ...-expect-to-be-greater-than.sublime-snippet | 0 ...bdd-expect-to-be-less-than.sublime-snippet | 0 .../bdd-expect-to-be-nan.sublime-snippet | 0 .../bdd-expect-to-be-null.sublime-snippet | 0 .../bdd-expect-to-be-truthy.sublime-snippet | 0 ...bdd-expect-to-be-undefined.sublime-snippet | 0 .../jasmine}/bdd-expect-to-be.sublime-snippet | 0 .../bdd-expect-to-equal.sublime-snippet | 0 ...-to-have-been-called-times.sublime-snippet | 0 ...t-to-have-been-called-with.sublime-snippet | 0 ...expect-to-have-been-called.sublime-snippet | 0 .../bdd-expect-to-match.sublime-snippet | 0 .../bdd-expect-to-throw-error.sublime-snippet | 0 .../bdd-expect-to-throw.sublime-snippet | 0 snippets/js/tests/bdd/should/README.md | 7 ++ snippets/js/tests/bdd/should/chai/README.md | 25 ++++ .../chai/bdd-chai-should-be-a.sublime-snippet | 7 ++ .../bdd-chai-should-equal.sublime-snippet | 7 ++ ...dd-chai-should-have-length.sublime-snippet | 7 ++ ...-chai-should-have-property.sublime-snippet | 7 ++ snippets/js/tests/structure/README.md | 4 +- ...ests-structure-before-each.sublime-snippet | 4 +- snippets/js/tests/tdd/README.md | 104 ++++------------- snippets/js/tests/tdd/chai/README.md | 19 +++ .../tdd-chai-assert-equal.sublime-snippet | 7 ++ .../tdd-chai-assert-length-of.sublime-snippet | 7 ++ .../tdd-chai-assert-type-of.sublime-snippet | 7 ++ snippets/js/tests/tdd/node/README.md | 85 ++++++++++++++ .../tdd-assert-deep-equal.sublime-snippet | 0 ...d-assert-deep-strict-equal.sublime-snippet | 0 .../tdd-assert-does-not-throw.sublime-snippet | 0 .../tdd-assert-equal.sublime-snippet | 0 .../tdd-assert-fail.sublime-snippet | 0 .../tdd-assert-if-error.sublime-snippet | 0 .../tdd-assert-not-deep-equal.sublime-snippet | 0 ...sert-not-deep-strict-equal.sublime-snippet | 0 .../tdd-assert-not-equal.sublime-snippet | 0 ...dd-assert-not-strict-equal.sublime-snippet | 0 .../{ => node}/tdd-assert-ok.sublime-snippet | 0 .../tdd-assert-strict-equal.sublime-snippet | 0 .../tdd-assert-throws.sublime-snippet | 0 .../tdd/{ => node}/tdd-assert.sublime-snippet | 0 55 files changed, 407 insertions(+), 228 deletions(-) create mode 100644 snippets/js/tests/bdd/expect/README.md create mode 100644 snippets/js/tests/bdd/expect/chai/README.md create mode 100644 snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-be-a.sublime-snippet create mode 100644 snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-equal.sublime-snippet create mode 100644 snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-length.sublime-snippet create mode 100644 snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-property.sublime-snippet create mode 100644 snippets/js/tests/bdd/expect/jasmine/README.md rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-close-to.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-contain.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-defined.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-falsy.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-greater-than.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-less-than.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-nan.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-null.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-truthy.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be-undefined.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-be.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-equal.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-have-been-called-times.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-have-been-called-with.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-have-been-called.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-match.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-throw-error.sublime-snippet (100%) rename snippets/js/tests/bdd/{ => expect/jasmine}/bdd-expect-to-throw.sublime-snippet (100%) create mode 100644 snippets/js/tests/bdd/should/README.md create mode 100644 snippets/js/tests/bdd/should/chai/README.md create mode 100644 snippets/js/tests/bdd/should/chai/bdd-chai-should-be-a.sublime-snippet create mode 100644 snippets/js/tests/bdd/should/chai/bdd-chai-should-equal.sublime-snippet create mode 100644 snippets/js/tests/bdd/should/chai/bdd-chai-should-have-length.sublime-snippet create mode 100644 snippets/js/tests/bdd/should/chai/bdd-chai-should-have-property.sublime-snippet create mode 100644 snippets/js/tests/tdd/chai/README.md create mode 100644 snippets/js/tests/tdd/chai/tdd-chai-assert-equal.sublime-snippet create mode 100644 snippets/js/tests/tdd/chai/tdd-chai-assert-length-of.sublime-snippet create mode 100644 snippets/js/tests/tdd/chai/tdd-chai-assert-type-of.sublime-snippet create mode 100644 snippets/js/tests/tdd/node/README.md rename snippets/js/tests/tdd/{ => node}/tdd-assert-deep-equal.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-deep-strict-equal.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-does-not-throw.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-equal.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-fail.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-if-error.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-not-deep-equal.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-not-deep-strict-equal.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-not-equal.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-not-strict-equal.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-ok.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-strict-equal.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert-throws.sublime-snippet (100%) rename snippets/js/tests/tdd/{ => node}/tdd-assert.sublime-snippet (100%) diff --git a/snippets/js/tests/README.md b/snippets/js/tests/README.md index da98bd0..75d0ea8 100644 --- a/snippets/js/tests/README.md +++ b/snippets/js/tests/README.md @@ -7,37 +7,12 @@ - before - describe - it -- [BDD](bdd/) (expect) - - toBeCloseTo - - toBeContain - - toBeDefined - - toBeFalsy - - toBeGreaterThan - - toBeLessThan - - toBeNaN - - toBeNull - - toBeTruthy - - toBeUndefined - - toBe - - toEqual - - toHaveBeenCalledTimes - - toHaveBeenCalledWith - - toHaveBeenCalled - - toMatch - - toThrowError - - toThrow +- [BDD](bdd/) + - expect + - chai + - jasmine + - should + - chai - [TDD](tdd/) (assert) - - assert - - ok - - deepEqual - - deepStrictEqual - - doesNotThrow - - equal - - fail - - ifError - - notDeepEqual - - notDeepStrictEqual - - notEqual - - notStrictEqual - - strictEqual - - throws + - chai + - node diff --git a/snippets/js/tests/bdd/README.md b/snippets/js/tests/bdd/README.md index 6bdf23a..2f8a880 100644 --- a/snippets/js/tests/bdd/README.md +++ b/snippets/js/tests/bdd/README.md @@ -2,110 +2,5 @@ ## Prefix `tb.*` -### [tb.closeto] toBeCloseTo - -```javascript -expect(${1}).toBeCloseTo(${2}, ${3}); -``` - -### [tb.contain] toBeContain - -```javascript -expect(${1}).toBeContain(${2}); -``` - -### [tb.defined] toBeDefined - -```javascript -expect(${1}).toBeDefined(); -``` - -### [tb.falsy] toBeFalsy - -```javascript -expect(${1}).toBeFalsy(); -``` - -### [tb.greaterthan] toBeGreaterThan - -```javascript -expect(${1}).toBeGreaterThan(${2}); -``` - -### [tb.lessthan] toBeLessThan - -```javascript -expect(${1}).toBeLessThan(${2}); -``` - -### [tb.nan] toBeNaN - -```javascript -expect(${1}).toBeNaN(); -``` - -### [tb.null] toBeNull - -```javascript -expect(${1}).toBeNull(); -``` - -### [tb.truthy] toBeTruthy - -```javascript -expect(${1}).toBeTruthy(); -``` - -### [tb.undefined] toBeUndefined - -```javascript -expect(${1}).toBeUndefined(); -``` - -### [tb.tobe] toBe - -```javascript -expect(${1}).toBe(${2}); -``` - -### [tb.equal] toEqual - -```javascript -expect(${1}).toEqual(${2}); -``` - -### [tb.hbctimes] toHaveBeenCalledTimes - -```javascript -expect(${1}).toHaveBeenCalledTimes(${2}); -``` - -### [tb.hbcwith] toHaveBeenCalledWith - -```javascript -expect(${1}).toHaveBeenCalledWith(${2}, ${3}); -``` - -### [tb.hbc] toHaveBeenCalled - -```javascript -expect(${1}).toHaveBeenCalled(); -``` - -### [tb.match] toMatch - -```javascript -expect(${1}).toMatch(${2}); -``` - -### [tb.throwerror] toThrowError - -```javascript -expect(${1}).toThrowError(${2}); -``` - -### [tb.throw] toThrow - -```javascript -expect(${1}).toThrow(${2}); -``` +- [Expect](expect/) +- [Should](should/) diff --git a/snippets/js/tests/bdd/expect/README.md b/snippets/js/tests/bdd/expect/README.md new file mode 100644 index 0000000..17d8736 --- /dev/null +++ b/snippets/js/tests/bdd/expect/README.md @@ -0,0 +1,26 @@ +# Expect JavaScript Snippets + +- [Chai](chai/) + - to.be.a + - to.equal + - to.have.length + - to.have.property +- [Jasmine](jasmine/) + - toBeCloseTo + - toBeContain + - toBeDefined + - toBeFalsy + - toBeGreaterThan + - toBeLessThan + - toBeNaN + - toBeNull + - toBeTruthy + - toBeUndefined + - toBe + - toEqual + - toHaveBeenCalledTimes + - toHaveBeenCalledWith + - toHaveBeenCalled + - toMatch + - toThrowError + - toThrow diff --git a/snippets/js/tests/bdd/expect/chai/README.md b/snippets/js/tests/bdd/expect/chai/README.md new file mode 100644 index 0000000..fba9c91 --- /dev/null +++ b/snippets/js/tests/bdd/expect/chai/README.md @@ -0,0 +1,25 @@ +# Chai Expect JavaScript Snippets + +### [tb.tobea] to.be.a + +```javascript +expect(${1}).to.be.a(${2}); +``` + +### [tb.toequal] to.equal + +```javascript +expect(${1}).to.equal(${2}); +``` + +### [tb.tohl] to.have.length + +```javascript +expect(${1}).to.have.length(${2}); +``` + +### [tb.tohp] to.have.property + +```javascript +expect(${1}).to.have.property(${2}).with.length(${3}); +``` diff --git a/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-be-a.sublime-snippet b/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-be-a.sublime-snippet new file mode 100644 index 0000000..e0c7833 --- /dev/null +++ b/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-be-a.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.tobea + tb - Expect to.be.a + diff --git a/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-equal.sublime-snippet b/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-equal.sublime-snippet new file mode 100644 index 0000000..6a3f9b5 --- /dev/null +++ b/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.toequal + tb - Expect to.equal + diff --git a/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-length.sublime-snippet b/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-length.sublime-snippet new file mode 100644 index 0000000..6c12093 --- /dev/null +++ b/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-length.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.tohl + tb - Expect to.have.length + diff --git a/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-property.sublime-snippet b/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-property.sublime-snippet new file mode 100644 index 0000000..f496c58 --- /dev/null +++ b/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-property.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.tohp + tb - Expect to.have.property + diff --git a/snippets/js/tests/bdd/expect/jasmine/README.md b/snippets/js/tests/bdd/expect/jasmine/README.md new file mode 100644 index 0000000..6ffdde8 --- /dev/null +++ b/snippets/js/tests/bdd/expect/jasmine/README.md @@ -0,0 +1,109 @@ +# Jasmine Expect JavaScript Snippets + +### [tb.closeto] toBeCloseTo + +```javascript +expect(${1}).toBeCloseTo(${2}, ${3}); +``` + +### [tb.contain] toBeContain + +```javascript +expect(${1}).toBeContain(${2}); +``` + +### [tb.defined] toBeDefined + +```javascript +expect(${1}).toBeDefined(); +``` + +### [tb.falsy] toBeFalsy + +```javascript +expect(${1}).toBeFalsy(); +``` + +### [tb.greaterthan] toBeGreaterThan + +```javascript +expect(${1}).toBeGreaterThan(${2}); +``` + +### [tb.lessthan] toBeLessThan + +```javascript +expect(${1}).toBeLessThan(${2}); +``` + +### [tb.nan] toBeNaN + +```javascript +expect(${1}).toBeNaN(); +``` + +### [tb.null] toBeNull + +```javascript +expect(${1}).toBeNull(); +``` + +### [tb.truthy] toBeTruthy + +```javascript +expect(${1}).toBeTruthy(); +``` + +### [tb.undefined] toBeUndefined + +```javascript +expect(${1}).toBeUndefined(); +``` + +### [tb.tobe] toBe + +```javascript +expect(${1}).toBe(${2}); +``` + +### [tb.equal] toEqual + +```javascript +expect(${1}).toEqual(${2}); +``` + +### [tb.hbctimes] toHaveBeenCalledTimes + +```javascript +expect(${1}).toHaveBeenCalledTimes(${2}); +``` + +### [tb.hbcwith] toHaveBeenCalledWith + +```javascript +expect(${1}).toHaveBeenCalledWith(${2}, ${3}); +``` + +### [tb.hbc] toHaveBeenCalled + +```javascript +expect(${1}).toHaveBeenCalled(); +``` + +### [tb.match] toMatch + +```javascript +expect(${1}).toMatch(${2}); +``` + +### [tb.throwerror] toThrowError + +```javascript +expect(${1}).toThrowError(${2}); +``` + +### [tb.throw] toThrow + +```javascript +expect(${1}).toThrow(${2}); +``` diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-close-to.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-close-to.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-close-to.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-close-to.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-contain.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-contain.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-contain.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-contain.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-defined.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-defined.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-defined.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-defined.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-falsy.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-falsy.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-falsy.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-falsy.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-greater-than.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-greater-than.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-greater-than.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-greater-than.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-less-than.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-less-than.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-less-than.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-less-than.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-nan.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-nan.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-nan.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-nan.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-null.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-null.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-null.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-null.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-truthy.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-truthy.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-truthy.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-truthy.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be-undefined.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-undefined.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be-undefined.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-undefined.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-be.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-be.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-equal.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-equal.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-equal.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-have-been-called-times.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-have-been-called-times.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-have-been-called-with.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-have-been-called-with.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-have-been-called.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-have-been-called.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-match.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-match.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-match.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-match.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-throw-error.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-throw-error.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-throw-error.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-throw-error.sublime-snippet diff --git a/snippets/js/tests/bdd/bdd-expect-to-throw.sublime-snippet b/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-throw.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/bdd-expect-to-throw.sublime-snippet rename to snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-throw.sublime-snippet diff --git a/snippets/js/tests/bdd/should/README.md b/snippets/js/tests/bdd/should/README.md new file mode 100644 index 0000000..9184b74 --- /dev/null +++ b/snippets/js/tests/bdd/should/README.md @@ -0,0 +1,7 @@ +# Should JavaScript Snippets + +- [Chai](chai/) + - be.a + - equal + - have.length + - have.property diff --git a/snippets/js/tests/bdd/should/chai/README.md b/snippets/js/tests/bdd/should/chai/README.md new file mode 100644 index 0000000..555ba1d --- /dev/null +++ b/snippets/js/tests/bdd/should/chai/README.md @@ -0,0 +1,25 @@ +# Chai Should JavaScript Snippets + +### [tb.bea] be.a + +```javascript +${1}.should.be.a(${2}); +``` + +### [tb.equal] equal + +```javascript +${1}.should.equal(${2}); +``` + +### [tb.hlength] have.length + +```javascript +${1}.should.have.length(${2}); +``` + +### [tb.hproperty] have.property + +```javascript +${1}.should.have.property(${2}).with.length(${3}); +``` diff --git a/snippets/js/tests/bdd/should/chai/bdd-chai-should-be-a.sublime-snippet b/snippets/js/tests/bdd/should/chai/bdd-chai-should-be-a.sublime-snippet new file mode 100644 index 0000000..781fa79 --- /dev/null +++ b/snippets/js/tests/bdd/should/chai/bdd-chai-should-be-a.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.bea + tb - Should be.a + diff --git a/snippets/js/tests/bdd/should/chai/bdd-chai-should-equal.sublime-snippet b/snippets/js/tests/bdd/should/chai/bdd-chai-should-equal.sublime-snippet new file mode 100644 index 0000000..ca2c884 --- /dev/null +++ b/snippets/js/tests/bdd/should/chai/bdd-chai-should-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.equal + tb - Should equal + diff --git a/snippets/js/tests/bdd/should/chai/bdd-chai-should-have-length.sublime-snippet b/snippets/js/tests/bdd/should/chai/bdd-chai-should-have-length.sublime-snippet new file mode 100644 index 0000000..017c0d8 --- /dev/null +++ b/snippets/js/tests/bdd/should/chai/bdd-chai-should-have-length.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.hlength + tb - Should have.length + diff --git a/snippets/js/tests/bdd/should/chai/bdd-chai-should-have-property.sublime-snippet b/snippets/js/tests/bdd/should/chai/bdd-chai-should-have-property.sublime-snippet new file mode 100644 index 0000000..f4004c4 --- /dev/null +++ b/snippets/js/tests/bdd/should/chai/bdd-chai-should-have-property.sublime-snippet @@ -0,0 +1,7 @@ + + + tb.hproperty + tb - Should have.property + diff --git a/snippets/js/tests/structure/README.md b/snippets/js/tests/structure/README.md index 456f960..8dd65c4 100644 --- a/snippets/js/tests/structure/README.md +++ b/snippets/js/tests/structure/README.md @@ -21,8 +21,8 @@ after(function() { ### [ts.beforeeach] beforeEach ```javascript -beforeEach(function() { - ${1} +beforeEach(${1:'some description', }function${2: namedFun}() { + ${3:beforeEach hook} }); ``` diff --git a/snippets/js/tests/structure/tests-structure-before-each.sublime-snippet b/snippets/js/tests/structure/tests-structure-before-each.sublime-snippet index e823690..703f497 100644 --- a/snippets/js/tests/structure/tests-structure-before-each.sublime-snippet +++ b/snippets/js/tests/structure/tests-structure-before-each.sublime-snippet @@ -1,7 +1,7 @@ ts.beforeeach diff --git a/snippets/js/tests/tdd/README.md b/snippets/js/tests/tdd/README.md index e34473d..9c9a361 100644 --- a/snippets/js/tests/tdd/README.md +++ b/snippets/js/tests/tdd/README.md @@ -1,87 +1,23 @@ -# TDD JavaScript Snippets +# TDD Assert - JavaScript Snippets ## Prefix `tt.*` -### [tt.dequal] deepEqual - -```javascript -assert.deepEqual(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tt.dsequal] deepStrictEqual - -```javascript -assert.deepStrictEqual(${1:actual}, ${2:expected} ${3:, message}); -``` - -### [tt.dnthrow] doesNotThrow - -```javascript -assert.doesNotThrow(${1:block} ${2:, error} ${3:, message}); -``` - -### [tt.equal] equal - -```javascript -assert.equal(${1:actual}, ${2:expected} ${3:, message}); -``` - -### [tt.fail] fail - -```javascript -assert.fail(${1:actual}, ${2:expected}, ${3:message}, ${4:operator}); -``` - -### [tt.iferror] ifError - -```javascript -assert.ifError(${1:value}); -``` - -### [tt.ndequal] notDeepEqual - -```javascript -assert.notDeepEqual(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tt.ndsequal] notDeepStrictEqual - -```javascript -assert.notDeepStrictEqual(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tt.nequal] notEqual - -```javascript -assert.notEqual(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tt.nsequal] notStrictEqual - -```javascript -assert.notStrictEqual(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tt.ok] ok - -```javascript -assert.ok(${1:value}${2:, message}); -``` - -### [tt.sequal] strictEqual - -```javascript -assert.strictEqual(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tt.throws] throws - -```javascript -assert.throws(${1:block}, ${1:error} ${2:, message}); -``` - -### [tt.a] Assert - -```javascript -assert(${1:true}${2:, message}); -``` +- [Chai.js](node/) + - equal + - lengthOf + - typeOf +- [Node.js](node/) + - assert + - ok + - deepEqual + - deepStrictEqual + - doesNotThrow + - equal + - fail + - ifError + - notDeepEqual + - notDeepStrictEqual + - notEqual + - notStrictEqual + - strictEqual + - throws diff --git a/snippets/js/tests/tdd/chai/README.md b/snippets/js/tests/tdd/chai/README.md new file mode 100644 index 0000000..f54494f --- /dev/null +++ b/snippets/js/tests/tdd/chai/README.md @@ -0,0 +1,19 @@ +# Chai.js Assert - JavaScript Snippets + +### [tt.equal] equal + +```javascript +assert.equal(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.lengthof] lengthOf + +```javascript +assert.lengthOf(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.typeof] typeOf + +```javascript +assert.typeOf(${1:actual}, ${1:expected} ${2:, message}); +``` diff --git a/snippets/js/tests/tdd/chai/tdd-chai-assert-equal.sublime-snippet b/snippets/js/tests/tdd/chai/tdd-chai-assert-equal.sublime-snippet new file mode 100644 index 0000000..e98e7ee --- /dev/null +++ b/snippets/js/tests/tdd/chai/tdd-chai-assert-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.equal + tt - Assert equal + diff --git a/snippets/js/tests/tdd/chai/tdd-chai-assert-length-of.sublime-snippet b/snippets/js/tests/tdd/chai/tdd-chai-assert-length-of.sublime-snippet new file mode 100644 index 0000000..b03112b --- /dev/null +++ b/snippets/js/tests/tdd/chai/tdd-chai-assert-length-of.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.lengthof + tt - Assert lengthOf + diff --git a/snippets/js/tests/tdd/chai/tdd-chai-assert-type-of.sublime-snippet b/snippets/js/tests/tdd/chai/tdd-chai-assert-type-of.sublime-snippet new file mode 100644 index 0000000..07a43be --- /dev/null +++ b/snippets/js/tests/tdd/chai/tdd-chai-assert-type-of.sublime-snippet @@ -0,0 +1,7 @@ + + + tt.typeof + tt - Assert typeOf + diff --git a/snippets/js/tests/tdd/node/README.md b/snippets/js/tests/tdd/node/README.md new file mode 100644 index 0000000..5bbe9d7 --- /dev/null +++ b/snippets/js/tests/tdd/node/README.md @@ -0,0 +1,85 @@ +# Node.js Assert - JavaScript Snippets + +### [tt.dequal] deepEqual + +```javascript +assert.deepEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.dsequal] deepStrictEqual + +```javascript +assert.deepStrictEqual(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tt.dnthrow] doesNotThrow + +```javascript +assert.doesNotThrow(${1:block} ${2:, error} ${3:, message}); +``` + +### [tt.equal] equal + +```javascript +assert.equal(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tt.fail] fail + +```javascript +assert.fail(${1:actual}, ${2:expected}, ${3:message}, ${4:operator}); +``` + +### [tt.iferror] ifError + +```javascript +assert.ifError(${1:value}); +``` + +### [tt.ndequal] notDeepEqual + +```javascript +assert.notDeepEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.ndsequal] notDeepStrictEqual + +```javascript +assert.notDeepStrictEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.nequal] notEqual + +```javascript +assert.notEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.nsequal] notStrictEqual + +```javascript +assert.notStrictEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.ok] ok + +```javascript +assert.ok(${1:value}${2:, message}); +``` + +### [tt.sequal] strictEqual + +```javascript +assert.strictEqual(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.throws] throws + +```javascript +assert.throws(${1:block}, ${1:error} ${2:, message}); +``` + +### [tt.a] Assert + +```javascript +assert(${1:true}${2:, message}); +``` diff --git a/snippets/js/tests/tdd/tdd-assert-deep-equal.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-deep-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-deep-equal.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-deep-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-deep-strict-equal.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-deep-strict-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-deep-strict-equal.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-deep-strict-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-does-not-throw.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-does-not-throw.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-does-not-throw.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-does-not-throw.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-equal.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-equal.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-fail.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-fail.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-fail.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-fail.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-if-error.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-if-error.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-if-error.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-if-error.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-not-deep-equal.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-not-deep-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-not-deep-equal.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-not-deep-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-not-deep-strict-equal.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-not-deep-strict-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-not-deep-strict-equal.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-not-deep-strict-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-not-equal.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-not-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-not-equal.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-not-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-not-strict-equal.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-not-strict-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-not-strict-equal.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-not-strict-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-ok.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-ok.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-ok.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-ok.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-strict-equal.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-strict-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-strict-equal.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-strict-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert-throws.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert-throws.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert-throws.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert-throws.sublime-snippet diff --git a/snippets/js/tests/tdd/tdd-assert.sublime-snippet b/snippets/js/tests/tdd/node/tdd-assert.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/tdd-assert.sublime-snippet rename to snippets/js/tests/tdd/node/tdd-assert.sublime-snippet From a87de138dd1fd55d20cbe62b72815a2af958503c Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 17:06:08 -0200 Subject: [PATCH 038/114] update: separation javascript tests for frameworks --- README.md | 10 +- snippets.json | 235 +++++++++++------- snippets/js/tests/README.md | 60 ++++- snippets/js/tests/bdd/README.md | 6 - snippets/js/tests/bdd/expect/README.md | 26 -- snippets/js/tests/bdd/expect/chai/README.md | 25 -- snippets/js/tests/bdd/should/README.md | 7 - snippets/js/tests/bdd/should/chai/README.md | 25 -- snippets/js/tests/chai/README.md | 87 +++++++ .../bdd-chai-expect-to-be-a.sublime-snippet | 0 .../bdd-chai-expect-to-equal.sublime-snippet | 0 ...chai-expect-to-have-length.sublime-snippet | 0 ...ai-expect-to-have-property.sublime-snippet | 0 .../chai/bdd-chai-should-be-a.sublime-snippet | 0 .../bdd-chai-should-equal.sublime-snippet | 0 ...dd-chai-should-have-length.sublime-snippet | 0 ...-chai-should-have-property.sublime-snippet | 0 .../tdd-chai-assert-equal.sublime-snippet | 0 .../tdd-chai-assert-length-of.sublime-snippet | 0 .../tdd-chai-assert-type-of.sublime-snippet | 0 .../js/tests/{structure => common}/README.md | 4 +- ...tests-structure-after-each.sublime-snippet | 0 .../tests-structure-after.sublime-snippet | 0 ...ests-structure-before-each.sublime-snippet | 0 .../tests-structure-before.sublime-snippet | 0 .../tests-structure-describe.sublime-snippet | 0 .../tests-structure-it.sublime-snippet | 0 .../tests/{bdd/expect => }/jasmine/README.md | 4 +- .../bdd-expect-to-be-close-to.sublime-snippet | 0 .../bdd-expect-to-be-contain.sublime-snippet | 0 .../bdd-expect-to-be-defined.sublime-snippet | 0 .../bdd-expect-to-be-falsy.sublime-snippet | 0 ...-expect-to-be-greater-than.sublime-snippet | 0 ...bdd-expect-to-be-less-than.sublime-snippet | 0 .../bdd-expect-to-be-nan.sublime-snippet | 0 .../bdd-expect-to-be-null.sublime-snippet | 0 .../bdd-expect-to-be-truthy.sublime-snippet | 0 ...bdd-expect-to-be-undefined.sublime-snippet | 0 .../jasmine/bdd-expect-to-be.sublime-snippet | 0 .../bdd-expect-to-equal.sublime-snippet | 0 ...-to-have-been-called-times.sublime-snippet | 0 ...t-to-have-been-called-with.sublime-snippet | 0 ...expect-to-have-been-called.sublime-snippet | 0 .../bdd-expect-to-match.sublime-snippet | 0 .../bdd-expect-to-throw-error.sublime-snippet | 0 .../bdd-expect-to-throw.sublime-snippet | 0 snippets/js/tests/mocha/README.md | 9 + snippets/js/tests/{tdd => }/node/README.md | 4 +- .../tdd-assert-deep-equal.sublime-snippet | 0 ...d-assert-deep-strict-equal.sublime-snippet | 0 .../tdd-assert-does-not-throw.sublime-snippet | 0 .../node/tdd-assert-equal.sublime-snippet | 0 .../node/tdd-assert-fail.sublime-snippet | 0 .../node/tdd-assert-if-error.sublime-snippet | 0 .../tdd-assert-not-deep-equal.sublime-snippet | 0 ...sert-not-deep-strict-equal.sublime-snippet | 0 .../node/tdd-assert-not-equal.sublime-snippet | 0 ...dd-assert-not-strict-equal.sublime-snippet | 0 .../node/tdd-assert-ok.sublime-snippet | 0 .../tdd-assert-strict-equal.sublime-snippet | 0 .../node/tdd-assert-throws.sublime-snippet | 0 .../{tdd => }/node/tdd-assert.sublime-snippet | 0 snippets/js/tests/qunit/README.md | 9 + snippets/js/tests/sinon/README.md | 9 + snippets/js/tests/tdd/README.md | 23 -- snippets/js/tests/tdd/chai/README.md | 19 -- 66 files changed, 330 insertions(+), 232 deletions(-) delete mode 100644 snippets/js/tests/bdd/README.md delete mode 100644 snippets/js/tests/bdd/expect/README.md delete mode 100644 snippets/js/tests/bdd/expect/chai/README.md delete mode 100644 snippets/js/tests/bdd/should/README.md delete mode 100644 snippets/js/tests/bdd/should/chai/README.md create mode 100644 snippets/js/tests/chai/README.md rename snippets/js/tests/{bdd/expect => }/chai/bdd-chai-expect-to-be-a.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/chai/bdd-chai-expect-to-equal.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/chai/bdd-chai-expect-to-have-length.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/chai/bdd-chai-expect-to-have-property.sublime-snippet (100%) rename snippets/js/tests/{bdd/should => }/chai/bdd-chai-should-be-a.sublime-snippet (100%) rename snippets/js/tests/{bdd/should => }/chai/bdd-chai-should-equal.sublime-snippet (100%) rename snippets/js/tests/{bdd/should => }/chai/bdd-chai-should-have-length.sublime-snippet (100%) rename snippets/js/tests/{bdd/should => }/chai/bdd-chai-should-have-property.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/chai/tdd-chai-assert-equal.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/chai/tdd-chai-assert-length-of.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/chai/tdd-chai-assert-type-of.sublime-snippet (100%) rename snippets/js/tests/{structure => common}/README.md (92%) rename snippets/js/tests/{structure => common}/tests-structure-after-each.sublime-snippet (100%) rename snippets/js/tests/{structure => common}/tests-structure-after.sublime-snippet (100%) rename snippets/js/tests/{structure => common}/tests-structure-before-each.sublime-snippet (100%) rename snippets/js/tests/{structure => common}/tests-structure-before.sublime-snippet (100%) rename snippets/js/tests/{structure => common}/tests-structure-describe.sublime-snippet (100%) rename snippets/js/tests/{structure => common}/tests-structure-it.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/README.md (96%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-close-to.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-contain.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-defined.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-falsy.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-greater-than.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-less-than.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-nan.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-null.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-truthy.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be-undefined.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-be.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-equal.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-have-been-called.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-match.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-throw-error.sublime-snippet (100%) rename snippets/js/tests/{bdd/expect => }/jasmine/bdd-expect-to-throw.sublime-snippet (100%) create mode 100644 snippets/js/tests/mocha/README.md rename snippets/js/tests/{tdd => }/node/README.md (96%) rename snippets/js/tests/{tdd => }/node/tdd-assert-deep-equal.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-deep-strict-equal.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-does-not-throw.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-equal.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-fail.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-if-error.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-not-deep-equal.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-not-deep-strict-equal.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-not-equal.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-not-strict-equal.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-ok.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-strict-equal.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert-throws.sublime-snippet (100%) rename snippets/js/tests/{tdd => }/node/tdd-assert.sublime-snippet (100%) create mode 100644 snippets/js/tests/qunit/README.md create mode 100644 snippets/js/tests/sinon/README.md delete mode 100644 snippets/js/tests/tdd/README.md delete mode 100644 snippets/js/tests/tdd/chai/README.md diff --git a/README.md b/README.md index 4649d9f..19d44d2 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,13 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text - Patterns - [Design Patterns](snippets/js/patterns/design-patterns) - Tests - - [Structure - ts.*](snippets/js/tests/structure) - - [BDD - tb.*](snippets/js/tests/bdd) - - [TDD - tt.*](snippets/js/tests/tdd) + - [Common - t.*](snippets/js/tests/common) + - [Chai - tc.*](snippets/js/tests/chai) + - [Jasmine - tj.*](snippets/js/tests/jasmine) + - [Mocha - tm.*](snippets/js/tests/mocha) + - [Node - tn.*](snippets/js/tests/node) + - [QUnit - tq.*](snippets/js/tests/qunit) + - [Sinon - ts.*](snippets/js/tests/sinon) - Schema.org - [Microdata](snippets/schema/microdata) - [External - e*](snippets/external/) diff --git a/snippets.json b/snippets.json index a5dc88f..87112df 100644 --- a/snippets.json +++ b/snippets.json @@ -1635,428 +1635,493 @@ "trigger": "jdp.singleton" }, { - "description": "tb - Expect toBeCloseTo", + "description": "tb - Expect to.be.a", "id": 328, + "trigger": "tb.tobea" + }, + { + "description": "tb - Expect to.equal", + "id": 329, + "trigger": "tb.toequal" + }, + { + "description": "tb - Expect to.have.length", + "id": 330, + "trigger": "tb.tohl" + }, + { + "description": "tb - Expect to.have.property", + "id": 331, + "trigger": "tb.tohp" + }, + { + "description": "tb - Expect toBeCloseTo", + "id": 332, "trigger": "tb.closeto" }, { "description": "tb - Expect toBeContain", - "id": 329, + "id": 333, "trigger": "tb.contain" }, { "description": "tb - Expect toBeDefined", - "id": 330, + "id": 334, "trigger": "tb.defined" }, { "description": "tb - Expect toBeFalsy", - "id": 331, + "id": 335, "trigger": "tb.falsy" }, { "description": "tb - Expect toBeGreaterThan", - "id": 332, + "id": 336, "trigger": "tb.greaterthan" }, { "description": "tb - Expect toBeLessThan", - "id": 333, + "id": 337, "trigger": "tb.lessthan" }, { "description": "tb - Expect toBeNaN", - "id": 334, + "id": 338, "trigger": "tb.nan" }, { "description": "tb - Expect toBeNull", - "id": 335, + "id": 339, "trigger": "tb.null" }, { "description": "tb - Expect toBeTruthy", - "id": 336, + "id": 340, "trigger": "tb.truthy" }, { "description": "tb - Expect toBeUndefined", - "id": 337, + "id": 341, "trigger": "tb.undefined" }, { "description": "tb - Expect toBe", - "id": 338, + "id": 342, "trigger": "tb.tobe" }, { "description": "tb - Expect toEqual", - "id": 339, + "id": 343, "trigger": "tb.equal" }, { "description": "tb - Expect toHaveBeenCalledTimes", - "id": 340, + "id": 344, "trigger": "tb.hbctimes" }, { "description": "tb - Expect toHaveBeenCalledWith", - "id": 341, + "id": 345, "trigger": "tb.hbcwith" }, { "description": "tb - Expect toHaveBeenCalled", - "id": 342, + "id": 346, "trigger": "tb.hbc" }, { "description": "tb - Expect toMatch", - "id": 343, + "id": 347, "trigger": "tb.match" }, { "description": "tb - Expect toThrowError", - "id": 344, + "id": 348, "trigger": "tb.throwerror" }, { "description": "tb - Expect toThrow", - "id": 345, + "id": 349, "trigger": "tb.throw" }, + { + "description": "tb - Should be.a", + "id": 350, + "trigger": "tb.bea" + }, + { + "description": "tb - Should equal", + "id": 351, + "trigger": "tb.equal" + }, + { + "description": "tb - Should have.length", + "id": 352, + "trigger": "tb.hlength" + }, + { + "description": "tb - Should have.property", + "id": 353, + "trigger": "tb.hproperty" + }, { "description": "ts - afterEach", - "id": 346, + "id": 354, "trigger": "ts.aftereach" }, + { + "description": "ts - after", + "id": 355, + "trigger": "ts.after" + }, { "description": "ts - beforeEach", - "id": 347, + "id": 356, "trigger": "ts.beforeeach" }, + { + "description": "ts - before", + "id": 357, + "trigger": "ts.before" + }, { "description": "ts - describe", - "id": 348, + "id": 358, "trigger": "ts.describe" }, { "description": "ts - it", - "id": 349, + "id": 359, "trigger": "ts.it" }, + { + "description": "tt - Assert equal", + "id": 360, + "trigger": "tt.equal" + }, + { + "description": "tt - Assert lengthOf", + "id": 361, + "trigger": "tt.lengthof" + }, + { + "description": "tt - Assert typeOf", + "id": 362, + "trigger": "tt.typeof" + }, { "description": "tt - Assert deepEqual", - "id": 350, + "id": 363, "trigger": "tt.dequal" }, { "description": "tt - Assert deepStrictEqual", - "id": 351, + "id": 364, "trigger": "tt.dsequal" }, { "description": "tt - Assert doesNotThrow", - "id": 352, + "id": 365, "trigger": "tt.dnthrow" }, { "description": "tt - Assert equal", - "id": 353, + "id": 366, "trigger": "tt.equal" }, { "description": "tt - Assert fail", - "id": 354, + "id": 367, "trigger": "tt.fail" }, { "description": "tt - Assert ifError", - "id": 355, + "id": 368, "trigger": "tt.iferror" }, { "description": "tt - Assert notDeepEqual", - "id": 356, + "id": 369, "trigger": "tt.ndequal" }, { "description": "tt - Assert notDeepStrictEqual", - "id": 357, + "id": 370, "trigger": "tt.ndsequal" }, { "description": "tt - Assert notEqual", - "id": 358, + "id": 371, "trigger": "tt.nequal" }, { "description": "tt - Assert notStrictEqual", - "id": 359, + "id": 372, "trigger": "tt.nsequal" }, { "description": "tt - Assert ok", - "id": 360, + "id": 373, "trigger": "tt.ok" }, { "description": "tt - Assert strictEqual", - "id": 361, + "id": 374, "trigger": "tt.sequal" }, { "description": "tt - Assert throws", - "id": 362, + "id": 375, "trigger": "tt.throws" }, { "description": "tt - Assert", - "id": 363, + "id": 376, "trigger": "tt.a" }, { "description": "j - if else", - "id": 364, + "id": 377, "trigger": "jifelse" }, { "description": "j - switch", - "id": 365, + "id": 378, "trigger": "jswitch" }, { "description": "j - console.dir", - "id": 366, + "id": 379, "trigger": "jcd" }, { "description": "j - console.error", - "id": 367, + "id": 380, "trigger": "jce" }, { "description": "j - console.info", - "id": 368, + "id": 381, "trigger": "jci" }, { "description": "j - console.log", - "id": 369, + "id": 382, "trigger": "jcl" }, { "description": "j - console.warn", - "id": 370, + "id": 383, "trigger": "jcw" }, { "description": "j - addEventListener", - "id": 371, + "id": 384, "trigger": "j-ael" }, { "description": "j - appendChild", - "id": 372, + "id": 385, "trigger": "jac" }, { "description": "j - classList.add", - "id": 373, + "id": 386, "trigger": "jcla" }, { "description": "j - classList.remove", - "id": 374, + "id": 387, "trigger": "jclr" }, { "description": "j - classList.toggle", - "id": 375, + "id": 388, "trigger": "jclt" }, { "description": "j - createDocumentFragment", - "id": 376, + "id": 389, "trigger": "jcdf" }, { "description": "j - createElement", - "id": 377, + "id": 390, "trigger": "jcel" }, { "description": "j - getAttribute", - "id": 378, + "id": 391, "trigger": "jgattr" }, { "description": "j - getElementById", - "id": 379, + "id": 392, "trigger": "jgid" }, { "description": "j - getElementsByClassName", - "id": 380, + "id": 393, "trigger": "jgclass" }, { "description": "j - getElementsByTagName", - "id": 381, + "id": 394, "trigger": "jgtag" }, { "description": "j - innerHTML", - "id": 382, + "id": 395, "trigger": "jih" }, { "description": "j - querySelectorAll", - "id": 383, + "id": 396, "trigger": "jqsa" }, { "description": "j - querySelector", - "id": 384, + "id": 397, "trigger": "jqs" }, { "description": "j - removeAttribute", - "id": 385, + "id": 398, "trigger": "jrattr" }, { "description": "j - removeChild", - "id": 386, + "id": 399, "trigger": "jrc" }, { "description": "j - setAttribute", - "id": 387, + "id": 400, "trigger": "jsattr" }, { "description": "j - textContent", - "id": 388, + "id": 401, "trigger": "jtc" }, { "description": "j - Anonymous Function", - "id": 389, + "id": 402, "trigger": "jafn" }, { "description": "j - Function apply", - "id": 390, + "id": 403, "trigger": "japply" }, { "description": "j - Function call", - "id": 391, + "id": 404, "trigger": "jcall" }, { "description": "j - Immediately-invoked function expression", - "id": 392, + "id": 405, "trigger": "j-iife" }, { "description": "j - Prototype", - "id": 393, + "id": 406, "trigger": "jprot" }, { "description": "j - Function", - "id": 394, + "id": 407, "trigger": "jfn" }, { "description": "j - JSON.parse", - "id": 395, + "id": 408, "trigger": "jjsonp" }, { "description": "j - JSON.stringify", - "id": 396, + "id": 409, "trigger": "jjsons" }, { "description": "j - do while", - "id": 397, + "id": 410, "trigger": "jdowhile" }, { "description": "j - forEach", - "id": 398, + "id": 411, "trigger": "jfore" }, { "description": "j - for in", - "id": 399, + "id": 412, "trigger": "jfori" }, { "description": "j - for", - "id": 400, + "id": 413, "trigger": "jfor" }, { "description": "j - while", - "id": 401, + "id": 414, "trigger": "jwhile" }, { "description": "j - setInterval", - "id": 402, + "id": 415, "trigger": "jsinterval" }, { "description": "j - setTimeout", - "id": 403, + "id": 416, "trigger": "jstimeout" }, { "description": "m - Action", - "id": 404, + "id": 417, "trigger": "maction" }, { "description": "m - Organization", - "id": 405, + "id": 418, "trigger": "morg" }, { "description": "Logotype", - "id": 406, + "id": 419, "trigger": "zjsonld" }, { "description": "Organization", - "id": 407, + "id": 420, "trigger": "zmicrodata" }, { "description": "Article", - "id": 408, + "id": 421, "trigger": "zmicrodata" }, { "description": "Book", - "id": 409, + "id": 422, "trigger": "zmicrodata" }, { "description": "Game", - "id": 410, + "id": 423, "trigger": "zmicrodata" }, { "description": "WebPage", - "id": 411, + "id": 424, "trigger": "zmicrodata" }, { "description": "Breadcrumb", - "id": 412, + "id": 425, "trigger": "zrdfa" } ] \ No newline at end of file diff --git a/snippets/js/tests/README.md b/snippets/js/tests/README.md index 75d0ea8..1a1f748 100644 --- a/snippets/js/tests/README.md +++ b/snippets/js/tests/README.md @@ -7,12 +7,54 @@ - before - describe - it -- [BDD](bdd/) - - expect - - chai - - jasmine - - should - - chai -- [TDD](tdd/) (assert) - - chai - - node +- [Chai](chai/) + - Assert + - equal + - lengthOf + - typeOf + - Expect + - to.be.a + - to.equal + - to.have.length + - to.have.property + - Should + - be.a + - equal + - have.length + - have.property +- [Jasmine](jasmine/) + - Expect + - toBeCloseTo + - toBeContain + - toBeDefined + - toBeFalsy + - toBeGreaterThan + - toBeLessThan + - toBeNaN + - toBeNull + - toBeTruthy + - toBeUndefined + - toBe + - toEqual + - toHaveBeenCalledTimes + - toHaveBeenCalledWith + - toHaveBeenCalled + - toMatch + - toThrowError + - toThrow +- [Node](node/) + - assert + - ok + - deepEqual + - deepStrictEqual + - doesNotThrow + - equal + - fail + - ifError + - notDeepEqual + - notDeepStrictEqual + - notEqual + - notStrictEqual + - strictEqual + - throws +- [Sinon](sinon/) diff --git a/snippets/js/tests/bdd/README.md b/snippets/js/tests/bdd/README.md deleted file mode 100644 index 2f8a880..0000000 --- a/snippets/js/tests/bdd/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# BDD JavaScript Snippets - -## Prefix `tb.*` - -- [Expect](expect/) -- [Should](should/) diff --git a/snippets/js/tests/bdd/expect/README.md b/snippets/js/tests/bdd/expect/README.md deleted file mode 100644 index 17d8736..0000000 --- a/snippets/js/tests/bdd/expect/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Expect JavaScript Snippets - -- [Chai](chai/) - - to.be.a - - to.equal - - to.have.length - - to.have.property -- [Jasmine](jasmine/) - - toBeCloseTo - - toBeContain - - toBeDefined - - toBeFalsy - - toBeGreaterThan - - toBeLessThan - - toBeNaN - - toBeNull - - toBeTruthy - - toBeUndefined - - toBe - - toEqual - - toHaveBeenCalledTimes - - toHaveBeenCalledWith - - toHaveBeenCalled - - toMatch - - toThrowError - - toThrow diff --git a/snippets/js/tests/bdd/expect/chai/README.md b/snippets/js/tests/bdd/expect/chai/README.md deleted file mode 100644 index fba9c91..0000000 --- a/snippets/js/tests/bdd/expect/chai/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# Chai Expect JavaScript Snippets - -### [tb.tobea] to.be.a - -```javascript -expect(${1}).to.be.a(${2}); -``` - -### [tb.toequal] to.equal - -```javascript -expect(${1}).to.equal(${2}); -``` - -### [tb.tohl] to.have.length - -```javascript -expect(${1}).to.have.length(${2}); -``` - -### [tb.tohp] to.have.property - -```javascript -expect(${1}).to.have.property(${2}).with.length(${3}); -``` diff --git a/snippets/js/tests/bdd/should/README.md b/snippets/js/tests/bdd/should/README.md deleted file mode 100644 index 9184b74..0000000 --- a/snippets/js/tests/bdd/should/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Should JavaScript Snippets - -- [Chai](chai/) - - be.a - - equal - - have.length - - have.property diff --git a/snippets/js/tests/bdd/should/chai/README.md b/snippets/js/tests/bdd/should/chai/README.md deleted file mode 100644 index 555ba1d..0000000 --- a/snippets/js/tests/bdd/should/chai/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# Chai Should JavaScript Snippets - -### [tb.bea] be.a - -```javascript -${1}.should.be.a(${2}); -``` - -### [tb.equal] equal - -```javascript -${1}.should.equal(${2}); -``` - -### [tb.hlength] have.length - -```javascript -${1}.should.have.length(${2}); -``` - -### [tb.hproperty] have.property - -```javascript -${1}.should.have.property(${2}).with.length(${3}); -``` diff --git a/snippets/js/tests/chai/README.md b/snippets/js/tests/chai/README.md new file mode 100644 index 0000000..411fe17 --- /dev/null +++ b/snippets/js/tests/chai/README.md @@ -0,0 +1,87 @@ +# Chai JavaScript Snippets + +## Prefix `tb.*` + +### [tt.equal] equal + +```javascript +assert.equal(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.lengthof] lengthOf + +```javascript +assert.lengthOf(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.typeof] typeOf + +```javascript +assert.typeOf(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tb.tobea] to.be.a + +```javascript +expect(${1}).to.be.a(${2}); +``` + +### [tb.toequal] to.equal + +```javascript +expect(${1}).to.equal(${2}); +``` + +### [tb.tohl] to.have.length + +```javascript +expect(${1}).to.have.length(${2}); +``` + +### [tb.tohp] to.have.property + +```javascript +expect(${1}).to.have.property(${2}).with.length(${3}); +``` + +### [tt.equal] equal + +```javascript +assert.equal(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.lengthof] lengthOf + +```javascript +assert.lengthOf(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tt.typeof] typeOf + +```javascript +assert.typeOf(${1:actual}, ${1:expected} ${2:, message}); +``` + +### [tb.bea] be.a + +```javascript +${1}.should.be.a(${2}); +``` + +### [tb.equal] equal + +```javascript +${1}.should.equal(${2}); +``` + +### [tb.hlength] have.length + +```javascript +${1}.should.have.length(${2}); +``` + +### [tb.hproperty] have.property + +```javascript +${1}.should.have.property(${2}).with.length(${3}); +``` diff --git a/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-be-a.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-be-a.sublime-snippet rename to snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-equal.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-equal.sublime-snippet rename to snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-length.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-length.sublime-snippet rename to snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-property.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/chai/bdd-chai-expect-to-have-property.sublime-snippet rename to snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet diff --git a/snippets/js/tests/bdd/should/chai/bdd-chai-should-be-a.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/should/chai/bdd-chai-should-be-a.sublime-snippet rename to snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet diff --git a/snippets/js/tests/bdd/should/chai/bdd-chai-should-equal.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/should/chai/bdd-chai-should-equal.sublime-snippet rename to snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet diff --git a/snippets/js/tests/bdd/should/chai/bdd-chai-should-have-length.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/should/chai/bdd-chai-should-have-length.sublime-snippet rename to snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet diff --git a/snippets/js/tests/bdd/should/chai/bdd-chai-should-have-property.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/should/chai/bdd-chai-should-have-property.sublime-snippet rename to snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet diff --git a/snippets/js/tests/tdd/chai/tdd-chai-assert-equal.sublime-snippet b/snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/chai/tdd-chai-assert-equal.sublime-snippet rename to snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/chai/tdd-chai-assert-length-of.sublime-snippet b/snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/chai/tdd-chai-assert-length-of.sublime-snippet rename to snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet diff --git a/snippets/js/tests/tdd/chai/tdd-chai-assert-type-of.sublime-snippet b/snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/chai/tdd-chai-assert-type-of.sublime-snippet rename to snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet diff --git a/snippets/js/tests/structure/README.md b/snippets/js/tests/common/README.md similarity index 92% rename from snippets/js/tests/structure/README.md rename to snippets/js/tests/common/README.md index 8dd65c4..c107c95 100644 --- a/snippets/js/tests/structure/README.md +++ b/snippets/js/tests/common/README.md @@ -1,6 +1,6 @@ -# Tests structure Snippets +# Tests Common Snippets -## Prefix `ts.*` +## Prefix `t.*` ### [ts.aftereach] afterEach diff --git a/snippets/js/tests/structure/tests-structure-after-each.sublime-snippet b/snippets/js/tests/common/tests-structure-after-each.sublime-snippet similarity index 100% rename from snippets/js/tests/structure/tests-structure-after-each.sublime-snippet rename to snippets/js/tests/common/tests-structure-after-each.sublime-snippet diff --git a/snippets/js/tests/structure/tests-structure-after.sublime-snippet b/snippets/js/tests/common/tests-structure-after.sublime-snippet similarity index 100% rename from snippets/js/tests/structure/tests-structure-after.sublime-snippet rename to snippets/js/tests/common/tests-structure-after.sublime-snippet diff --git a/snippets/js/tests/structure/tests-structure-before-each.sublime-snippet b/snippets/js/tests/common/tests-structure-before-each.sublime-snippet similarity index 100% rename from snippets/js/tests/structure/tests-structure-before-each.sublime-snippet rename to snippets/js/tests/common/tests-structure-before-each.sublime-snippet diff --git a/snippets/js/tests/structure/tests-structure-before.sublime-snippet b/snippets/js/tests/common/tests-structure-before.sublime-snippet similarity index 100% rename from snippets/js/tests/structure/tests-structure-before.sublime-snippet rename to snippets/js/tests/common/tests-structure-before.sublime-snippet diff --git a/snippets/js/tests/structure/tests-structure-describe.sublime-snippet b/snippets/js/tests/common/tests-structure-describe.sublime-snippet similarity index 100% rename from snippets/js/tests/structure/tests-structure-describe.sublime-snippet rename to snippets/js/tests/common/tests-structure-describe.sublime-snippet diff --git a/snippets/js/tests/structure/tests-structure-it.sublime-snippet b/snippets/js/tests/common/tests-structure-it.sublime-snippet similarity index 100% rename from snippets/js/tests/structure/tests-structure-it.sublime-snippet rename to snippets/js/tests/common/tests-structure-it.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/README.md b/snippets/js/tests/jasmine/README.md similarity index 96% rename from snippets/js/tests/bdd/expect/jasmine/README.md rename to snippets/js/tests/jasmine/README.md index 6ffdde8..08bd82b 100644 --- a/snippets/js/tests/bdd/expect/jasmine/README.md +++ b/snippets/js/tests/jasmine/README.md @@ -1,4 +1,6 @@ -# Jasmine Expect JavaScript Snippets +# Jasmine JavaScript Snippets + +## Prefix `tb.*` ### [tb.closeto] toBeCloseTo diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-close-to.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-close-to.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-close-to.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-close-to.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-contain.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-contain.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-contain.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-contain.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-defined.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-defined.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-defined.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-defined.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-falsy.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-falsy.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-falsy.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-falsy.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-greater-than.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-greater-than.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-greater-than.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-greater-than.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-less-than.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-less-than.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-less-than.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-less-than.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-nan.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-nan.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-nan.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-nan.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-null.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-null.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-null.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-null.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-truthy.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-truthy.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-truthy.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-truthy.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-undefined.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-undefined.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be-undefined.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be-undefined.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-be.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-be.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-equal.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-equal.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-equal.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-have-been-called.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-have-been-called.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-have-been-called.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-match.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-match.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-match.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-match.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-throw-error.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-throw-error.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-throw-error.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-throw-error.sublime-snippet diff --git a/snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-throw.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-throw.sublime-snippet similarity index 100% rename from snippets/js/tests/bdd/expect/jasmine/bdd-expect-to-throw.sublime-snippet rename to snippets/js/tests/jasmine/bdd-expect-to-throw.sublime-snippet diff --git a/snippets/js/tests/mocha/README.md b/snippets/js/tests/mocha/README.md new file mode 100644 index 0000000..becc02e --- /dev/null +++ b/snippets/js/tests/mocha/README.md @@ -0,0 +1,9 @@ +# Mocha JavaScript Snippets + +## Prefix `tb.*` + +### [tt.dequal] deepEqual + +```javascript + +``` diff --git a/snippets/js/tests/tdd/node/README.md b/snippets/js/tests/node/README.md similarity index 96% rename from snippets/js/tests/tdd/node/README.md rename to snippets/js/tests/node/README.md index 5bbe9d7..8e0c22b 100644 --- a/snippets/js/tests/tdd/node/README.md +++ b/snippets/js/tests/node/README.md @@ -1,4 +1,6 @@ -# Node.js Assert - JavaScript Snippets +# Node.js JavaScript Snippets + +## Prefix `tb.*` ### [tt.dequal] deepEqual diff --git a/snippets/js/tests/tdd/node/tdd-assert-deep-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-deep-equal.sublime-snippet rename to snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-deep-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-deep-strict-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-deep-strict-equal.sublime-snippet rename to snippets/js/tests/node/tdd-assert-deep-strict-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-does-not-throw.sublime-snippet b/snippets/js/tests/node/tdd-assert-does-not-throw.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-does-not-throw.sublime-snippet rename to snippets/js/tests/node/tdd-assert-does-not-throw.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-equal.sublime-snippet rename to snippets/js/tests/node/tdd-assert-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-fail.sublime-snippet b/snippets/js/tests/node/tdd-assert-fail.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-fail.sublime-snippet rename to snippets/js/tests/node/tdd-assert-fail.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-if-error.sublime-snippet b/snippets/js/tests/node/tdd-assert-if-error.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-if-error.sublime-snippet rename to snippets/js/tests/node/tdd-assert-if-error.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-not-deep-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-not-deep-equal.sublime-snippet rename to snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-not-deep-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-not-deep-strict-equal.sublime-snippet rename to snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-not-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-not-equal.sublime-snippet rename to snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-not-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-not-strict-equal.sublime-snippet rename to snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-ok.sublime-snippet b/snippets/js/tests/node/tdd-assert-ok.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-ok.sublime-snippet rename to snippets/js/tests/node/tdd-assert-ok.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-strict-equal.sublime-snippet rename to snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert-throws.sublime-snippet b/snippets/js/tests/node/tdd-assert-throws.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert-throws.sublime-snippet rename to snippets/js/tests/node/tdd-assert-throws.sublime-snippet diff --git a/snippets/js/tests/tdd/node/tdd-assert.sublime-snippet b/snippets/js/tests/node/tdd-assert.sublime-snippet similarity index 100% rename from snippets/js/tests/tdd/node/tdd-assert.sublime-snippet rename to snippets/js/tests/node/tdd-assert.sublime-snippet diff --git a/snippets/js/tests/qunit/README.md b/snippets/js/tests/qunit/README.md new file mode 100644 index 0000000..50e14c9 --- /dev/null +++ b/snippets/js/tests/qunit/README.md @@ -0,0 +1,9 @@ +# QUnit JavaScript Snippets + +## Prefix `tb.*` + +### [tt.dequal] deepEqual + +```javascript + +``` diff --git a/snippets/js/tests/sinon/README.md b/snippets/js/tests/sinon/README.md new file mode 100644 index 0000000..dfbc255 --- /dev/null +++ b/snippets/js/tests/sinon/README.md @@ -0,0 +1,9 @@ +# Sinon JavaScript Snippets + +## Prefix `tb.*` + +### [tt.dequal] deepEqual + +```javascript + +``` diff --git a/snippets/js/tests/tdd/README.md b/snippets/js/tests/tdd/README.md deleted file mode 100644 index 9c9a361..0000000 --- a/snippets/js/tests/tdd/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# TDD Assert - JavaScript Snippets - -## Prefix `tt.*` - -- [Chai.js](node/) - - equal - - lengthOf - - typeOf -- [Node.js](node/) - - assert - - ok - - deepEqual - - deepStrictEqual - - doesNotThrow - - equal - - fail - - ifError - - notDeepEqual - - notDeepStrictEqual - - notEqual - - notStrictEqual - - strictEqual - - throws diff --git a/snippets/js/tests/tdd/chai/README.md b/snippets/js/tests/tdd/chai/README.md deleted file mode 100644 index f54494f..0000000 --- a/snippets/js/tests/tdd/chai/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Chai.js Assert - JavaScript Snippets - -### [tt.equal] equal - -```javascript -assert.equal(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tt.lengthof] lengthOf - -```javascript -assert.lengthOf(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tt.typeof] typeOf - -```javascript -assert.typeOf(${1:actual}, ${1:expected} ${2:, message}); -``` From 7c4651e93f95fb80bddc6db112d93963ba4c335a Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 17:16:21 -0200 Subject: [PATCH 039/114] update: adjusting key prefix --- snippets/js/tests/chai/README.md | 30 +++++++-------- .../bdd-chai-expect-to-be-a.sublime-snippet | 4 +- .../bdd-chai-expect-to-equal.sublime-snippet | 4 +- ...chai-expect-to-have-length.sublime-snippet | 4 +- ...ai-expect-to-have-property.sublime-snippet | 4 +- .../chai/bdd-chai-should-be-a.sublime-snippet | 4 +- .../bdd-chai-should-equal.sublime-snippet | 4 +- ...dd-chai-should-have-length.sublime-snippet | 4 +- ...-chai-should-have-property.sublime-snippet | 4 +- .../tdd-chai-assert-equal.sublime-snippet | 4 +- .../tdd-chai-assert-length-of.sublime-snippet | 4 +- .../tdd-chai-assert-type-of.sublime-snippet | 4 +- snippets/js/tests/common/README.md | 12 +++--- ...tests-structure-after-each.sublime-snippet | 4 +- .../tests-structure-after.sublime-snippet | 4 +- ...ests-structure-before-each.sublime-snippet | 4 +- .../tests-structure-before.sublime-snippet | 4 +- .../tests-structure-describe.sublime-snippet | 4 +- .../common/tests-structure-it.sublime-snippet | 4 +- snippets/js/tests/jasmine/README.md | 38 +++++++++---------- .../bdd-expect-to-be-close-to.sublime-snippet | 4 +- .../bdd-expect-to-be-contain.sublime-snippet | 4 +- .../bdd-expect-to-be-defined.sublime-snippet | 4 +- .../bdd-expect-to-be-falsy.sublime-snippet | 4 +- ...-expect-to-be-greater-than.sublime-snippet | 4 +- ...bdd-expect-to-be-less-than.sublime-snippet | 4 +- .../bdd-expect-to-be-nan.sublime-snippet | 4 +- .../bdd-expect-to-be-null.sublime-snippet | 4 +- .../bdd-expect-to-be-truthy.sublime-snippet | 4 +- ...bdd-expect-to-be-undefined.sublime-snippet | 4 +- .../jasmine/bdd-expect-to-be.sublime-snippet | 4 +- .../bdd-expect-to-equal.sublime-snippet | 4 +- ...-to-have-been-called-times.sublime-snippet | 4 +- ...t-to-have-been-called-with.sublime-snippet | 4 +- ...expect-to-have-been-called.sublime-snippet | 4 +- .../bdd-expect-to-match.sublime-snippet | 4 +- .../bdd-expect-to-throw-error.sublime-snippet | 4 +- .../bdd-expect-to-throw.sublime-snippet | 4 +- snippets/js/tests/node/README.md | 30 +++++++-------- .../tdd-assert-deep-equal.sublime-snippet | 4 +- ...d-assert-deep-strict-equal.sublime-snippet | 4 +- .../tdd-assert-does-not-throw.sublime-snippet | 4 +- .../node/tdd-assert-equal.sublime-snippet | 4 +- .../node/tdd-assert-fail.sublime-snippet | 4 +- .../node/tdd-assert-if-error.sublime-snippet | 4 +- .../tdd-assert-not-deep-equal.sublime-snippet | 4 +- ...sert-not-deep-strict-equal.sublime-snippet | 4 +- .../node/tdd-assert-not-equal.sublime-snippet | 4 +- ...dd-assert-not-strict-equal.sublime-snippet | 4 +- .../tests/node/tdd-assert-ok.sublime-snippet | 4 +- .../tdd-assert-strict-equal.sublime-snippet | 4 +- .../node/tdd-assert-throws.sublime-snippet | 4 +- .../js/tests/node/tdd-assert.sublime-snippet | 4 +- 53 files changed, 153 insertions(+), 153 deletions(-) diff --git a/snippets/js/tests/chai/README.md b/snippets/js/tests/chai/README.md index 411fe17..92345e3 100644 --- a/snippets/js/tests/chai/README.md +++ b/snippets/js/tests/chai/README.md @@ -1,86 +1,86 @@ # Chai JavaScript Snippets -## Prefix `tb.*` +## Prefix `tc.*` -### [tt.equal] equal +### [tc.equal] equal ```javascript assert.equal(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.lengthof] lengthOf +### [tc.lengthof] lengthOf ```javascript assert.lengthOf(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.typeof] typeOf +### [tc.typeof] typeOf ```javascript assert.typeOf(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tb.tobea] to.be.a +### [tc.tobea] to.be.a ```javascript expect(${1}).to.be.a(${2}); ``` -### [tb.toequal] to.equal +### [tc.toequal] to.equal ```javascript expect(${1}).to.equal(${2}); ``` -### [tb.tohl] to.have.length +### [tc.tohl] to.have.length ```javascript expect(${1}).to.have.length(${2}); ``` -### [tb.tohp] to.have.property +### [tc.tohp] to.have.property ```javascript expect(${1}).to.have.property(${2}).with.length(${3}); ``` -### [tt.equal] equal +### [tc.equal] equal ```javascript assert.equal(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.lengthof] lengthOf +### [tc.lengthof] lengthOf ```javascript assert.lengthOf(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.typeof] typeOf +### [tc.typeof] typeOf ```javascript assert.typeOf(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tb.bea] be.a +### [tc.bea] be.a ```javascript ${1}.should.be.a(${2}); ``` -### [tb.equal] equal +### [tc.equal] equal ```javascript ${1}.should.equal(${2}); ``` -### [tb.hlength] have.length +### [tc.hlength] have.length ```javascript ${1}.should.have.length(${2}); ``` -### [tb.hproperty] have.property +### [tc.hproperty] have.property ```javascript ${1}.should.have.property(${2}).with.length(${3}); diff --git a/snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet index e0c7833..7edb2b9 100644 --- a/snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet @@ -2,6 +2,6 @@ - tb.tobea - tb - Expect to.be.a + tc.tobea + tc - Expect to.be.a diff --git a/snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet index 6a3f9b5..cceda6f 100644 --- a/snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet @@ -2,6 +2,6 @@ - tb.toequal - tb - Expect to.equal + tc.toequal + tc - Expect to.equal diff --git a/snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet index 6c12093..150a36e 100644 --- a/snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet @@ -2,6 +2,6 @@ - tb.tohl - tb - Expect to.have.length + tc.tohl + tc - Expect to.have.length diff --git a/snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet index f496c58..784b19e 100644 --- a/snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet @@ -2,6 +2,6 @@ - tb.tohp - tb - Expect to.have.property + tc.tohp + tc - Expect to.have.property diff --git a/snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet index 781fa79..0eba997 100644 --- a/snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet @@ -2,6 +2,6 @@ - tb.bea - tb - Should be.a + tc.bea + tc - Should be.a diff --git a/snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet index ca2c884..e730a6d 100644 --- a/snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet @@ -2,6 +2,6 @@ - tb.equal - tb - Should equal + tc.equal + tc - Should equal diff --git a/snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet index 017c0d8..0e319cd 100644 --- a/snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet @@ -2,6 +2,6 @@ - tb.hlength - tb - Should have.length + tc.hlength + tc - Should have.length diff --git a/snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet index f4004c4..0d27030 100644 --- a/snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet @@ -2,6 +2,6 @@ - tb.hproperty - tb - Should have.property + tc.hproperty + tc - Should have.property diff --git a/snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet b/snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet index e98e7ee..81a6c5f 100644 --- a/snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet +++ b/snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet @@ -2,6 +2,6 @@ - tt.equal - tt - Assert equal + tc.equal + tc - Assert equal diff --git a/snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet b/snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet index b03112b..4b253f2 100644 --- a/snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet +++ b/snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet @@ -2,6 +2,6 @@ - tt.lengthof - tt - Assert lengthOf + tc.lengthof + tc - Assert lengthOf diff --git a/snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet b/snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet index 07a43be..cbff89a 100644 --- a/snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet +++ b/snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet @@ -2,6 +2,6 @@ - tt.typeof - tt - Assert typeOf + tc.typeof + tc - Assert typeOf diff --git a/snippets/js/tests/common/README.md b/snippets/js/tests/common/README.md index c107c95..b6d5bf5 100644 --- a/snippets/js/tests/common/README.md +++ b/snippets/js/tests/common/README.md @@ -2,7 +2,7 @@ ## Prefix `t.*` -### [ts.aftereach] afterEach +### [t.aftereach] afterEach ```javascript afterEach(function() { @@ -10,7 +10,7 @@ afterEach(function() { }); ``` -### [ts.after] after +### [t.after] after ```javascript after(function() { @@ -18,7 +18,7 @@ after(function() { }); ``` -### [ts.beforeeach] beforeEach +### [t.beforeeach] beforeEach ```javascript beforeEach(${1:'some description', }function${2: namedFun}() { @@ -26,7 +26,7 @@ beforeEach(${1:'some description', }function${2: namedFun}() { }); ``` -### [ts.before] before +### [t.before] before ```javascript before(function() { @@ -34,7 +34,7 @@ before(function() { }); ``` -### [ts.describe] describe +### [t.describe] describe ```javascript describe("$1", function() { @@ -42,7 +42,7 @@ describe("$1", function() { }); ``` -### [ts.it] it +### [t.it] it ```javascript it("${1}", function() { diff --git a/snippets/js/tests/common/tests-structure-after-each.sublime-snippet b/snippets/js/tests/common/tests-structure-after-each.sublime-snippet index eee8179..6587ca4 100644 --- a/snippets/js/tests/common/tests-structure-after-each.sublime-snippet +++ b/snippets/js/tests/common/tests-structure-after-each.sublime-snippet @@ -4,6 +4,6 @@ afterEach(function() { ${1} }); ]]> - ts.aftereach - ts - afterEach + t.aftereach + t - afterEach diff --git a/snippets/js/tests/common/tests-structure-after.sublime-snippet b/snippets/js/tests/common/tests-structure-after.sublime-snippet index b53a273..0fef7a3 100644 --- a/snippets/js/tests/common/tests-structure-after.sublime-snippet +++ b/snippets/js/tests/common/tests-structure-after.sublime-snippet @@ -4,6 +4,6 @@ after(function() { ${1} }); ]]> - ts.after - ts - after + t.after + t - after diff --git a/snippets/js/tests/common/tests-structure-before-each.sublime-snippet b/snippets/js/tests/common/tests-structure-before-each.sublime-snippet index 703f497..57ab682 100644 --- a/snippets/js/tests/common/tests-structure-before-each.sublime-snippet +++ b/snippets/js/tests/common/tests-structure-before-each.sublime-snippet @@ -4,6 +4,6 @@ beforeEach(${1:'some description', }function${2: namedFun}() { ${3:beforeEach hook} }); ]]> - ts.beforeeach - ts - beforeEach + t.beforeeach + t - beforeEach diff --git a/snippets/js/tests/common/tests-structure-before.sublime-snippet b/snippets/js/tests/common/tests-structure-before.sublime-snippet index 87848ae..5363453 100644 --- a/snippets/js/tests/common/tests-structure-before.sublime-snippet +++ b/snippets/js/tests/common/tests-structure-before.sublime-snippet @@ -4,6 +4,6 @@ before(function() { ${1} }); ]]> - ts.before - ts - before + t.before + t - before diff --git a/snippets/js/tests/common/tests-structure-describe.sublime-snippet b/snippets/js/tests/common/tests-structure-describe.sublime-snippet index 42737d1..a8930a5 100644 --- a/snippets/js/tests/common/tests-structure-describe.sublime-snippet +++ b/snippets/js/tests/common/tests-structure-describe.sublime-snippet @@ -4,6 +4,6 @@ describe("$1", function() { $2 }); ]]> - ts.describe - ts - describe + t.describe + t - describe diff --git a/snippets/js/tests/common/tests-structure-it.sublime-snippet b/snippets/js/tests/common/tests-structure-it.sublime-snippet index 3b779e0..0f70f9f 100644 --- a/snippets/js/tests/common/tests-structure-it.sublime-snippet +++ b/snippets/js/tests/common/tests-structure-it.sublime-snippet @@ -4,6 +4,6 @@ it("${1}", function() { ${2} }); ]]> - ts.it - ts - it + t.it + t - it diff --git a/snippets/js/tests/jasmine/README.md b/snippets/js/tests/jasmine/README.md index 08bd82b..ab088ee 100644 --- a/snippets/js/tests/jasmine/README.md +++ b/snippets/js/tests/jasmine/README.md @@ -1,110 +1,110 @@ # Jasmine JavaScript Snippets -## Prefix `tb.*` +## Prefix `tj.*` -### [tb.closeto] toBeCloseTo +### [tj.closeto] toBeCloseTo ```javascript expect(${1}).toBeCloseTo(${2}, ${3}); ``` -### [tb.contain] toBeContain +### [tj.contain] toBeContain ```javascript expect(${1}).toBeContain(${2}); ``` -### [tb.defined] toBeDefined +### [tj.defined] toBeDefined ```javascript expect(${1}).toBeDefined(); ``` -### [tb.falsy] toBeFalsy +### [tj.falsy] toBeFalsy ```javascript expect(${1}).toBeFalsy(); ``` -### [tb.greaterthan] toBeGreaterThan +### [tj.greaterthan] toBeGreaterThan ```javascript expect(${1}).toBeGreaterThan(${2}); ``` -### [tb.lessthan] toBeLessThan +### [tj.lessthan] toBeLessThan ```javascript expect(${1}).toBeLessThan(${2}); ``` -### [tb.nan] toBeNaN +### [tj.nan] toBeNaN ```javascript expect(${1}).toBeNaN(); ``` -### [tb.null] toBeNull +### [tj.null] toBeNull ```javascript expect(${1}).toBeNull(); ``` -### [tb.truthy] toBeTruthy +### [tj.truthy] toBeTruthy ```javascript expect(${1}).toBeTruthy(); ``` -### [tb.undefined] toBeUndefined +### [tj.undefined] toBeUndefined ```javascript expect(${1}).toBeUndefined(); ``` -### [tb.tobe] toBe +### [tj.tobe] toBe ```javascript expect(${1}).toBe(${2}); ``` -### [tb.equal] toEqual +### [tj.equal] toEqual ```javascript expect(${1}).toEqual(${2}); ``` -### [tb.hbctimes] toHaveBeenCalledTimes +### [tj.hbctimes] toHaveBeenCalledTimes ```javascript expect(${1}).toHaveBeenCalledTimes(${2}); ``` -### [tb.hbcwith] toHaveBeenCalledWith +### [tj.hbcwith] toHaveBeenCalledWith ```javascript expect(${1}).toHaveBeenCalledWith(${2}, ${3}); ``` -### [tb.hbc] toHaveBeenCalled +### [tj.hbc] toHaveBeenCalled ```javascript expect(${1}).toHaveBeenCalled(); ``` -### [tb.match] toMatch +### [tj.match] toMatch ```javascript expect(${1}).toMatch(${2}); ``` -### [tb.throwerror] toThrowError +### [tj.throwerror] toThrowError ```javascript expect(${1}).toThrowError(${2}); ``` -### [tb.throw] toThrow +### [tj.throw] toThrow ```javascript expect(${1}).toThrow(${2}); diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-close-to.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-close-to.sublime-snippet index 7f390d2..37e07d9 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-close-to.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-close-to.sublime-snippet @@ -2,6 +2,6 @@ - tb.closeto - tb - Expect toBeCloseTo + tj.closeto + tj - Expect toBeCloseTo diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-contain.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-contain.sublime-snippet index 6938b2a..f71fa7d 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-contain.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-contain.sublime-snippet @@ -2,6 +2,6 @@ - tb.contain - tb - Expect toBeContain + tj.contain + tj - Expect toBeContain diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-defined.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-defined.sublime-snippet index ca83e2e..17da382 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-defined.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-defined.sublime-snippet @@ -2,6 +2,6 @@ - tb.defined - tb - Expect toBeDefined + tj.defined + tj - Expect toBeDefined diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-falsy.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-falsy.sublime-snippet index d87cf92..46eab6c 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-falsy.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-falsy.sublime-snippet @@ -2,6 +2,6 @@ - tb.falsy - tb - Expect toBeFalsy + tj.falsy + tj - Expect toBeFalsy diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-greater-than.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-greater-than.sublime-snippet index 64ab6bd..ce5a357 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-greater-than.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-greater-than.sublime-snippet @@ -2,6 +2,6 @@ - tb.greaterthan - tb - Expect toBeGreaterThan + tj.greaterthan + tj - Expect toBeGreaterThan diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-less-than.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-less-than.sublime-snippet index faa6f45..0630f79 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-less-than.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-less-than.sublime-snippet @@ -2,6 +2,6 @@ - tb.lessthan - tb - Expect toBeLessThan + tj.lessthan + tj - Expect toBeLessThan diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-nan.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-nan.sublime-snippet index 66d333b..3dec5e3 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-nan.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-nan.sublime-snippet @@ -2,6 +2,6 @@ - tb.nan - tb - Expect toBeNaN + tj.nan + tj - Expect toBeNaN diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-null.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-null.sublime-snippet index 5464221..b076fe1 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-null.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-null.sublime-snippet @@ -2,6 +2,6 @@ - tb.null - tb - Expect toBeNull + tj.null + tj - Expect toBeNull diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-truthy.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-truthy.sublime-snippet index 1a63b05..7b8966d 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-truthy.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-truthy.sublime-snippet @@ -2,6 +2,6 @@ - tb.truthy - tb - Expect toBeTruthy + tj.truthy + tj - Expect toBeTruthy diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be-undefined.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be-undefined.sublime-snippet index fda7e0d..58b94e4 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be-undefined.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be-undefined.sublime-snippet @@ -2,6 +2,6 @@ - tb.undefined - tb - Expect toBeUndefined + tj.undefined + tj - Expect toBeUndefined diff --git a/snippets/js/tests/jasmine/bdd-expect-to-be.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-be.sublime-snippet index 433f027..dbcb066 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-be.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-be.sublime-snippet @@ -2,6 +2,6 @@ - tb.tobe - tb - Expect toBe + tj.tobe + tj - Expect toBe diff --git a/snippets/js/tests/jasmine/bdd-expect-to-equal.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-equal.sublime-snippet index 4396c58..a78d57a 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-equal.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-equal.sublime-snippet @@ -2,6 +2,6 @@ - tb.equal - tb - Expect toEqual + tj.equal + tj - Expect toEqual diff --git a/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet index 33518b5..af81b05 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-times.sublime-snippet @@ -2,6 +2,6 @@ - tb.hbctimes - tb - Expect toHaveBeenCalledTimes + tj.hbctimes + tj - Expect toHaveBeenCalledTimes diff --git a/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet index 33d2261..40a8449 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-have-been-called-with.sublime-snippet @@ -2,6 +2,6 @@ - tb.hbcwith - tb - Expect toHaveBeenCalledWith + tj.hbcwith + tj - Expect toHaveBeenCalledWith diff --git a/snippets/js/tests/jasmine/bdd-expect-to-have-been-called.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-have-been-called.sublime-snippet index 15409b6..aefb764 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-have-been-called.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-have-been-called.sublime-snippet @@ -2,6 +2,6 @@ - tb.hbc - tb - Expect toHaveBeenCalled + tj.hbc + tj - Expect toHaveBeenCalled diff --git a/snippets/js/tests/jasmine/bdd-expect-to-match.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-match.sublime-snippet index d551430..b8308ac 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-match.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-match.sublime-snippet @@ -2,6 +2,6 @@ - tb.match - tb - Expect toMatch + tj.match + tj - Expect toMatch diff --git a/snippets/js/tests/jasmine/bdd-expect-to-throw-error.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-throw-error.sublime-snippet index 3777bdd..2f5582f 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-throw-error.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-throw-error.sublime-snippet @@ -2,6 +2,6 @@ - tb.throwerror - tb - Expect toThrowError + tj.throwerror + tj - Expect toThrowError diff --git a/snippets/js/tests/jasmine/bdd-expect-to-throw.sublime-snippet b/snippets/js/tests/jasmine/bdd-expect-to-throw.sublime-snippet index 86c34ca..47e3753 100644 --- a/snippets/js/tests/jasmine/bdd-expect-to-throw.sublime-snippet +++ b/snippets/js/tests/jasmine/bdd-expect-to-throw.sublime-snippet @@ -2,6 +2,6 @@ - tb.throw - tb - Expect toThrow + tj.throw + tj - Expect toThrow diff --git a/snippets/js/tests/node/README.md b/snippets/js/tests/node/README.md index 8e0c22b..e0125a4 100644 --- a/snippets/js/tests/node/README.md +++ b/snippets/js/tests/node/README.md @@ -1,86 +1,86 @@ # Node.js JavaScript Snippets -## Prefix `tb.*` +## Prefix `tn.*` -### [tt.dequal] deepEqual +### [tn.dequal] deepEqual ```javascript assert.deepEqual(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.dsequal] deepStrictEqual +### [tn.dsequal] deepStrictEqual ```javascript assert.deepStrictEqual(${1:actual}, ${2:expected} ${3:, message}); ``` -### [tt.dnthrow] doesNotThrow +### [tn.dnthrow] doesNotThrow ```javascript assert.doesNotThrow(${1:block} ${2:, error} ${3:, message}); ``` -### [tt.equal] equal +### [tn.equal] equal ```javascript assert.equal(${1:actual}, ${2:expected} ${3:, message}); ``` -### [tt.fail] fail +### [tn.fail] fail ```javascript assert.fail(${1:actual}, ${2:expected}, ${3:message}, ${4:operator}); ``` -### [tt.iferror] ifError +### [tn.iferror] ifError ```javascript assert.ifError(${1:value}); ``` -### [tt.ndequal] notDeepEqual +### [tn.ndequal] notDeepEqual ```javascript assert.notDeepEqual(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.ndsequal] notDeepStrictEqual +### [tn.ndsequal] notDeepStrictEqual ```javascript assert.notDeepStrictEqual(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.nequal] notEqual +### [tn.nequal] notEqual ```javascript assert.notEqual(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.nsequal] notStrictEqual +### [tn.nsequal] notStrictEqual ```javascript assert.notStrictEqual(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.ok] ok +### [tn.ok] ok ```javascript assert.ok(${1:value}${2:, message}); ``` -### [tt.sequal] strictEqual +### [tn.sequal] strictEqual ```javascript assert.strictEqual(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tt.throws] throws +### [tn.throws] throws ```javascript assert.throws(${1:block}, ${1:error} ${2:, message}); ``` -### [tt.a] Assert +### [tn.a] Assert ```javascript assert(${1:true}${2:, message}); diff --git a/snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet index 50b12f0..c5d6940 100644 --- a/snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet @@ -2,6 +2,6 @@ - tt.dequal - tt - Assert deepEqual + tn.dequal + tn - Assert deepEqual diff --git a/snippets/js/tests/node/tdd-assert-deep-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-deep-strict-equal.sublime-snippet index 7a28770..bfe0830 100644 --- a/snippets/js/tests/node/tdd-assert-deep-strict-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-deep-strict-equal.sublime-snippet @@ -2,6 +2,6 @@ - tt.dsequal - tt - Assert deepStrictEqual + tn.dsequal + tn - Assert deepStrictEqual diff --git a/snippets/js/tests/node/tdd-assert-does-not-throw.sublime-snippet b/snippets/js/tests/node/tdd-assert-does-not-throw.sublime-snippet index a8744ee..8539669 100644 --- a/snippets/js/tests/node/tdd-assert-does-not-throw.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-does-not-throw.sublime-snippet @@ -2,6 +2,6 @@ - tt.dnthrow - tt - Assert doesNotThrow + tn.dnthrow + tn - Assert doesNotThrow diff --git a/snippets/js/tests/node/tdd-assert-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-equal.sublime-snippet index 9ab1d87..f3ddc18 100644 --- a/snippets/js/tests/node/tdd-assert-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-equal.sublime-snippet @@ -2,6 +2,6 @@ - tt.equal - tt - Assert equal + tn.equal + tn - Assert equal diff --git a/snippets/js/tests/node/tdd-assert-fail.sublime-snippet b/snippets/js/tests/node/tdd-assert-fail.sublime-snippet index 973115e..95e979c 100644 --- a/snippets/js/tests/node/tdd-assert-fail.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-fail.sublime-snippet @@ -2,6 +2,6 @@ - tt.fail - tt - Assert fail + tn.fail + tn - Assert fail diff --git a/snippets/js/tests/node/tdd-assert-if-error.sublime-snippet b/snippets/js/tests/node/tdd-assert-if-error.sublime-snippet index 6c28e7a..ffb5993 100644 --- a/snippets/js/tests/node/tdd-assert-if-error.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-if-error.sublime-snippet @@ -2,6 +2,6 @@ - tt.iferror - tt - Assert ifError + tn.iferror + tn - Assert ifError diff --git a/snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet index 2772c83..b7f86e7 100644 --- a/snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet @@ -2,6 +2,6 @@ - tt.ndequal - tt - Assert notDeepEqual + tn.ndequal + tn - Assert notDeepEqual diff --git a/snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet index 567f076..165e118 100644 --- a/snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet @@ -2,6 +2,6 @@ - tt.ndsequal - tt - Assert notDeepStrictEqual + tn.ndsequal + tn - Assert notDeepStrictEqual diff --git a/snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet index d23f092..bfa0eea 100644 --- a/snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet @@ -2,6 +2,6 @@ - tt.nequal - tt - Assert notEqual + tn.nequal + tn - Assert notEqual diff --git a/snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet index c4971a1..e63676a 100644 --- a/snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet @@ -2,6 +2,6 @@ - tt.nsequal - tt - Assert notStrictEqual + tn.nsequal + tn - Assert notStrictEqual diff --git a/snippets/js/tests/node/tdd-assert-ok.sublime-snippet b/snippets/js/tests/node/tdd-assert-ok.sublime-snippet index 5952997..4e5959c 100644 --- a/snippets/js/tests/node/tdd-assert-ok.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-ok.sublime-snippet @@ -2,6 +2,6 @@ - tt.ok - tt - Assert ok + tn.ok + tn - Assert ok diff --git a/snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet index 32e0501..7acf52d 100644 --- a/snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet @@ -2,6 +2,6 @@ - tt.sequal - tt - Assert strictEqual + tn.sequal + tn - Assert strictEqual diff --git a/snippets/js/tests/node/tdd-assert-throws.sublime-snippet b/snippets/js/tests/node/tdd-assert-throws.sublime-snippet index 2b42ba4..cd6e1f4 100644 --- a/snippets/js/tests/node/tdd-assert-throws.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-throws.sublime-snippet @@ -2,6 +2,6 @@ - tt.throws - tt - Assert throws + tn.throws + tn - Assert throws diff --git a/snippets/js/tests/node/tdd-assert.sublime-snippet b/snippets/js/tests/node/tdd-assert.sublime-snippet index bc988dd..2666f5b 100644 --- a/snippets/js/tests/node/tdd-assert.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert.sublime-snippet @@ -2,6 +2,6 @@ - tt.a - tt - Assert + tn.a + tn - Assert From b4655bf0ebec0d1c937e40aadfad40fe41dc190e Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 17:41:49 -0200 Subject: [PATCH 040/114] update: prefix pattern snippets --- README.md | 30 +++-- snippets/css/README.md | 8 +- snippets/css/css-font-face.sublime-snippet | 2 +- snippets/css/css-keyframes.sublime-snippet | 2 +- snippets/css/css-media-querie.sublime-snippet | 2 +- snippets/external/README.md | 6 +- snippets/external/ga.sublime-snippet | 2 +- snippets/external/gtm.sublime-snippet | 2 +- snippets/html/README.md | 8 +- snippets/html/html-basic.sublime-snippet | 2 +- snippets/html/html-document.sublime-snippet | 2 +- snippets/html/html-head.sublime-snippet | 2 +- snippets/js/README.md | 10 +- snippets/js/libraries/jquery/README.md | 2 +- snippets/js/libraries/jquery/ajax/README.md | 30 ++--- .../jquery/ajax/jq-ajax-1.sublime-snippet | 2 +- .../ajax/jq-ajax-complete.sublime-snippet | 2 +- .../jquery/ajax/jq-ajax-error.sublime-snippet | 2 +- .../ajax/jq-ajax-get-json.sublime-snippet | 2 +- .../ajax/jq-ajax-get-script.sublime-snippet | 2 +- .../jquery/ajax/jq-ajax-get.sublime-snippet | 2 +- .../jquery/ajax/jq-ajax-load.sublime-snippet | 2 +- .../jquery/ajax/jq-ajax-post.sublime-snippet | 2 +- .../ajax/jq-ajax-prefilter.sublime-snippet | 2 +- .../jquery/ajax/jq-ajax-send.sublime-snippet | 2 +- .../jquery/ajax/jq-ajax-setup.sublime-snippet | 2 +- .../jquery/ajax/jq-ajax-start.sublime-snippet | 2 +- .../jquery/ajax/jq-ajax-stop.sublime-snippet | 2 +- .../ajax/jq-ajax-success.sublime-snippet | 2 +- .../ajax/jq-ajax-transport.sublime-snippet | 2 +- .../js/libraries/jquery/attributes/README.md | 18 +-- .../jq-attributes-add-class.sublime-snippet | 2 +- .../jq-attributes-attr.sublime-snippet | 2 +- .../jq-attributes-has-class.sublime-snippet | 2 +- .../jq-attributes-html.sublime-snippet | 2 +- .../jq-attributes-prop.sublime-snippet | 2 +- .../jq-attributes-remove-attr.sublime-snippet | 2 +- ...jq-attributes-remove-class.sublime-snippet | 2 +- .../jq-attributes-remove-prop.sublime-snippet | 2 +- ...jq-attributes-toggle-class.sublime-snippet | 2 +- .../js/libraries/jquery/callbacks/README.md | 24 ++-- .../jq-callbacks-add.sublime-snippet | 2 +- .../jq-callbacks-disable.sublime-snippet | 2 +- .../jq-callbacks-disabled.sublime-snippet | 2 +- .../jq-callbacks-empty.sublime-snippet | 2 +- .../jq-callbacks-fire-with.sublime-snippet | 2 +- .../jq-callbacks-fire.sublime-snippet | 2 +- .../jq-callbacks-fired.sublime-snippet | 2 +- .../jq-callbacks-has.sublime-snippet | 2 +- .../jq-callbacks-lock.sublime-snippet | 2 +- .../jq-callbacks-locked.sublime-snippet | 2 +- .../jq-callbacks-remove.sublime-snippet | 2 +- .../callbacks/jq-callbacks.sublime-snippet | 2 +- snippets/js/libraries/jquery/core/README.md | 8 +- .../core/jq-core-hold-heady.sublime-snippet | 2 +- .../core/jq-core-jquery.sublime-snippet | 2 +- .../core/jq-core-no-conflict.sublime-snippet | 2 +- .../jquery/core/jq-core-when.sublime-snippet | 2 +- snippets/js/libraries/jquery/css/README.md | 6 +- .../jquery/css/jq-css-hooks.sublime-snippet | 2 +- .../jquery/css/jq-css-number.sublime-snippet | 2 +- .../jquery/css/jq-css.sublime-snippet | 2 +- snippets/js/libraries/jquery/data/README.md | 10 +- .../data/jq-data-has-data.sublime-snippet | 2 +- .../data/jq-data-jquery.sublime-snippet | 2 +- ...jq-data-remove-data-jquery.sublime-snippet | 2 +- .../data/jq-data-remove-data.sublime-snippet | 2 +- .../jquery/data/jq-data.sublime-snippet | 2 +- .../js/libraries/jquery/deferred/README.md | 30 ++--- .../jq-deferred-always.sublime-snippet | 2 +- .../deferred/jq-deferred-done.sublime-snippet | 2 +- .../deferred/jq-deferred-fail.sublime-snippet | 2 +- .../jq-deferred-notify-with.sublime-snippet | 2 +- .../jq-deferred-notify.sublime-snippet | 2 +- .../jq-deferred-progress.sublime-snippet | 2 +- .../jq-deferred-promise.sublime-snippet | 2 +- .../jq-deferred-reject-with.sublime-snippet | 2 +- .../jq-deferred-reject.sublime-snippet | 2 +- .../jq-deferred-resolve-with.sublime-snippet | 2 +- .../jq-deferred-resolve.sublime-snippet | 2 +- .../jq-deferred-state.sublime-snippet | 2 +- .../deferred/jq-deferred-then.sublime-snippet | 2 +- .../deferred/jq-deferred.sublime-snippet | 2 +- .../deferred/jq-promise.sublime-snippet | 2 +- .../js/libraries/jquery/dimensions/README.md | 12 +- .../jq-dimensions-height.sublime-snippet | 2 +- ...jq-dimensions-inner-height.sublime-snippet | 2 +- .../jq-dimensions-inner-width.sublime-snippet | 2 +- ...jq-dimensions-outer-height.sublime-snippet | 2 +- .../jq-dimensions-outer-width.sublime-snippet | 2 +- .../jq-dimensions-width.sublime-snippet | 2 +- .../js/libraries/jquery/effects/README.md | 34 ++--- .../jq-effects-animate.sublime-snippet | 2 +- .../jq-effects-clear-queue.sublime-snippet | 2 +- .../effects/jq-effects-delay.sublime-snippet | 2 +- .../jq-effects-dequeue.sublime-snippet | 2 +- .../jq-effects-fade-in.sublime-snippet | 2 +- .../jq-effects-fade-out.sublime-snippet | 2 +- .../jq-effects-fade-to.sublime-snippet | 2 +- .../jq-effects-fade-toggle.sublime-snippet | 2 +- .../effects/jq-effects-finish.sublime-snippet | 2 +- .../effects/jq-effects-hide.sublime-snippet | 2 +- .../effects/jq-effects-queue.sublime-snippet | 2 +- .../effects/jq-effects-show.sublime-snippet | 2 +- .../jq-effects-slide-down.sublime-snippet | 2 +- .../jq-effects-slide-toggle.sublime-snippet | 2 +- .../jq-effects-slide-up.sublime-snippet | 2 +- .../effects/jq-effects-stop.sublime-snippet | 2 +- .../effects/jq-effects-toggle.sublime-snippet | 2 +- snippets/js/libraries/jquery/events/README.md | 90 ++++++------- .../events/jq-events-bind.sublime-snippet | 2 +- .../events/jq-events-click.sublime-snippet | 2 +- .../jq-events-context-menu.sublime-snippet | 2 +- .../jq-events-current-target.sublime-snippet | 2 +- .../events/jq-events-data.sublime-snippet | 2 +- .../jq-events-dbl-click.sublime-snippet | 2 +- .../jq-events-delegate-target.sublime-snippet | 2 +- .../events/jq-events-delegate.sublime-snippet | 2 +- .../events/jq-events-hover.sublime-snippet | 2 +- ...vents-is-default-prevented.sublime-snippet | 2 +- ...ediate-propagation-stopped.sublime-snippet | 2 +- ...nts-is-propagation-stopped.sublime-snippet | 2 +- .../events/jq-events-key-down.sublime-snippet | 2 +- .../jq-events-key-press.sublime-snippet | 2 +- .../events/jq-events-key-up.sublime-snippet | 2 +- .../events/jq-events-meta-key.sublime-snippet | 2 +- .../jq-events-mouse-down.sublime-snippet | 2 +- .../jq-events-mouse-enter.sublime-snippet | 2 +- .../jq-events-mouse-leave.sublime-snippet | 2 +- .../jq-events-mouse-move.sublime-snippet | 2 +- .../jq-events-mouse-out.sublime-snippet | 2 +- .../jq-events-mouse-over.sublime-snippet | 2 +- .../events/jq-events-mouse-up.sublime-snippet | 2 +- .../jq-events-namespace.sublime-snippet | 2 +- .../events/jq-events-off.sublime-snippet | 2 +- .../events/jq-events-on.sublime-snippet | 2 +- .../events/jq-events-one.sublime-snippet | 2 +- .../events/jq-events-page-x.sublime-snippet | 2 +- .../events/jq-events-page-y.sublime-snippet | 2 +- .../jq-events-prevent-default.sublime-snippet | 2 +- .../events/jq-events-ready.sublime-snippet | 2 +- .../jq-events-related-target.sublime-snippet | 2 +- .../events/jq-events-resize.sublime-snippet | 2 +- .../events/jq-events-result.sublime-snippet | 2 +- .../events/jq-events-scroll.sublime-snippet | 2 +- ...stop-immediate-propagation.sublime-snippet | 2 +- ...jq-events-stop-propagation.sublime-snippet | 2 +- .../events/jq-events-target.sublime-snippet | 2 +- .../jq-events-time-stamp.sublime-snippet | 2 +- .../jq-events-trigger-handler.sublime-snippet | 2 +- .../events/jq-events-trigger.sublime-snippet | 2 +- .../events/jq-events-type.sublime-snippet | 2 +- .../events/jq-events-unbind.sublime-snippet | 2 +- .../jq-events-undelegate.sublime-snippet | 2 +- .../events/jq-events-which.sublime-snippet | 2 +- snippets/js/libraries/jquery/forms/README.md | 22 +-- .../forms/jq-forms-blur.sublime-snippet | 2 +- .../forms/jq-forms-change.sublime-snippet | 2 +- .../forms/jq-forms-focus-in.sublime-snippet | 2 +- .../forms/jq-forms-focus-out.sublime-snippet | 2 +- .../forms/jq-forms-focus.sublime-snippet | 2 +- .../forms/jq-forms-param.sublime-snippet | 2 +- .../forms/jq-forms-select.sublime-snippet | 2 +- .../jq-forms-serialize-array.sublime-snippet | 2 +- .../forms/jq-forms-serialize.sublime-snippet | 2 +- .../forms/jq-forms-submit.sublime-snippet | 2 +- .../jquery/forms/jq-forms-val.sublime-snippet | 2 +- .../js/libraries/jquery/internals/README.md | 4 +- .../jq-internals-error.sublime-snippet | 2 +- .../jq-internals-push-stack.sublime-snippet | 2 +- .../libraries/jquery/manipulation/README.md | 38 +++--- .../jq-manipulation-after.sublime-snippet | 2 +- .../jq-manipulation-append-to.sublime-snippet | 2 +- .../jq-manipulation-append.sublime-snippet | 2 +- .../jq-manipulation-before.sublime-snippet | 2 +- .../jq-manipulation-clone.sublime-snippet | 2 +- .../jq-manipulation-detach.sublime-snippet | 2 +- .../jq-manipulation-empty.sublime-snippet | 2 +- ...-manipulation-insert-after.sublime-snippet | 2 +- ...manipulation-insert-before.sublime-snippet | 2 +- ...jq-manipulation-prepend-to.sublime-snippet | 2 +- .../jq-manipulation-prepend.sublime-snippet | 2 +- .../jq-manipulation-remove.sublime-snippet | 2 +- ...q-manipulation-replace-all.sublime-snippet | 2 +- ...-manipulation-replace-with.sublime-snippet | 2 +- .../jq-manipulation-text.sublime-snippet | 2 +- .../jq-manipulation-unwrap.sublime-snippet | 2 +- .../jq-manipulation-wrap-all.sublime-snippet | 2 +- ...jq-manipulation-wrap-inner.sublime-snippet | 2 +- .../jq-manipulation-wrap.sublime-snippet | 2 +- .../libraries/jquery/miscellaneous/README.md | 6 +- .../jq-miscellaneous-get.sublime-snippet | 2 +- .../jq-miscellaneous-index.sublime-snippet | 2 +- .../jq-miscellaneous-to-array.sublime-snippet | 2 +- snippets/js/libraries/jquery/offset/README.md | 10 +- .../offset/jq-offset-parent.sublime-snippet | 2 +- .../offset/jq-offset-position.sublime-snippet | 2 +- .../jq-offset-scroll-left.sublime-snippet | 2 +- .../jq-offset-scroll-top.sublime-snippet | 2 +- .../jquery/offset/jq-offset.sublime-snippet | 2 +- .../js/libraries/jquery/properties/README.md | 8 +- .../jq-properties-fx-interval.sublime-snippet | 2 +- .../jq-properties-fx-off.sublime-snippet | 2 +- .../jq-properties-jquery.sublime-snippet | 2 +- .../jq-properties-length.sublime-snippet | 2 +- .../js/libraries/jquery/selectors/README.md | 126 +++++++++--------- .../jq-selectors-all.sublime-snippet | 2 +- .../jq-selectors-animated.sublime-snippet | 2 +- ...e-contains-prefix-selector.sublime-snippet | 2 +- ...ttribute-contains-selector.sublime-snippet | 2 +- ...ute-contains-word-selector.sublime-snippet | 2 +- ...tribute-ends-with-selector.sublime-snippet | 2 +- ...-attribute-equals-selector.sublime-snippet | 2 +- ...tribute-not-equal-selector.sublime-snippet | 2 +- ...ibute-starts-with-selector.sublime-snippet | 2 +- .../jq-selectors-button.sublime-snippet | 2 +- .../jq-selectors-checkbox.sublime-snippet | 2 +- .../jq-selectors-checked.sublime-snippet | 2 +- .../jq-selectors-child.sublime-snippet | 2 +- .../jq-selectors-class.sublime-snippet | 2 +- .../jq-selectors-contains.sublime-snippet | 2 +- .../jq-selectors-descendant.sublime-snippet | 2 +- .../jq-selectors-disabled.sublime-snippet | 2 +- .../jq-selectors-element.sublime-snippet | 2 +- .../jq-selectors-empty.sublime-snippet | 2 +- .../jq-selectors-enabled.sublime-snippet | 2 +- .../selectors/jq-selectors-eq.sublime-snippet | 2 +- .../jq-selectors-even.sublime-snippet | 2 +- .../jq-selectors-file.sublime-snippet | 2 +- .../jq-selectors-first-child.sublime-snippet | 2 +- ...jq-selectors-first-of-type.sublime-snippet | 2 +- .../jq-selectors-first.sublime-snippet | 2 +- .../jq-selectors-focus.sublime-snippet | 2 +- .../selectors/jq-selectors-gt.sublime-snippet | 2 +- ...ors-has-attribute-selector.sublime-snippet | 2 +- .../jq-selectors-has.sublime-snippet | 2 +- .../jq-selectors-header.sublime-snippet | 2 +- .../jq-selectors-hidden.sublime-snippet | 2 +- .../selectors/jq-selectors-id.sublime-snippet | 2 +- .../jq-selectors-image.sublime-snippet | 2 +- .../jq-selectors-input.sublime-snippet | 2 +- .../jq-selectors-lang.sublime-snippet | 2 +- .../jq-selectors-last-child.sublime-snippet | 2 +- .../jq-selectors-last-of-type.sublime-snippet | 2 +- .../jq-selectors-last.sublime-snippet | 2 +- .../selectors/jq-selectors-lt.sublime-snippet | 2 +- ...ultiple-attribute-selector.sublime-snippet | 2 +- ...electors-multiple-selector.sublime-snippet | 2 +- ...ors-next-adjacent-selector.sublime-snippet | 2 +- ...ors-next-siblings-selector.sublime-snippet | 2 +- .../jq-selectors-not.sublime-snippet | 2 +- .../jq-selectors-nth-child.sublime-snippet | 2 +- ...q-selectors-nth-last-child.sublime-snippet | 2 +- ...selectors-nth-last-of-type.sublime-snippet | 2 +- .../jq-selectors-nth-of-type.sublime-snippet | 2 +- .../jq-selectors-odd.sublime-snippet | 2 +- .../jq-selectors-only-child.sublime-snippet | 2 +- .../jq-selectors-only-of-type.sublime-snippet | 2 +- .../jq-selectors-parent.sublime-snippet | 2 +- .../jq-selectors-password.sublime-snippet | 2 +- .../jq-selectors-radio.sublime-snippet | 2 +- .../jq-selectors-reset.sublime-snippet | 2 +- .../jq-selectors-root.sublime-snippet | 2 +- .../jq-selectors-selected.sublime-snippet | 2 +- .../jq-selectors-submit.sublime-snippet | 2 +- .../jq-selectors-target.sublime-snippet | 2 +- .../jq-selectors-text.sublime-snippet | 2 +- .../jq-selectors-visible.sublime-snippet | 2 +- .../js/libraries/jquery/traversing/README.md | 54 ++++---- .../jq-traversing-add-back.sublime-snippet | 2 +- .../jq-traversing-add.sublime-snippet | 2 +- .../jq-traversing-children.sublime-snippet | 2 +- .../jq-traversing-closest.sublime-snippet | 2 +- .../jq-traversing-contents.sublime-snippet | 2 +- .../jq-traversing-each.sublime-snippet | 2 +- .../jq-traversing-end.sublime-snippet | 2 +- .../jq-traversing-eq.sublime-snippet | 2 +- .../jq-traversing-filter.sublime-snippet | 2 +- .../jq-traversing-find.sublime-snippet | 2 +- .../jq-traversing-first.sublime-snippet | 2 +- .../jq-traversing-has.sublime-snippet | 2 +- .../jq-traversing-is.sublime-snippet | 2 +- .../jq-traversing-last.sublime-snippet | 2 +- .../jq-traversing-map.sublime-snippet | 2 +- .../jq-traversing-next-all.sublime-snippet | 2 +- .../jq-traversing-next-until.sublime-snippet | 2 +- .../jq-traversing-next.sublime-snippet | 2 +- .../jq-traversing-not.sublime-snippet | 2 +- .../jq-traversing-parent.sublime-snippet | 2 +- ...q-traversing-parents-until.sublime-snippet | 2 +- .../jq-traversing-parents.sublime-snippet | 2 +- .../jq-traversing-prev-all.sublime-snippet | 2 +- .../jq-traversing-prev-until.sublime-snippet | 2 +- .../jq-traversing-prev.sublime-snippet | 2 +- .../jq-traversing-siblings.sublime-snippet | 2 +- .../jq-traversing-slice.sublime-snippet | 2 +- .../js/libraries/jquery/utilities/README.md | 44 +++--- .../jq-utilities-contains.sublime-snippet | 2 +- .../jq-utilities-each.sublime-snippet | 2 +- .../jq-utilities-extend.sublime-snippet | 2 +- .../jq-utilities-fn-extend.sublime-snippet | 2 +- .../jq-utilities-global-eval.sublime-snippet | 2 +- .../jq-utilities-grep.sublime-snippet | 2 +- .../jq-utilities-in-array.sublime-snippet | 2 +- ...-utilities-is-empty-object.sublime-snippet | 2 +- .../jq-utilities-is-function.sublime-snippet | 2 +- .../jq-utilities-is-numeric.sublime-snippet | 2 +- ...-utilities-is-plain-object.sublime-snippet | 2 +- .../jq-utilities-is-window.sublime-snippet | 2 +- .../jq-utilities-is-xml-doc.sublime-snippet | 2 +- .../jq-utilities-make-array.sublime-snippet | 2 +- .../jq-utilities-map.sublime-snippet | 2 +- .../jq-utilities-merge.sublime-snippet | 2 +- .../jq-utilities-noop.sublime-snippet | 2 +- .../jq-utilities-now.sublime-snippet | 2 +- .../jq-utilities-proxy.sublime-snippet | 2 +- .../jq-utilities-trim.sublime-snippet | 2 +- .../jq-utilities-type.sublime-snippet | 2 +- .../jq-utilities-unique.sublime-snippet | 2 +- .../js/libraries/jquery/zothers/README.md | 2 +- .../zothers/jq-boilerplate.sublime-snippet | 2 +- snippets/schema/README.md | 7 + snippets/schema/json-ld/README.md | 11 ++ snippets/schema/microdata/README.md | 6 +- .../microdata-action.sublime-snippet | 4 +- .../microdata-organization.sublime-snippet | 4 +- snippets/schema/rdfa/README.md | 11 ++ snippets/structured-data/json-ld/README.md | 2 +- ...ured-data-json-ld-logotype.sublime-snippet | 4 +- snippets/structured-data/microdata/README.md | 2 +- ...red-data-microdata-article.sublime-snippet | 4 +- ...ctured-data-microdata-book.sublime-snippet | 4 +- ...ctured-data-microdata-game.sublime-snippet | 4 +- ...red-data-microdata-webpage.sublime-snippet | 4 +- ...ata-microdata-organization.sublime-snippet | 4 +- snippets/structured-data/rdfa/README.md | 2 +- ...tured-data-rfda-breadcrumb.sublime-snippet | 4 +- 337 files changed, 671 insertions(+), 636 deletions(-) create mode 100644 snippets/schema/README.md create mode 100644 snippets/schema/json-ld/README.md create mode 100644 snippets/schema/rdfa/README.md diff --git a/README.md b/README.md index 19d44d2..a25bb31 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,16 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text ## Snippets and prefixes/keys -- [HTML - h*](snippets/html/) +- [HTML - h.*](snippets/html/) - [Microdata - hm.*](snippets/html/schema/microdata) - [WAI-ARIA - hw.*](snippets/html/wai-aria) -- [CSS - c*](snippets/css/) -- [JavaScript - j*](snippets/js/vanilla) - - Libraries - - [jQuery - jq*](snippets/js/libraries/jquery) - - Patterns - - [Design Patterns](snippets/js/patterns/design-patterns) - - Tests +- [CSS - c.*](snippets/css/) +- [JavaScript - j.*](snippets/js/vanilla) + - [Libraries](snippets/js/libraries) + - [jQuery - jq.*](snippets/js/libraries/jquery) + - [Patterns](snippets/js/patterns) + - [Design Patterns - jdp.*](snippets/js/patterns/design-patterns) + - [Tests](snippets/js/tests) - [Common - t.*](snippets/js/tests/common) - [Chai - tc.*](snippets/js/tests/chai) - [Jasmine - tj.*](snippets/js/tests/jasmine) @@ -32,17 +32,19 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text - [Node - tn.*](snippets/js/tests/node) - [QUnit - tq.*](snippets/js/tests/qunit) - [Sinon - ts.*](snippets/js/tests/sinon) -- Schema.org - - [Microdata](snippets/schema/microdata) -- [External - e*](snippets/external/) +- [Schema.org](snippets/schema) + - [JSON-LD - sj.*](snippets/schema/json-ld) + - [Microdata - sm.*](snippets/schema/microdata) + - [RDFa - sr.*](snippets/schema/rdfa) +- [External - e.*](snippets/external/) - [Comment](snippets/comment/) - [HTML - hc.*](snippets/comment/html) - [CSS - cc.*](snippets/comment/css) - [JavaScript - jc.*](snippets/comment/js) - [Structure data](snippets/structured-data) (***examples***) - - [Microdata - zmicrodata](snippets/structured-data/microdata) - - [JSON-LD - zjsonld](snippets/structured-data/json-ld) - - [RDFa - zrdfa](snippets/structured-data/rdfa) + - [Microdata - z.microdata](snippets/structured-data/microdata) + - [JSON-LD - z.jsonld](snippets/structured-data/json-ld) + - [RDFa - z.rdfa](snippets/structured-data/rdfa) ## References diff --git a/snippets/css/README.md b/snippets/css/README.md index 77edbd9..0e4c9dc 100644 --- a/snippets/css/README.md +++ b/snippets/css/README.md @@ -1,10 +1,10 @@ # CSS Snippets -Prefix `c*` +Prefix `c.*` ## Font -### [cff] @font-face +### [c.ff] @font-face ```css @font-face { @@ -32,7 +32,7 @@ Prefix `c*` ## Media Querie -### [cmq] @media +### [c.mq] @media ```css @media ${1:all} and (${2:min-width}: ${3:768px}) { @@ -42,7 +42,7 @@ Prefix `c*` ## Keyframes -### [ck] @keyframes +### [c.k] @keyframes ```css @-webkit-keyframes ${1:[animation-name]} { diff --git a/snippets/css/css-font-face.sublime-snippet b/snippets/css/css-font-face.sublime-snippet index 4fc386f..f1f3521 100644 --- a/snippets/css/css-font-face.sublime-snippet +++ b/snippets/css/css-font-face.sublime-snippet @@ -22,6 +22,6 @@ } } ]]> - cff + c.ff c - @font-face structure diff --git a/snippets/css/css-keyframes.sublime-snippet b/snippets/css/css-keyframes.sublime-snippet index 6af4e8b..8e22b2d 100644 --- a/snippets/css/css-keyframes.sublime-snippet +++ b/snippets/css/css-keyframes.sublime-snippet @@ -17,6 +17,6 @@ 100% { ${3} } } ]]> - ck + c.k c - Keyframes diff --git a/snippets/css/css-media-querie.sublime-snippet b/snippets/css/css-media-querie.sublime-snippet index 57d3a88..7dc8f8a 100644 --- a/snippets/css/css-media-querie.sublime-snippet +++ b/snippets/css/css-media-querie.sublime-snippet @@ -4,6 +4,6 @@ ${4} } ]]> - cmq + c.mq c - Media Querie diff --git a/snippets/external/README.md b/snippets/external/README.md index 95d8e34..4e8365f 100644 --- a/snippets/external/README.md +++ b/snippets/external/README.md @@ -1,10 +1,10 @@ # External Snippets -Prefix `e*` +Prefix `e.*` ## Analytics -### [ega] Google Analytics Object +### [e.ga] Google Analytics Object ```html $2 ``` -### [egtm] Google Tag Manager +### [e.gtm] Google Tag Manager ```html diff --git a/snippets/external/ga.sublime-snippet b/snippets/external/ga.sublime-snippet index dcc85ef..98fe9d7 100644 --- a/snippets/external/ga.sublime-snippet +++ b/snippets/external/ga.sublime-snippet @@ -9,6 +9,6 @@ ga('send', 'pageview'); $2]]> - ega + e.ga e - Google Analytics diff --git a/snippets/external/gtm.sublime-snippet b/snippets/external/gtm.sublime-snippet index d24643f..1c907a0 100644 --- a/snippets/external/gtm.sublime-snippet +++ b/snippets/external/gtm.sublime-snippet @@ -8,6 +8,6 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-${1:XXXX}'); ${2}]]> - egtm + e.gtm e - Google Tag Manager diff --git a/snippets/html/README.md b/snippets/html/README.md index c95480b..76d17a0 100644 --- a/snippets/html/README.md +++ b/snippets/html/README.md @@ -1,10 +1,10 @@ # HTML Snippets -Prefix `h*` +Prefix `h.*` ## Structure -### [hb] html basic +### [h.b] html basic ```html @@ -19,7 +19,7 @@ Prefix `h*` ``` -### [hdoc] html document +### [h.doc] html document ```html @@ -41,7 +41,7 @@ Prefix `h*` ``` -### [hhtags] head tags +### [h.htags] head tags ```html diff --git a/snippets/html/html-basic.sublime-snippet b/snippets/html/html-basic.sublime-snippet index b0ad9f5..91cd7d1 100644 --- a/snippets/html/html-basic.sublime-snippet +++ b/snippets/html/html-basic.sublime-snippet @@ -11,6 +11,6 @@ ]]> - hb + h.b h - Basic HTML document diff --git a/snippets/html/html-document.sublime-snippet b/snippets/html/html-document.sublime-snippet index df69ee1..be56e0d 100644 --- a/snippets/html/html-document.sublime-snippet +++ b/snippets/html/html-document.sublime-snippet @@ -18,6 +18,6 @@ ]]> - hdoc + h.doc h - HTML document diff --git a/snippets/html/html-head.sublime-snippet b/snippets/html/html-head.sublime-snippet index a82bfa3..811085c 100644 --- a/snippets/html/html-head.sublime-snippet +++ b/snippets/html/html-head.sublime-snippet @@ -34,6 +34,6 @@ ]]> - hhtags + h.htags h - Head tags diff --git a/snippets/js/README.md b/snippets/js/README.md index 0468f75..17c7a24 100644 --- a/snippets/js/README.md +++ b/snippets/js/README.md @@ -6,7 +6,11 @@ - [Patterns](patterns/) - [Design Patterns](patterns/design-patterns/) - [Tests](tests/) - - [Structure](structure/) - - [BDD](bdd/) - - [TDD](tdd/) + - [Common](common/) + - [Chai](chai/) + - [Jasmine](jasmine/) + - [Mocha](mocha/) + - [Node](node/) + - [QUnit](qunit/) + - [Sinon](sinon/) diff --git a/snippets/js/libraries/jquery/README.md b/snippets/js/libraries/jquery/README.md index bcb0f97..84198a4 100644 --- a/snippets/js/libraries/jquery/README.md +++ b/snippets/js/libraries/jquery/README.md @@ -1,6 +1,6 @@ # JQuery Snippets -## Prefix `jq*` +## Prefix `jq.*` - [Ajax](ajax/) - ajaxComplete diff --git a/snippets/js/libraries/jquery/ajax/README.md b/snippets/js/libraries/jquery/ajax/README.md index 81a68ec..cd0c243 100644 --- a/snippets/js/libraries/jquery/ajax/README.md +++ b/snippets/js/libraries/jquery/ajax/README.md @@ -1,90 +1,90 @@ ## Ajax -### [jqa] ajax +### [jq.a] ajax ```javascript ${1:\$}.ajax(${2:{settings}}); ``` -### [jqacomplete] ajaxComplete +### [jq.acomplete] ajaxComplete ```javascript ${1:\$(document)}.ajaxComplete(${2:handler}); ``` -### [jqaerror] ajaxError +### [jq.aerror] ajaxError ```javascript ${1:\$(document)}.ajaxError(${2:handler}); ``` -### [jqgjson] getJSON +### [jq.gjson] getJSON ```javascript ${1:\$}.getJSON(${2:url}${3:, data}${4:, success}); ``` -### [jqgscript] getScript +### [jq.gscript] getScript ```javascript ${1:\$}.getScript(${2:url}${3:, success}); ``` -### [jqjget] jQuery get +### [jq.jget] jQuery get ```javascript ${1:\$}.get(${2:url}${3:, data}${4:, success}${5:, dataType}); ``` -### [jqload] load +### [jq.load] load ```javascript ${1:\$(document)}.load(${2:url}${3:, data}${4:, complete}); ``` -### [jqpost] post +### [jq.post] post ```javascript ${1:\$}.post(${2:url}${3:, data}${4:, success}${5:, dataType}); ``` -### [jqaprefilter] ajaxPrefilter +### [jq.aprefilter] ajaxPrefilter ```javascript ${1:\$}.ajaxPrefilter(${2:dataTypes,}${3:handler}); ``` -### [jqasend] ajaxSend +### [jq.asend] ajaxSend ```javascript ${1:\$(document)}.ajaxSend(${2:handler}); ``` -### [jqasetup] ajaxSetup +### [jq.asetup] ajaxSetup ```javascript ${1:\$}.ajaxSetup(${2:options}); ``` -### [jqastart] ajaxStart +### [jq.astart] ajaxStart ```javascript ${1:\$(document)}.ajaxStart(${2:handler}); ``` -### [jqastop] ajaxStop +### [jq.astop] ajaxStop ```javascript ${1:\$(document)}.ajaxStop(${2:handler}); ``` -### [jqasuccess] ajaxSuccess +### [jq.asuccess] ajaxSuccess ```javascript ${1:\$(document)}.ajaxSuccess(${2:handler}); ``` -### [jqatransport] ajaxTransport +### [jq.atransport] ajaxTransport ```javascript ${1:\$}.ajaxTransport(${2:dataType}, ${3:handlerv}); diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-1.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-1.sublime-snippet index b5253b9..3e1cb75 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-1.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-1.sublime-snippet @@ -2,6 +2,6 @@ - jqa + jq.a jq - ajax diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-complete.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-complete.sublime-snippet index 65b4f22..00155e5 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-complete.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-complete.sublime-snippet @@ -2,6 +2,6 @@ - jqacomplete + jq.acomplete jq - ajaxComplete diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-error.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-error.sublime-snippet index 33ded9f..cbc37e4 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-error.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-error.sublime-snippet @@ -2,6 +2,6 @@ - jqaerror + jq.aerror jq - ajaxError diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-get-json.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-get-json.sublime-snippet index 9a9e407..11885fc 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-get-json.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-get-json.sublime-snippet @@ -2,6 +2,6 @@ - jqgjson + jq.gjson jq - getJSON diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-get-script.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-get-script.sublime-snippet index 6e02a82..27ba7c4 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-get-script.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-get-script.sublime-snippet @@ -2,6 +2,6 @@ - jqgscript + jq.gscript jq - getScript diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-get.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-get.sublime-snippet index 78b2217..d2f9816 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-get.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-get.sublime-snippet @@ -2,6 +2,6 @@ - jqjget + jq.jget jq - jQuery get diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-load.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-load.sublime-snippet index 29c47be..0987742 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-load.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-load.sublime-snippet @@ -2,6 +2,6 @@ - jqload + jq.load jq - load diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-post.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-post.sublime-snippet index e9eff58..7a95543 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-post.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-post.sublime-snippet @@ -2,6 +2,6 @@ - jqpost + jq.post jq - post diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-prefilter.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-prefilter.sublime-snippet index 387dbe5..b4b5a4a 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-prefilter.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-prefilter.sublime-snippet @@ -2,6 +2,6 @@ - jqaprefilter + jq.aprefilter jq - ajaxPrefilter diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-send.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-send.sublime-snippet index cbae5cc..27b21b5 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-send.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-send.sublime-snippet @@ -2,6 +2,6 @@ - jqasend + jq.asend jq - ajaxSend diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-setup.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-setup.sublime-snippet index 191f47e..f1a0349 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-setup.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-setup.sublime-snippet @@ -2,6 +2,6 @@ - jqasetup + jq.asetup jq - ajaxSetup diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-start.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-start.sublime-snippet index b6a5c03..d5e800e 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-start.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-start.sublime-snippet @@ -2,6 +2,6 @@ - jqastart + jq.astart jq - ajaxStart diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-stop.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-stop.sublime-snippet index e3ad417..f633bcb 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-stop.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-stop.sublime-snippet @@ -2,6 +2,6 @@ - jqastop + jq.astop jq - ajaxStop diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-success.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-success.sublime-snippet index 975d8f9..37506f7 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-success.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-success.sublime-snippet @@ -2,6 +2,6 @@ - jqasuccess + jq.asuccess jq - ajaxSuccess diff --git a/snippets/js/libraries/jquery/ajax/jq-ajax-transport.sublime-snippet b/snippets/js/libraries/jquery/ajax/jq-ajax-transport.sublime-snippet index 4919acc..b04eece 100644 --- a/snippets/js/libraries/jquery/ajax/jq-ajax-transport.sublime-snippet +++ b/snippets/js/libraries/jquery/ajax/jq-ajax-transport.sublime-snippet @@ -2,6 +2,6 @@ - jqatransport + jq.atransport jq - ajaxTransport diff --git a/snippets/js/libraries/jquery/attributes/README.md b/snippets/js/libraries/jquery/attributes/README.md index 83dcf46..d19e749 100644 --- a/snippets/js/libraries/jquery/attributes/README.md +++ b/snippets/js/libraries/jquery/attributes/README.md @@ -1,54 +1,54 @@ ## Attributes -### [jqaddclass] addClass +### [jq.addclass] addClass ```javascript ${1:\$(document)}.addClass(${2:className}); ``` -### [jqattr] attr +### [jq.attr] attr ```javascript ${1:\$(document)}.attr(${2:attributeName}${3:, value}); ``` -### [jqhasclass] hasClass +### [jq.hasclass] hasClass ```javascript ${1:\$(document)}.hasClass(${2:className}); ``` -### [jqhtml] html +### [jq.html] html ```javascript ${1:\$(document)}.html(${2:htmlString}); ``` -### [jqprop] prop +### [jq.prop] prop ```javascript ${1:\$(document)}.prop(${2:propertyName}${3:, value}); ``` -### [jqrattr] removeAttr +### [jq.rattr] removeAttr ```javascript ${1:\$(document)}.removeAttr(${2:attributeName}); ``` -### [jqrclass] removeClass +### [jq.rclass] removeClass ```javascript ${1:\$(document)}.removeClass(${2:[className]}); ``` -### [jqrprop] removeProp +### [jq.rprop] removeProp ```javascript ${1:\$(document)}.removeProp(${2:propertyName}); ``` -### [jqtclass] toggleClass +### [jq.tclass] toggleClass ```javascript ${1:\$(document)}.toggleClass(${2:className}${2:, state}); diff --git a/snippets/js/libraries/jquery/attributes/jq-attributes-add-class.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-add-class.sublime-snippet index d589260..b4fae2f 100644 --- a/snippets/js/libraries/jquery/attributes/jq-attributes-add-class.sublime-snippet +++ b/snippets/js/libraries/jquery/attributes/jq-attributes-add-class.sublime-snippet @@ -2,6 +2,6 @@ - jqaddclass + jq.addclass jq - addClass diff --git a/snippets/js/libraries/jquery/attributes/jq-attributes-attr.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-attr.sublime-snippet index 786c400..06ea0a2 100644 --- a/snippets/js/libraries/jquery/attributes/jq-attributes-attr.sublime-snippet +++ b/snippets/js/libraries/jquery/attributes/jq-attributes-attr.sublime-snippet @@ -2,6 +2,6 @@ - jqattr + jq.attr jq - attr diff --git a/snippets/js/libraries/jquery/attributes/jq-attributes-has-class.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-has-class.sublime-snippet index e1b6c87..b799e9c 100644 --- a/snippets/js/libraries/jquery/attributes/jq-attributes-has-class.sublime-snippet +++ b/snippets/js/libraries/jquery/attributes/jq-attributes-has-class.sublime-snippet @@ -2,6 +2,6 @@ - jqhasclass + jq.hasclass jq - hasClass diff --git a/snippets/js/libraries/jquery/attributes/jq-attributes-html.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-html.sublime-snippet index e98530d..29d3c4d 100644 --- a/snippets/js/libraries/jquery/attributes/jq-attributes-html.sublime-snippet +++ b/snippets/js/libraries/jquery/attributes/jq-attributes-html.sublime-snippet @@ -2,6 +2,6 @@ - jqhtml + jq.html jq - html diff --git a/snippets/js/libraries/jquery/attributes/jq-attributes-prop.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-prop.sublime-snippet index 7b1e55d..b40045d 100644 --- a/snippets/js/libraries/jquery/attributes/jq-attributes-prop.sublime-snippet +++ b/snippets/js/libraries/jquery/attributes/jq-attributes-prop.sublime-snippet @@ -2,6 +2,6 @@ - jqprop + jq.prop jq - prop diff --git a/snippets/js/libraries/jquery/attributes/jq-attributes-remove-attr.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-remove-attr.sublime-snippet index 5075d09..488a62c 100644 --- a/snippets/js/libraries/jquery/attributes/jq-attributes-remove-attr.sublime-snippet +++ b/snippets/js/libraries/jquery/attributes/jq-attributes-remove-attr.sublime-snippet @@ -2,6 +2,6 @@ - jqrattr + jq.rattr jq - removeAttr diff --git a/snippets/js/libraries/jquery/attributes/jq-attributes-remove-class.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-remove-class.sublime-snippet index 2106791..5f62d4a 100644 --- a/snippets/js/libraries/jquery/attributes/jq-attributes-remove-class.sublime-snippet +++ b/snippets/js/libraries/jquery/attributes/jq-attributes-remove-class.sublime-snippet @@ -2,6 +2,6 @@ - jqrclass + jq.rclass jq - removeClass diff --git a/snippets/js/libraries/jquery/attributes/jq-attributes-remove-prop.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-remove-prop.sublime-snippet index e757ba1..d2e0403 100644 --- a/snippets/js/libraries/jquery/attributes/jq-attributes-remove-prop.sublime-snippet +++ b/snippets/js/libraries/jquery/attributes/jq-attributes-remove-prop.sublime-snippet @@ -2,6 +2,6 @@ - jqrprop + jq.rprop jq - removeProp diff --git a/snippets/js/libraries/jquery/attributes/jq-attributes-toggle-class.sublime-snippet b/snippets/js/libraries/jquery/attributes/jq-attributes-toggle-class.sublime-snippet index feaec62..2a0e0dd 100644 --- a/snippets/js/libraries/jquery/attributes/jq-attributes-toggle-class.sublime-snippet +++ b/snippets/js/libraries/jquery/attributes/jq-attributes-toggle-class.sublime-snippet @@ -2,6 +2,6 @@ - jqtclass + jq.tclass jq - toggleClass diff --git a/snippets/js/libraries/jquery/callbacks/README.md b/snippets/js/libraries/jquery/callbacks/README.md index 2aad888..e4bd722 100644 --- a/snippets/js/libraries/jquery/callbacks/README.md +++ b/snippets/js/libraries/jquery/callbacks/README.md @@ -1,72 +1,72 @@ ## Callbacks -### [jqcbadd] add +### [jq.cbadd] add ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.add(${4:callbacks}); ``` -### [jqcbdisable] disable +### [jq.cbdisable] disable ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.disable(); ``` -### [jqcbdisabled] disabled +### [jq.cbdisabled] disabled ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.disabled(); ``` -### [jqcbempty] empty +### [jq.cbempty] empty ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.empty(); ``` -### [jqcbfirewith] fireWith +### [jq.cbfirewith] fireWith ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.fireWith(${4:context}${5:, args}); ``` -### [jqcbfire] fire +### [jq.cbfire] fire ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.fire(${4:arguments}); ``` -### [jqcbfired] fired +### [jq.cbfired] fired ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.fired(); ``` -### [jqcbhas] has +### [jq.cbhas] has ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.has(${4:callback}); ``` -### [jqcblock] lock +### [jq.cblock] lock ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.lock(); ``` -### [jqcblocked] locked +### [jq.cblocked] locked ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.locked(); ``` -### [jqcbremove] remove +### [jq.cbremove] remove ```javascript ${1:var callbacks = \$.Callbacks();}${2}${3:callbacks}.remove(${4:callbacks}); ``` -### [jqcb] callbacks +### [jq.cb] callbacks ```javascript ${1:\$}.Callbacks(${2:flags}); diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-add.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-add.sublime-snippet index 7abbb00..d1f35fa 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-add.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-add.sublime-snippet @@ -2,6 +2,6 @@ - jqcbadd + jq.cbadd jq - add diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-disable.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-disable.sublime-snippet index 9d3781c..ba3efa1 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-disable.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-disable.sublime-snippet @@ -2,6 +2,6 @@ - jqcbdisable + jq.cbdisable jq - disable diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-disabled.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-disabled.sublime-snippet index d602b0a..a8590f0 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-disabled.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-disabled.sublime-snippet @@ -2,6 +2,6 @@ - jqcbdisabled + jq.cbdisabled jq - disabled diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-empty.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-empty.sublime-snippet index 252fb82..9eec776 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-empty.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-empty.sublime-snippet @@ -2,6 +2,6 @@ - jqcbempty + jq.cbempty jq - empty diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire-with.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire-with.sublime-snippet index af411d2..0d9af79 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire-with.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire-with.sublime-snippet @@ -2,6 +2,6 @@ - jqcbfirewith + jq.cbfirewith jq - fireWith diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire.sublime-snippet index 541663c..9c17ce4 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-fire.sublime-snippet @@ -2,6 +2,6 @@ - jqcbfire + jq.cbfire jq - fire diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-fired.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-fired.sublime-snippet index 1f75b84..8d3f2cd 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-fired.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-fired.sublime-snippet @@ -2,6 +2,6 @@ - jqcbfired + jq.cbfired jq - fired diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-has.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-has.sublime-snippet index 85feec1..0db6033 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-has.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-has.sublime-snippet @@ -2,6 +2,6 @@ - jqcbhas + jq.cbhas jq - has diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-lock.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-lock.sublime-snippet index e1c8844..a573ca7 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-lock.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-lock.sublime-snippet @@ -2,6 +2,6 @@ - jqcblock + jq.cblock jq - lock diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-locked.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-locked.sublime-snippet index ac5b4dd..080ca96 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-locked.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-locked.sublime-snippet @@ -2,6 +2,6 @@ - jqcblocked + jq.cblocked jq - locked diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks-remove.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks-remove.sublime-snippet index c747d43..0daf356 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks-remove.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks-remove.sublime-snippet @@ -2,6 +2,6 @@ - jqcbremove + jq.cbremove jq - remove diff --git a/snippets/js/libraries/jquery/callbacks/jq-callbacks.sublime-snippet b/snippets/js/libraries/jquery/callbacks/jq-callbacks.sublime-snippet index 20ef9cf..e00ca03 100644 --- a/snippets/js/libraries/jquery/callbacks/jq-callbacks.sublime-snippet +++ b/snippets/js/libraries/jquery/callbacks/jq-callbacks.sublime-snippet @@ -2,6 +2,6 @@ - jqcb + jq.cb jq - callbacks diff --git a/snippets/js/libraries/jquery/core/README.md b/snippets/js/libraries/jquery/core/README.md index 142250b..ff232d6 100644 --- a/snippets/js/libraries/jquery/core/README.md +++ b/snippets/js/libraries/jquery/core/README.md @@ -1,24 +1,24 @@ ## Core -### [jqholdready] holdReady +### [jq.holdready] holdReady ```javascript ${1:\$}.holdReady(${2:hold}); ``` -### [jqjq] jQuery +### [jq.jq] jQuery ```javascript ${1:\$}(${2:selector}${3:, context}); ``` -### [jqnoc] noConflict +### [jq.noc] noConflict ```javascript ${1:\$}.noConflict(${2:removeAll}); ``` -### [jqwhen] when +### [jq.when] when ```javascript ${1:\$}.when(${2:deferreds}); diff --git a/snippets/js/libraries/jquery/core/jq-core-hold-heady.sublime-snippet b/snippets/js/libraries/jquery/core/jq-core-hold-heady.sublime-snippet index 44e1314..537db21 100644 --- a/snippets/js/libraries/jquery/core/jq-core-hold-heady.sublime-snippet +++ b/snippets/js/libraries/jquery/core/jq-core-hold-heady.sublime-snippet @@ -2,6 +2,6 @@ - jqholdready + jq.holdready jq - holdReady diff --git a/snippets/js/libraries/jquery/core/jq-core-jquery.sublime-snippet b/snippets/js/libraries/jquery/core/jq-core-jquery.sublime-snippet index 5d8cbbf..7db178c 100644 --- a/snippets/js/libraries/jquery/core/jq-core-jquery.sublime-snippet +++ b/snippets/js/libraries/jquery/core/jq-core-jquery.sublime-snippet @@ -2,6 +2,6 @@ - jqjq + jq.jq jq - jQuery diff --git a/snippets/js/libraries/jquery/core/jq-core-no-conflict.sublime-snippet b/snippets/js/libraries/jquery/core/jq-core-no-conflict.sublime-snippet index b892250..76fce1c 100644 --- a/snippets/js/libraries/jquery/core/jq-core-no-conflict.sublime-snippet +++ b/snippets/js/libraries/jquery/core/jq-core-no-conflict.sublime-snippet @@ -2,6 +2,6 @@ - jqnoc + jq.noc jq - noConflict diff --git a/snippets/js/libraries/jquery/core/jq-core-when.sublime-snippet b/snippets/js/libraries/jquery/core/jq-core-when.sublime-snippet index 206a770..b660eed 100644 --- a/snippets/js/libraries/jquery/core/jq-core-when.sublime-snippet +++ b/snippets/js/libraries/jquery/core/jq-core-when.sublime-snippet @@ -2,6 +2,6 @@ - jqwhen + jq.when jq - when diff --git a/snippets/js/libraries/jquery/css/README.md b/snippets/js/libraries/jquery/css/README.md index 98c8284..3b0c3d9 100644 --- a/snippets/js/libraries/jquery/css/README.md +++ b/snippets/js/libraries/jquery/css/README.md @@ -1,18 +1,18 @@ ## CSS -### [jqcssh] cssHooks +### [jq.cssh] cssHooks ```javascript ${1:\$}.cssHooks; ``` -### [jqcssn] cssNumber +### [jq.cssn] cssNumber ```javascript ${1:\$}.cssNumber.${2:widows} = ${3}; ``` -### [jqcss] css +### [jq.css] css ```javascript ${1:\$(document)}.css(${2:{propertyName}}); diff --git a/snippets/js/libraries/jquery/css/jq-css-hooks.sublime-snippet b/snippets/js/libraries/jquery/css/jq-css-hooks.sublime-snippet index 593db5e..1e0e5eb 100644 --- a/snippets/js/libraries/jquery/css/jq-css-hooks.sublime-snippet +++ b/snippets/js/libraries/jquery/css/jq-css-hooks.sublime-snippet @@ -2,6 +2,6 @@ - jqcssh + jq.cssh jq - cssHooks diff --git a/snippets/js/libraries/jquery/css/jq-css-number.sublime-snippet b/snippets/js/libraries/jquery/css/jq-css-number.sublime-snippet index 2f121c5..1dcff7a 100644 --- a/snippets/js/libraries/jquery/css/jq-css-number.sublime-snippet +++ b/snippets/js/libraries/jquery/css/jq-css-number.sublime-snippet @@ -2,6 +2,6 @@ - jqcssn + jq.cssn jq - cssNumber diff --git a/snippets/js/libraries/jquery/css/jq-css.sublime-snippet b/snippets/js/libraries/jquery/css/jq-css.sublime-snippet index bdc059f..f580071 100644 --- a/snippets/js/libraries/jquery/css/jq-css.sublime-snippet +++ b/snippets/js/libraries/jquery/css/jq-css.sublime-snippet @@ -2,6 +2,6 @@ - jqcss + jq.css jq - css diff --git a/snippets/js/libraries/jquery/data/README.md b/snippets/js/libraries/jquery/data/README.md index 94ff0a7..9ad41c2 100644 --- a/snippets/js/libraries/jquery/data/README.md +++ b/snippets/js/libraries/jquery/data/README.md @@ -1,30 +1,30 @@ ## Data -### [jqhasdata] hasData +### [jq.hasdata] hasData ```javascript ${1:\$}.hasData(${2:element}); ``` -### [jqjdata] jQuery data +### [jq.jdata] jQuery data ```javascript ${1:\$}.data(${2:element}${3:, key}${4:, value}); ``` -### [jqjrdata] jQuery removeData +### [jq.jrdata] jQuery removeData ```javascript ${1:\$}.removeData(${2:element}${3:, name}); ``` -### [jqrdata] removeData +### [jq.rdata] removeData ```javascript ${1:\$(document)}.removeData(${2:name}); ``` -### [jqdata] data +### [jq.data] data ```javascript ${1:\$(document)}.data(${2:key}${3:, value}); diff --git a/snippets/js/libraries/jquery/data/jq-data-has-data.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data-has-data.sublime-snippet index 44f2bde..21da064 100644 --- a/snippets/js/libraries/jquery/data/jq-data-has-data.sublime-snippet +++ b/snippets/js/libraries/jquery/data/jq-data-has-data.sublime-snippet @@ -2,6 +2,6 @@ - jqhasdata + jq.hasdata jq - hasData diff --git a/snippets/js/libraries/jquery/data/jq-data-jquery.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data-jquery.sublime-snippet index f43783a..0cb7e82 100644 --- a/snippets/js/libraries/jquery/data/jq-data-jquery.sublime-snippet +++ b/snippets/js/libraries/jquery/data/jq-data-jquery.sublime-snippet @@ -2,6 +2,6 @@ - jqjdata + jq.jdata jq - jQuery data diff --git a/snippets/js/libraries/jquery/data/jq-data-remove-data-jquery.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data-remove-data-jquery.sublime-snippet index 2801875..4385e22 100644 --- a/snippets/js/libraries/jquery/data/jq-data-remove-data-jquery.sublime-snippet +++ b/snippets/js/libraries/jquery/data/jq-data-remove-data-jquery.sublime-snippet @@ -2,6 +2,6 @@ - jqjrdata + jq.jrdata jq - jQuery removeData diff --git a/snippets/js/libraries/jquery/data/jq-data-remove-data.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data-remove-data.sublime-snippet index 4643ae2..48bce04 100644 --- a/snippets/js/libraries/jquery/data/jq-data-remove-data.sublime-snippet +++ b/snippets/js/libraries/jquery/data/jq-data-remove-data.sublime-snippet @@ -2,6 +2,6 @@ - jqrdata + jq.rdata jq - removeData diff --git a/snippets/js/libraries/jquery/data/jq-data.sublime-snippet b/snippets/js/libraries/jquery/data/jq-data.sublime-snippet index a2a249f..6434156 100644 --- a/snippets/js/libraries/jquery/data/jq-data.sublime-snippet +++ b/snippets/js/libraries/jquery/data/jq-data.sublime-snippet @@ -2,6 +2,6 @@ - jqdata + jq.data jq - data diff --git a/snippets/js/libraries/jquery/deferred/README.md b/snippets/js/libraries/jquery/deferred/README.md index c9d8522..f75cbd2 100644 --- a/snippets/js/libraries/jquery/deferred/README.md +++ b/snippets/js/libraries/jquery/deferred/README.md @@ -1,90 +1,90 @@ ## Deferred -### [jqalways] always +### [jq.always] always ```javascript ${1:\$.get("")}.always(${2:alwaysCallbacks}${3:,alwaysCallbacks}); ``` -### [jqdone] done +### [jq.done] done ```javascript ${1:\$.get("")}.done(${2:doneCallbacks}${3:,doneCallbacks}); ``` -### [jqfail] fail +### [jq.fail] fail ```javascript ${1:\$.get("")}.fail(${2:failCallbacks}${3:,failCallbacks}); ``` -### [jqnotifywith] notifyWith +### [jq.notifywith] notifyWith ```javascript ${1:\$.then()}.notifyWith(${2:context}${3:, args}); ``` -### [jqnotify] notify +### [jq.notify] notify ```javascript ${1:\$.then()}.notify(${2:args}); ``` -### [jqprogress] progress +### [jq.progress] progress ```javascript ${1:\$.then()}.progress(${2:progressCallbacks}${3:, progressCallbacks}); ``` -### [jqdpromise] deferred promise +### [jq.dpromise] deferred promise ```javascript ${1:\$.then()}.promise(${2:target}); ``` -### [jqrejectwith] rejectWith +### [jq.rejectwith] rejectWith ```javascript ${1:\$.then()}.rejectWith(${2:context}${3:, args}); ``` -### [jqreject] reject +### [jq.reject] reject ```javascript ${1:\$.then()}.reject(${2:args}); ``` -### [jqresolvewith] resolveWith +### [jq.resolvewith] resolveWith ```javascript ${1:\$.then()}.resolveWith(${2:context}${3:, args}); ``` -### [jqstate] state +### [jq.state] state ```javascript ${1:\$.resolve()}.state(); ``` -### [jqthen] then +### [jq.then] then ```javascript ${1:\$.get()}.then(${2:doneFilter}${3:, failFilter}${4:, progressFilter}); ``` -### [jqd] deferred +### [jq.d] deferred ```javascript ${1:\$}.Deferred(${2:beforeStart}); ``` -### [jqpromise] promise +### [jq.promise] promise ```javascript ${1:\$(document)}.promise(${2:type}${3:, target}); ``` -### [jqresolve] resolve +### [jq.resolve] resolve ```javascript ${1:\$.then()}.resolve(${2:args}); diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-always.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-always.sublime-snippet index 6e3df16..d79b3ca 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-always.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-always.sublime-snippet @@ -2,6 +2,6 @@ - jqalways + jq.always jq - always diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-done.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-done.sublime-snippet index 7f38a99..c15df6e 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-done.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-done.sublime-snippet @@ -2,6 +2,6 @@ - jqdone + jq.done jq - done diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-fail.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-fail.sublime-snippet index 88f70b2..e574656 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-fail.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-fail.sublime-snippet @@ -2,6 +2,6 @@ - jqfail + jq.fail jq - fail diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-notify-with.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-notify-with.sublime-snippet index 1591443..544a206 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-notify-with.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-notify-with.sublime-snippet @@ -2,6 +2,6 @@ - jqnotifywith + jq.notifywith jq - notifyWith diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-notify.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-notify.sublime-snippet index 1183538..b71330a 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-notify.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-notify.sublime-snippet @@ -2,6 +2,6 @@ - jqnotify + jq.notify jq - notify diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-progress.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-progress.sublime-snippet index 5709c0d..9729cb4 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-progress.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-progress.sublime-snippet @@ -2,6 +2,6 @@ - jqprogress + jq.progress jq - progress diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-promise.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-promise.sublime-snippet index 53df7bd..10c0516 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-promise.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-promise.sublime-snippet @@ -2,6 +2,6 @@ - jqdpromise + jq.dpromise jq - promise diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-reject-with.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-reject-with.sublime-snippet index b5efb2f..431a2ed 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-reject-with.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-reject-with.sublime-snippet @@ -2,6 +2,6 @@ - jqrejectwith + jq.rejectwith jq - rejectWith diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-reject.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-reject.sublime-snippet index 284b6c1..5288fc7 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-reject.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-reject.sublime-snippet @@ -2,6 +2,6 @@ - jqreject + jq.reject jq - reject diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-resolve-with.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-resolve-with.sublime-snippet index 4425b3a..624dd6d 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-resolve-with.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-resolve-with.sublime-snippet @@ -2,6 +2,6 @@ - jqresolvewith + jq.resolvewith jq - resolveWith diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-resolve.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-resolve.sublime-snippet index e36e5a3..0e7211a 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-resolve.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-resolve.sublime-snippet @@ -2,6 +2,6 @@ - jqresolve + jq.resolve jq - resolve diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-state.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-state.sublime-snippet index 42eae40..8796fb8 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-state.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-state.sublime-snippet @@ -2,6 +2,6 @@ - jqstate + jq.state jq - state diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred-then.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred-then.sublime-snippet index 68f6c16..617a0c0 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred-then.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred-then.sublime-snippet @@ -2,6 +2,6 @@ - jqthen + jq.then jq - then diff --git a/snippets/js/libraries/jquery/deferred/jq-deferred.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-deferred.sublime-snippet index 50019f3..c72d664 100644 --- a/snippets/js/libraries/jquery/deferred/jq-deferred.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-deferred.sublime-snippet @@ -2,6 +2,6 @@ - jqd + jq.d jq - deferred diff --git a/snippets/js/libraries/jquery/deferred/jq-promise.sublime-snippet b/snippets/js/libraries/jquery/deferred/jq-promise.sublime-snippet index 6db4f6a..a0a754a 100644 --- a/snippets/js/libraries/jquery/deferred/jq-promise.sublime-snippet +++ b/snippets/js/libraries/jquery/deferred/jq-promise.sublime-snippet @@ -2,6 +2,6 @@ - jqpromise + jq.promise jq - promise diff --git a/snippets/js/libraries/jquery/dimensions/README.md b/snippets/js/libraries/jquery/dimensions/README.md index 7031034..8b9f432 100644 --- a/snippets/js/libraries/jquery/dimensions/README.md +++ b/snippets/js/libraries/jquery/dimensions/README.md @@ -1,36 +1,36 @@ ## Dimensions -### [jqheight] height +### [jq.height] height ```javascript ${1:\$(document)}.height(); ``` -### [jqiheight] innerHeight +### [jq.iheight] innerHeight ```javascript ${1:\$(document)}.innerHeight(); ``` -### [jqiwidth] innerWidth +### [jq.iwidth] innerWidth ```javascript ${1:\$(document)}.innerWidth(); ``` -### [jqoheight] outerHeight +### [jq.oheight] outerHeight ```javascript ${1:\$(document)}.outerHeight(${2:includeMargin}); ``` -### [jqowidth] outerWidth +### [jq.owidth] outerWidth ```javascript ${1:\$(document)}.outerWidth(${2:includeMargin}); ``` -### [jqwidth] width +### [jq.width] width ```javascript ${1:\$(document)}.width(); diff --git a/snippets/js/libraries/jquery/dimensions/jq-dimensions-height.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-height.sublime-snippet index 0ff887b..d1fe754 100644 --- a/snippets/js/libraries/jquery/dimensions/jq-dimensions-height.sublime-snippet +++ b/snippets/js/libraries/jquery/dimensions/jq-dimensions-height.sublime-snippet @@ -2,6 +2,6 @@ - jqheight + jq.height jq - height diff --git a/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-height.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-height.sublime-snippet index 5519c59..479d64e 100644 --- a/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-height.sublime-snippet +++ b/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-height.sublime-snippet @@ -2,6 +2,6 @@ - jqiheight + jq.iheight jq - innerHeight diff --git a/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-width.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-width.sublime-snippet index 40f8ac5..817b7ab 100644 --- a/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-width.sublime-snippet +++ b/snippets/js/libraries/jquery/dimensions/jq-dimensions-inner-width.sublime-snippet @@ -2,6 +2,6 @@ - jqiwidth + jq.iwidth jq - innerWidth diff --git a/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-height.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-height.sublime-snippet index a1670b6..dc64004 100644 --- a/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-height.sublime-snippet +++ b/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-height.sublime-snippet @@ -2,6 +2,6 @@ - jqoheight + jq.oheight jq - outerHeight diff --git a/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-width.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-width.sublime-snippet index 2f6be45..23381dd 100644 --- a/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-width.sublime-snippet +++ b/snippets/js/libraries/jquery/dimensions/jq-dimensions-outer-width.sublime-snippet @@ -2,6 +2,6 @@ - jqowidth + jq.owidth jq - outerWidth diff --git a/snippets/js/libraries/jquery/dimensions/jq-dimensions-width.sublime-snippet b/snippets/js/libraries/jquery/dimensions/jq-dimensions-width.sublime-snippet index 0c767ff..b573ce4 100644 --- a/snippets/js/libraries/jquery/dimensions/jq-dimensions-width.sublime-snippet +++ b/snippets/js/libraries/jquery/dimensions/jq-dimensions-width.sublime-snippet @@ -2,6 +2,6 @@ - jqwidth + jq.width jq - width diff --git a/snippets/js/libraries/jquery/effects/README.md b/snippets/js/libraries/jquery/effects/README.md index 99d0c5b..b10b048 100644 --- a/snippets/js/libraries/jquery/effects/README.md +++ b/snippets/js/libraries/jquery/effects/README.md @@ -1,102 +1,102 @@ ## Effects -### [jqanimate] animate +### [jq.animate] animate ```javascript ${1:\$("div")}.animate(${2:properties}${3:,duration}${4:,easing}${5:,complete}); ``` -### [jqcqueue] clearQueue +### [jq.cqueue] clearQueue ```javascript ${1:\$("div")}.clearQueue(${2:queueName}); ``` -### [jqdelay] delay +### [jq.delay] delay ```javascript ${1:\$("div")}.delay(${2:duration}${3:,queueName}); ``` -### [jqdequeue] dequeue +### [jq.dequeue] dequeue ```javascript ${1:\$("div")}.dequeue(${2:queueName}); ``` -### [jqfadein] fadeIn +### [jq.fadein] fadeIn ```javascript ${1:\$("div")}.fadeIn(${2:duration}${3:,easing}${4:,complete}); ``` -### [jqfadeout] fadeOut +### [jq.fadeout] fadeOut ```javascript ${1:\$("div")}.fadeOut(${2:duration}${3:,easing}${4:,complete}); ``` -### [jqfadetoggle] fadeToggle +### [jq.fadetoggle] fadeToggle ```javascript ${1:\$("div")}.fadeToggle(${2:duration}${3:,easing}${4:,complete}); ``` -### [jqfadeto] fadeTo +### [jq.fadeto] fadeTo ```javascript ${1:\$("div")}.fadeTo(${2:duration}, ${3:opacity}${4:,easing}${5:,complete}); ``` -### [jqfinish] finish +### [jq.finish] finish ```javascript ${1:\$("div")}.finish(${2:queue}); ``` -### [jqhide] hide +### [jq.hide] hide ```javascript ${1:\$("div")}.hide(${2:duration}${3:,easing}${4:,complete}); ``` -### [jqqueue] queue +### [jq.queue] queue ```javascript ${1:\$("div")}.queue(${2:queueName}); ``` -### [jqshow] show +### [jq.show] show ```javascript ${1:\$("div")}.show(${2:duration}${3:,easing}${4:,complete}); ``` -### [jqsdown] slideDown +### [jq.sdown] slideDown ```javascript ${1:\$("div")}.slideDown(${2:duration}${3:,easing}${4:,complete}); ``` -### [jqstoggle] slideToggle +### [jq.stoggle] slideToggle ```javascript ${1:\$("div")}.slideToggle(${2:duration}${3:,easing}${4:,complete}); ``` -### [jqsup] slideUp +### [jq.sup] slideUp ```javascript ${1:\$("div")}.slideUp(${2:duration}${3:,easing}${4:,complete}); ``` -### [jqstop] stop +### [jq.stop] stop ```javascript ${1:\$("div")}.stop(${2:queue}${3:,clearQueue}${4:,jumpToEnd}); ``` -### [jqtoggle] toggle +### [jq.toggle] toggle ```javascript ${1:\$("div")}.toggle(${2:duration}${3:,easing}${4:,complete}); diff --git a/snippets/js/libraries/jquery/effects/jq-effects-animate.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-animate.sublime-snippet index d8cd978..a25608d 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-animate.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-animate.sublime-snippet @@ -2,6 +2,6 @@ - jqanimate + jq.animate jq - animate diff --git a/snippets/js/libraries/jquery/effects/jq-effects-clear-queue.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-clear-queue.sublime-snippet index 6496ed5..06d48a6 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-clear-queue.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-clear-queue.sublime-snippet @@ -2,6 +2,6 @@ - jqcqueue + jq.cqueue jq - clearQueue diff --git a/snippets/js/libraries/jquery/effects/jq-effects-delay.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-delay.sublime-snippet index 1fec283..0be19a8 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-delay.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-delay.sublime-snippet @@ -2,6 +2,6 @@ - jqdelay + jq.delay jq - delay diff --git a/snippets/js/libraries/jquery/effects/jq-effects-dequeue.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-dequeue.sublime-snippet index 7d66a07..e7c42d7 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-dequeue.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-dequeue.sublime-snippet @@ -2,6 +2,6 @@ - jqdequeue + jq.dequeue jq - dequeue diff --git a/snippets/js/libraries/jquery/effects/jq-effects-fade-in.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-fade-in.sublime-snippet index 46121b6..47c012c 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-fade-in.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-fade-in.sublime-snippet @@ -2,6 +2,6 @@ - jqfadein + jq.fadein jq - fadeIn diff --git a/snippets/js/libraries/jquery/effects/jq-effects-fade-out.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-fade-out.sublime-snippet index d2e959a..7397416 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-fade-out.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-fade-out.sublime-snippet @@ -2,6 +2,6 @@ - jqfadeout + jq.fadeout jq - fadeOut diff --git a/snippets/js/libraries/jquery/effects/jq-effects-fade-to.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-fade-to.sublime-snippet index 2e51c3f..a603e2a 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-fade-to.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-fade-to.sublime-snippet @@ -2,6 +2,6 @@ - jqfadetoggle + jq.fadetoggle jq - fadeToggle diff --git a/snippets/js/libraries/jquery/effects/jq-effects-fade-toggle.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-fade-toggle.sublime-snippet index 47001d4..9955198 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-fade-toggle.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-fade-toggle.sublime-snippet @@ -2,6 +2,6 @@ - jqfadeto + jq.fadeto jq - fadeTo diff --git a/snippets/js/libraries/jquery/effects/jq-effects-finish.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-finish.sublime-snippet index 91a993a..bf03107 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-finish.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-finish.sublime-snippet @@ -2,6 +2,6 @@ - jqfinish + jq.finish jq - finish diff --git a/snippets/js/libraries/jquery/effects/jq-effects-hide.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-hide.sublime-snippet index 55ef26f..4ba2893 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-hide.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-hide.sublime-snippet @@ -2,6 +2,6 @@ - jqhide + jq.hide jq - hide diff --git a/snippets/js/libraries/jquery/effects/jq-effects-queue.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-queue.sublime-snippet index e7330fd..bdae6e0 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-queue.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-queue.sublime-snippet @@ -2,6 +2,6 @@ - jqqueue + jq.queue jq - queue diff --git a/snippets/js/libraries/jquery/effects/jq-effects-show.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-show.sublime-snippet index 6525fc4..180b355 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-show.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-show.sublime-snippet @@ -2,6 +2,6 @@ - jqshow + jq.show jq - show diff --git a/snippets/js/libraries/jquery/effects/jq-effects-slide-down.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-slide-down.sublime-snippet index d37e729..4e12fcd 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-slide-down.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-slide-down.sublime-snippet @@ -2,6 +2,6 @@ - jqsdown + jq.sdown jq - slideDown diff --git a/snippets/js/libraries/jquery/effects/jq-effects-slide-toggle.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-slide-toggle.sublime-snippet index 264bf90..271328f 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-slide-toggle.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-slide-toggle.sublime-snippet @@ -2,6 +2,6 @@ - jqstoggle + jq.stoggle jq - slideToggle diff --git a/snippets/js/libraries/jquery/effects/jq-effects-slide-up.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-slide-up.sublime-snippet index 7c9d628..0425c20 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-slide-up.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-slide-up.sublime-snippet @@ -2,6 +2,6 @@ - jqsup + jq.sup jq - slideUp diff --git a/snippets/js/libraries/jquery/effects/jq-effects-stop.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-stop.sublime-snippet index 319bcdd..9318f07 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-stop.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-stop.sublime-snippet @@ -2,6 +2,6 @@ - jqstop + jq.stop jq - stop diff --git a/snippets/js/libraries/jquery/effects/jq-effects-toggle.sublime-snippet b/snippets/js/libraries/jquery/effects/jq-effects-toggle.sublime-snippet index 2fac51f..d11205e 100644 --- a/snippets/js/libraries/jquery/effects/jq-effects-toggle.sublime-snippet +++ b/snippets/js/libraries/jquery/effects/jq-effects-toggle.sublime-snippet @@ -2,6 +2,6 @@ - jqtoggle + jq.toggle jq - toggle diff --git a/snippets/js/libraries/jquery/events/README.md b/snippets/js/libraries/jquery/events/README.md index c03d96e..5011af7 100644 --- a/snippets/js/libraries/jquery/events/README.md +++ b/snippets/js/libraries/jquery/events/README.md @@ -1,270 +1,270 @@ ## Events -### [jqbind] bind +### [jq.bind] bind ```javascript ${1:\$(document)}.bind(${2:eventType}${3:,eventData}${4:,handler}); ``` -### [jqclick] click +### [jq.click] click ```javascript ${1:\$(document)}.click(${2:eventData}${3:,handler}); ``` -### [jqcmenu] contextmenu +### [jq.cmenu] contextmenu ```javascript ${1:\$(document)}.contextmenu(${2:eventData}${3:,handler}); ``` -### [jqctarget] currentTarget +### [jq.ctarget] currentTarget ```javascript ${1:\event}.currentTarget; ``` -### [jqedata] data +### [jq.edata] data ```javascript ${1:\event}.data; ``` -### [jqdclick] dblclick +### [jq.dclick] dblclick ```javascript ${1:\$(document)}.dblclick(${2:eventData}${3:,handler}); ``` -### [jqdtarget] delegateTarget +### [jq.dtarget] delegateTarget ```javascript ${1:\event}.delegateTarget; ``` -### [jqdelegate] delegate +### [jq.delegate] delegate ```javascript ${1:\$(document)}.delegate(${2:selector}${3:,eventType}${4:,handler}); ``` -### [jqhover] hover +### [jq.hover] hover ```javascript ${1:\event}.hover(${2:handlerIn}${3:, handlerOut}); ``` -### [jqidprevented] isDefaultPrevented +### [jq.idprevented] isDefaultPrevented ```javascript ${1:\event}.isDefaultPrevented(); ``` -### [jqiips] isImmediatePropagationStopped +### [jq.iips] isImmediatePropagationStopped ```javascript ${1:\event}.isImmediatePropagationStopped(); ``` -### [jqips] isPropagationStopped +### [jq.ips] isPropagationStopped ```javascript ${1:\event}.isPropagationStopped(); ``` -### [jqkdown] keydown +### [jq.kdown] keydown ```javascript ${1:\event}.keydown(${2:eventData}${3:, handler}); ``` -### [jqkpress] keypress +### [jq.kpress] keypress ```javascript ${1:\event}.keypress(${2:eventData}${3:, handler}); ``` -### [jqkup] keyup +### [jq.kup] keyup ```javascript ${1:\event}.keyup(${2:eventData}${3:, handler}); ``` -### [jqmkey] metaKey +### [jq.mkey] metaKey ```javascript ${1:\event}.metaKey; ``` -### [jqmdown] mousedown +### [jq.mdown] mousedown ```javascript ${1:\$(document)}.mousedown(${2:eventData}${3:, handler}); ``` -### [jqmenter] mouseenter +### [jq.menter] mouseenter ```javascript ${1:\$(document)}.mouseenter(${2:eventData}${3:, handler}); ``` -### [jqmleave] mouseleave +### [jq.mleave] mouseleave ```javascript ${1:\$(document)}.mouseleave(${2:eventData}${3:, handler}); ``` -### [jqmmove] mousemove +### [jq.mmove] mousemove ```javascript ${1:\$(document)}.mousemove(${2:eventData}${3:, handler}); ``` -### [jqmout] mouseout +### [jq.mout] mouseout ```javascript ${1:\$(document)}.mouseout(${2:eventData}${3:, handler}); ``` -### [jqmover] mouseover +### [jq.mover] mouseover ```javascript ${1:\$(document)}.mouseover(${2:eventData}${3:, handler}); ``` -### [jqmup] mouseup +### [jq.mup] mouseup ```javascript ${1:\$(document)}.mouseup(${2:eventData}${3:, handler}); ``` -### [jqns] namespace +### [jq.ns] namespace ```javascript ${1:\event}.namespace; ``` -### [jqoff] off +### [jq.off] off ```javascript ${1:\$(document)}.off(${2:events}${3:, selector}${4:, handler}); ``` -### [jqon] on +### [jq.on] on ```javascript ${1:\$(document)}.on(${2:events}${3:, selector}${4:, data}${5:, handler}); ``` -### [jqone] one +### [jq.one] one ```javascript ${1:\$(document)}.one(${2:events}${3:, selector}${4:, data}${5:, handler}); ``` -### [jqpx] pageX +### [jq.px] pageX ```javascript ${1:\event}.pageX; ``` -### [jqpy] pageY +### [jq.py] pageY ```javascript ${1:\event}.pageY; ``` -### [jqpd] preventDefault +### [jq.pd] preventDefault ```javascript ${1:\event}.preventDefault(); ``` -### [jqready] ready +### [jq.ready] ready ```javascript ${1:\$(document)}.ready(${2:handler}); ``` -### [jqrtarget] relatedTarget +### [jq.rtarget] relatedTarget ```javascript ${1:\event}.relatedTarget; ``` -### [jqresize] resize +### [jq.resize] resize ```javascript ${1:\$(window)}.resize(${2:eventData}${3:, handler}); ``` -### [jqresult] result +### [jq.result] result ```javascript ${1:\event}.result; ``` -### [jqscroll] scroll +### [jq.scroll] scroll ```javascript ${1:\$(window)}.scroll(${2:eventData}${3:, handler}); ``` -### [jqsip] stopImmediatePropagation +### [jq.sip] stopImmediatePropagation ```javascript ${1:\event}.stopImmediatePropagation(); ``` -### [jqsp] stopPropagation +### [jq.sp] stopPropagation ```javascript ${1:\event}.stopPropagation(); ``` -### [jqtarget] target +### [jq.target] target ```javascript ${1:\event}.target; ``` -### [jqtstamp] timeStamp +### [jq.tstamp] timeStamp ```javascript ${1:\event}.timeStamp; ``` -### [jqthandler] triggerHandler +### [jq.thandler] triggerHandler ```javascript ${1:\$(document)}.triggerHandler(${2:eventType}${3:, extraParameters}); ``` -### [jqtrigger] trigger +### [jq.trigger] trigger ```javascript ${1:\$(document)}.trigger(${2:eventType}${3:, extraParameters}); ``` -### [jqtype] type +### [jq.type] type ```javascript ${1:\event}.type; ``` -### [jqunbind] unbind +### [jq.unbind] unbind ```javascript ${1:\$(document)}.unbind(${2:eventType}${3:, handler}); ``` -### [jqundelegate] undelegate +### [jq.undelegate] undelegate ```javascript ${1:\$(document)}.undelegate(${2:selector}${3:, eventType}${4:, handler}); ``` -### [jqwhich] which +### [jq.which] which ```javascript ${1:\event}.which; diff --git a/snippets/js/libraries/jquery/events/jq-events-bind.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-bind.sublime-snippet index 2302133..e347218 100644 --- a/snippets/js/libraries/jquery/events/jq-events-bind.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-bind.sublime-snippet @@ -2,6 +2,6 @@ - jqbind + jq.bind jq - bind diff --git a/snippets/js/libraries/jquery/events/jq-events-click.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-click.sublime-snippet index c40d6ff..99e8e67 100644 --- a/snippets/js/libraries/jquery/events/jq-events-click.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-click.sublime-snippet @@ -2,6 +2,6 @@ - jqclick + jq.click jq - click diff --git a/snippets/js/libraries/jquery/events/jq-events-context-menu.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-context-menu.sublime-snippet index 1b06efe..dd96a61 100644 --- a/snippets/js/libraries/jquery/events/jq-events-context-menu.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-context-menu.sublime-snippet @@ -2,6 +2,6 @@ - jqjqcmenu + jq.jqcmenu jq - contextmenu diff --git a/snippets/js/libraries/jquery/events/jq-events-current-target.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-current-target.sublime-snippet index dc7fd2e..18a0116 100644 --- a/snippets/js/libraries/jquery/events/jq-events-current-target.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-current-target.sublime-snippet @@ -2,6 +2,6 @@ - jqctarget + jq.ctarget jq - currentTarget diff --git a/snippets/js/libraries/jquery/events/jq-events-data.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-data.sublime-snippet index 67b3d75..e0b5008 100644 --- a/snippets/js/libraries/jquery/events/jq-events-data.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-data.sublime-snippet @@ -2,6 +2,6 @@ - jqedata + jq.edata jq - Event data diff --git a/snippets/js/libraries/jquery/events/jq-events-dbl-click.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-dbl-click.sublime-snippet index fc494dd..ede4e91 100644 --- a/snippets/js/libraries/jquery/events/jq-events-dbl-click.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-dbl-click.sublime-snippet @@ -2,6 +2,6 @@ - jqdclick + jq.dclick jq - dblclick diff --git a/snippets/js/libraries/jquery/events/jq-events-delegate-target.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-delegate-target.sublime-snippet index 355e58c..1ea239b 100644 --- a/snippets/js/libraries/jquery/events/jq-events-delegate-target.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-delegate-target.sublime-snippet @@ -2,6 +2,6 @@ - jqdtarget + jq.dtarget jq - delegateTarget diff --git a/snippets/js/libraries/jquery/events/jq-events-delegate.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-delegate.sublime-snippet index 3c8fcd1..88714ec 100644 --- a/snippets/js/libraries/jquery/events/jq-events-delegate.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-delegate.sublime-snippet @@ -2,6 +2,6 @@ - jqdelegate + jq.delegate jq - delegate diff --git a/snippets/js/libraries/jquery/events/jq-events-hover.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-hover.sublime-snippet index ec43680..17f3af0 100644 --- a/snippets/js/libraries/jquery/events/jq-events-hover.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-hover.sublime-snippet @@ -2,6 +2,6 @@ - jqhover + jq.hover jq - hover diff --git a/snippets/js/libraries/jquery/events/jq-events-is-default-prevented.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-is-default-prevented.sublime-snippet index fed5d43..e100d4d 100644 --- a/snippets/js/libraries/jquery/events/jq-events-is-default-prevented.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-is-default-prevented.sublime-snippet @@ -2,6 +2,6 @@ - jqidprevented + jq.idprevented jq - isDefaultPrevented diff --git a/snippets/js/libraries/jquery/events/jq-events-is-immediate-propagation-stopped.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-is-immediate-propagation-stopped.sublime-snippet index 4cfb67c..f24361a 100644 --- a/snippets/js/libraries/jquery/events/jq-events-is-immediate-propagation-stopped.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-is-immediate-propagation-stopped.sublime-snippet @@ -2,6 +2,6 @@ - jqiips + jq.iips jq - isImmediatePropagationStopped diff --git a/snippets/js/libraries/jquery/events/jq-events-is-propagation-stopped.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-is-propagation-stopped.sublime-snippet index 899dad0..b11c81d 100644 --- a/snippets/js/libraries/jquery/events/jq-events-is-propagation-stopped.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-is-propagation-stopped.sublime-snippet @@ -2,6 +2,6 @@ - jqips + jq.ips jq - isPropagationStopped diff --git a/snippets/js/libraries/jquery/events/jq-events-key-down.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-key-down.sublime-snippet index 523f3e5..1a0a8d4 100644 --- a/snippets/js/libraries/jquery/events/jq-events-key-down.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-key-down.sublime-snippet @@ -2,6 +2,6 @@ - jqkdown + jq.kdown jq - keydown diff --git a/snippets/js/libraries/jquery/events/jq-events-key-press.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-key-press.sublime-snippet index 60999a8..1f69a77 100644 --- a/snippets/js/libraries/jquery/events/jq-events-key-press.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-key-press.sublime-snippet @@ -2,6 +2,6 @@ - jqkpress + jq.kpress jq - keypress diff --git a/snippets/js/libraries/jquery/events/jq-events-key-up.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-key-up.sublime-snippet index 8e9264a..0cc9739 100644 --- a/snippets/js/libraries/jquery/events/jq-events-key-up.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-key-up.sublime-snippet @@ -2,6 +2,6 @@ - jqkup + jq.kup jq - keyup diff --git a/snippets/js/libraries/jquery/events/jq-events-meta-key.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-meta-key.sublime-snippet index 958a1cb..d3f2426 100644 --- a/snippets/js/libraries/jquery/events/jq-events-meta-key.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-meta-key.sublime-snippet @@ -2,6 +2,6 @@ - jqmkey + jq.mkey jq - metaKey diff --git a/snippets/js/libraries/jquery/events/jq-events-mouse-down.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-down.sublime-snippet index d67b5b5..f47d325 100644 --- a/snippets/js/libraries/jquery/events/jq-events-mouse-down.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-mouse-down.sublime-snippet @@ -2,6 +2,6 @@ - jqmdown + jq.mdown jq - mousedown diff --git a/snippets/js/libraries/jquery/events/jq-events-mouse-enter.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-enter.sublime-snippet index ada638e..1fdb58f 100644 --- a/snippets/js/libraries/jquery/events/jq-events-mouse-enter.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-mouse-enter.sublime-snippet @@ -2,6 +2,6 @@ - jqmenter + jq.menter jq - mouseenter diff --git a/snippets/js/libraries/jquery/events/jq-events-mouse-leave.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-leave.sublime-snippet index 942c0a9..0c9e0e3 100644 --- a/snippets/js/libraries/jquery/events/jq-events-mouse-leave.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-mouse-leave.sublime-snippet @@ -2,6 +2,6 @@ - jqmleave + jq.mleave jq - mouseleave diff --git a/snippets/js/libraries/jquery/events/jq-events-mouse-move.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-move.sublime-snippet index c425a1f..a9dab05 100644 --- a/snippets/js/libraries/jquery/events/jq-events-mouse-move.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-mouse-move.sublime-snippet @@ -2,6 +2,6 @@ - jqmmove + jq.mmove jq - mousemove diff --git a/snippets/js/libraries/jquery/events/jq-events-mouse-out.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-out.sublime-snippet index 0170d81..53709f4 100644 --- a/snippets/js/libraries/jquery/events/jq-events-mouse-out.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-mouse-out.sublime-snippet @@ -2,6 +2,6 @@ - jqmout + jq.mout jq - mouseout diff --git a/snippets/js/libraries/jquery/events/jq-events-mouse-over.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-over.sublime-snippet index 5298069..b050c7c 100644 --- a/snippets/js/libraries/jquery/events/jq-events-mouse-over.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-mouse-over.sublime-snippet @@ -2,6 +2,6 @@ - jqmover + jq.mover jq - mouseover diff --git a/snippets/js/libraries/jquery/events/jq-events-mouse-up.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-mouse-up.sublime-snippet index 125e567..2a4a82d 100644 --- a/snippets/js/libraries/jquery/events/jq-events-mouse-up.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-mouse-up.sublime-snippet @@ -2,6 +2,6 @@ - jqmup + jq.mup jq - mouseup diff --git a/snippets/js/libraries/jquery/events/jq-events-namespace.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-namespace.sublime-snippet index 0052221..bd166cd 100644 --- a/snippets/js/libraries/jquery/events/jq-events-namespace.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-namespace.sublime-snippet @@ -2,6 +2,6 @@ - jqns + jq.ns jq - namespace diff --git a/snippets/js/libraries/jquery/events/jq-events-off.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-off.sublime-snippet index f3c5409..e2bb471 100644 --- a/snippets/js/libraries/jquery/events/jq-events-off.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-off.sublime-snippet @@ -2,6 +2,6 @@ - jqoff + jq.off jq - off diff --git a/snippets/js/libraries/jquery/events/jq-events-on.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-on.sublime-snippet index 57ea344..6da2cfa 100644 --- a/snippets/js/libraries/jquery/events/jq-events-on.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-on.sublime-snippet @@ -2,6 +2,6 @@ - jqon + jq.on jq - on diff --git a/snippets/js/libraries/jquery/events/jq-events-one.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-one.sublime-snippet index c49c198..0684227 100644 --- a/snippets/js/libraries/jquery/events/jq-events-one.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-one.sublime-snippet @@ -2,6 +2,6 @@ - jqone + jq.one jq - one diff --git a/snippets/js/libraries/jquery/events/jq-events-page-x.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-page-x.sublime-snippet index f7ed56b..9ff7c8d 100644 --- a/snippets/js/libraries/jquery/events/jq-events-page-x.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-page-x.sublime-snippet @@ -2,6 +2,6 @@ - jqpx + jq.px jq - pageX diff --git a/snippets/js/libraries/jquery/events/jq-events-page-y.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-page-y.sublime-snippet index 717586d..b65415e 100644 --- a/snippets/js/libraries/jquery/events/jq-events-page-y.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-page-y.sublime-snippet @@ -2,6 +2,6 @@ - jqpy + jq.py jq - pageY diff --git a/snippets/js/libraries/jquery/events/jq-events-prevent-default.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-prevent-default.sublime-snippet index 637602f..f7d4ffc 100644 --- a/snippets/js/libraries/jquery/events/jq-events-prevent-default.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-prevent-default.sublime-snippet @@ -2,6 +2,6 @@ - jqpd + jq.pd jq - preventDefault diff --git a/snippets/js/libraries/jquery/events/jq-events-ready.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-ready.sublime-snippet index 7851079..9d70be2 100644 --- a/snippets/js/libraries/jquery/events/jq-events-ready.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-ready.sublime-snippet @@ -2,6 +2,6 @@ - jqready + jq.ready jq - ready diff --git a/snippets/js/libraries/jquery/events/jq-events-related-target.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-related-target.sublime-snippet index 1a4f652..5484d67 100644 --- a/snippets/js/libraries/jquery/events/jq-events-related-target.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-related-target.sublime-snippet @@ -2,6 +2,6 @@ - jqrtarget + jq.rtarget jq - relatedTarget diff --git a/snippets/js/libraries/jquery/events/jq-events-resize.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-resize.sublime-snippet index 397215e..7f10b7d 100644 --- a/snippets/js/libraries/jquery/events/jq-events-resize.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-resize.sublime-snippet @@ -2,6 +2,6 @@ - jqresize + jq.resize jq - resize diff --git a/snippets/js/libraries/jquery/events/jq-events-result.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-result.sublime-snippet index c407537..f09b8e2 100644 --- a/snippets/js/libraries/jquery/events/jq-events-result.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-result.sublime-snippet @@ -2,6 +2,6 @@ - jqresult + jq.result jq - result diff --git a/snippets/js/libraries/jquery/events/jq-events-scroll.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-scroll.sublime-snippet index 96d51ed..9677107 100644 --- a/snippets/js/libraries/jquery/events/jq-events-scroll.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-scroll.sublime-snippet @@ -2,6 +2,6 @@ - jqscroll + jq.scroll jq - scroll diff --git a/snippets/js/libraries/jquery/events/jq-events-stop-immediate-propagation.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-stop-immediate-propagation.sublime-snippet index 8100bb0..8bf59b6 100644 --- a/snippets/js/libraries/jquery/events/jq-events-stop-immediate-propagation.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-stop-immediate-propagation.sublime-snippet @@ -2,6 +2,6 @@ - jqsip + jq.sip jq - stopImmediatePropagation diff --git a/snippets/js/libraries/jquery/events/jq-events-stop-propagation.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-stop-propagation.sublime-snippet index 0a68d16..60ab9cd 100644 --- a/snippets/js/libraries/jquery/events/jq-events-stop-propagation.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-stop-propagation.sublime-snippet @@ -2,6 +2,6 @@ - jqsp + jq.sp jq - stopPropagation diff --git a/snippets/js/libraries/jquery/events/jq-events-target.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-target.sublime-snippet index a343641..09cb760 100644 --- a/snippets/js/libraries/jquery/events/jq-events-target.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-target.sublime-snippet @@ -2,6 +2,6 @@ - jqtarget + jq.target jq - target diff --git a/snippets/js/libraries/jquery/events/jq-events-time-stamp.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-time-stamp.sublime-snippet index 937657a..7cc52ff 100644 --- a/snippets/js/libraries/jquery/events/jq-events-time-stamp.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-time-stamp.sublime-snippet @@ -2,6 +2,6 @@ - jqtstamp + jq.tstamp jq - timeStamp diff --git a/snippets/js/libraries/jquery/events/jq-events-trigger-handler.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-trigger-handler.sublime-snippet index 9a07e40..6dfa185 100644 --- a/snippets/js/libraries/jquery/events/jq-events-trigger-handler.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-trigger-handler.sublime-snippet @@ -2,6 +2,6 @@ - jqthandler + jq.thandler jq - triggerHandler diff --git a/snippets/js/libraries/jquery/events/jq-events-trigger.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-trigger.sublime-snippet index 9d46310..072256d 100644 --- a/snippets/js/libraries/jquery/events/jq-events-trigger.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-trigger.sublime-snippet @@ -2,6 +2,6 @@ - jqtrigger + jq.trigger jq - trigger diff --git a/snippets/js/libraries/jquery/events/jq-events-type.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-type.sublime-snippet index 3d3ae87..e00893c 100644 --- a/snippets/js/libraries/jquery/events/jq-events-type.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-type.sublime-snippet @@ -2,6 +2,6 @@ - jqtype + jq.type jq - type diff --git a/snippets/js/libraries/jquery/events/jq-events-unbind.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-unbind.sublime-snippet index d718e32..f86df5c 100644 --- a/snippets/js/libraries/jquery/events/jq-events-unbind.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-unbind.sublime-snippet @@ -2,6 +2,6 @@ - jqunbind + jq.unbind jq - unbind diff --git a/snippets/js/libraries/jquery/events/jq-events-undelegate.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-undelegate.sublime-snippet index c763fbd..6e925b1 100644 --- a/snippets/js/libraries/jquery/events/jq-events-undelegate.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-undelegate.sublime-snippet @@ -2,6 +2,6 @@ - jqundelegate + jq.undelegate jq - undelegate diff --git a/snippets/js/libraries/jquery/events/jq-events-which.sublime-snippet b/snippets/js/libraries/jquery/events/jq-events-which.sublime-snippet index f6881e8..d9b992e 100644 --- a/snippets/js/libraries/jquery/events/jq-events-which.sublime-snippet +++ b/snippets/js/libraries/jquery/events/jq-events-which.sublime-snippet @@ -2,6 +2,6 @@ - jqwhich + jq.which jq - which diff --git a/snippets/js/libraries/jquery/forms/README.md b/snippets/js/libraries/jquery/forms/README.md index 40e9bd8..1d3f84a 100644 --- a/snippets/js/libraries/jquery/forms/README.md +++ b/snippets/js/libraries/jquery/forms/README.md @@ -1,66 +1,66 @@ ## Forms -### [jqblur] blur +### [jq.blur] blur ```javascript ${1:\$(document)}.blur(${2:eventData}${3:,handler}); ``` -### [jqchange] change +### [jq.change] change ```javascript ${1:\$(document)}.change(${2:eventData}${3:,handler}); ``` -### [jqfocusin] focusin +### [jq.focusin] focusin ```javascript ${1:\$(document)}.focusin(${2:eventData}${3:,handler}); ``` -### [jqfocusout] focusout +### [jq.focusout] focusout ```javascript ${1:\$(document)}.focusout(${2:eventData}${3:,handler}); ``` -### [jqfocus] focus +### [jq.focus] focus ```javascript ${1:\$(document)}.focus(${2:eventData}${3:,handler}); ``` -### [jqparam] param +### [jq.param] param ```javascript ${1:\$}.param(${2:obj}${3:,traditional}); ``` -### [jqselect] select +### [jq.select] select ```javascript ${1:\$(document)}.select(${2:eventData}${3:,handler}); ``` -### [jqserarray] serializeArray +### [jq.serarray] serializeArray ```javascript ${1:\$(this)}.serializeArray(); ``` -### [jqser] serialize +### [jq.ser] serialize ```javascript ${1:\$(this)}.serialize(); ``` -### [jqsubmit] submit +### [jq.submit] submit ```javascript ${1:\$(document)}.submit(${2:eventData}${3:,handler}); ``` -### [jqval] val +### [jq.val] val ```javascript ${1:\$(this)}.val(); diff --git a/snippets/js/libraries/jquery/forms/jq-forms-blur.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-blur.sublime-snippet index 3ee9ac8..e9f7704 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-blur.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-blur.sublime-snippet @@ -2,6 +2,6 @@ - jqblur + jq.blur jq - blur diff --git a/snippets/js/libraries/jquery/forms/jq-forms-change.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-change.sublime-snippet index 5ff3e49..f711b1e 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-change.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-change.sublime-snippet @@ -2,6 +2,6 @@ - jqchange + jq.change jq - change diff --git a/snippets/js/libraries/jquery/forms/jq-forms-focus-in.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-focus-in.sublime-snippet index 9b1caad..cef399d 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-focus-in.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-focus-in.sublime-snippet @@ -2,6 +2,6 @@ - jqfocusin + jq.focusin jq - focusin diff --git a/snippets/js/libraries/jquery/forms/jq-forms-focus-out.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-focus-out.sublime-snippet index 3623d88..673129c 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-focus-out.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-focus-out.sublime-snippet @@ -2,6 +2,6 @@ - jqfocusout + jq.focusout jq - focusout diff --git a/snippets/js/libraries/jquery/forms/jq-forms-focus.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-focus.sublime-snippet index b532c01..e3b5baa 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-focus.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-focus.sublime-snippet @@ -2,6 +2,6 @@ - jqfocus + jq.focus jq - focus diff --git a/snippets/js/libraries/jquery/forms/jq-forms-param.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-param.sublime-snippet index 6c32871..1b088a1 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-param.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-param.sublime-snippet @@ -2,6 +2,6 @@ - jqparam + jq.param jq - param diff --git a/snippets/js/libraries/jquery/forms/jq-forms-select.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-select.sublime-snippet index e0710c6..e9419a3 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-select.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-select.sublime-snippet @@ -2,6 +2,6 @@ - jqselect + jq.select jq - select diff --git a/snippets/js/libraries/jquery/forms/jq-forms-serialize-array.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-serialize-array.sublime-snippet index 2932db1..b7b5c38 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-serialize-array.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-serialize-array.sublime-snippet @@ -2,6 +2,6 @@ - jqserarray + jq.serarray jq - serializeArray diff --git a/snippets/js/libraries/jquery/forms/jq-forms-serialize.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-serialize.sublime-snippet index 11a255e..e80e3f6 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-serialize.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-serialize.sublime-snippet @@ -2,6 +2,6 @@ - jqser + jq.ser jq - serialize diff --git a/snippets/js/libraries/jquery/forms/jq-forms-submit.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-submit.sublime-snippet index fa8180a..8767db4 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-submit.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-submit.sublime-snippet @@ -2,6 +2,6 @@ - jqsubmit + jq.submit jq - submit diff --git a/snippets/js/libraries/jquery/forms/jq-forms-val.sublime-snippet b/snippets/js/libraries/jquery/forms/jq-forms-val.sublime-snippet index 4562cea..d3c0833 100644 --- a/snippets/js/libraries/jquery/forms/jq-forms-val.sublime-snippet +++ b/snippets/js/libraries/jquery/forms/jq-forms-val.sublime-snippet @@ -2,6 +2,6 @@ - jqval + jq.val jq - val diff --git a/snippets/js/libraries/jquery/internals/README.md b/snippets/js/libraries/jquery/internals/README.md index e75474a..7189d64 100644 --- a/snippets/js/libraries/jquery/internals/README.md +++ b/snippets/js/libraries/jquery/internals/README.md @@ -1,12 +1,12 @@ ## Internals -### [jqerror] error +### [jq.error] error ```javascript ${1:\$}.error(${2:message}); ``` -### [jqpstack] pushStack +### [jq.pstack] pushStack ```javascript ${1:\$([])}.pushStack(${2:elements}${3:,name}${4:,arguments}); diff --git a/snippets/js/libraries/jquery/internals/jq-internals-error.sublime-snippet b/snippets/js/libraries/jquery/internals/jq-internals-error.sublime-snippet index a1cfc73..576a155 100644 --- a/snippets/js/libraries/jquery/internals/jq-internals-error.sublime-snippet +++ b/snippets/js/libraries/jquery/internals/jq-internals-error.sublime-snippet @@ -2,6 +2,6 @@ - jqerror + jq.error jq - error diff --git a/snippets/js/libraries/jquery/internals/jq-internals-push-stack.sublime-snippet b/snippets/js/libraries/jquery/internals/jq-internals-push-stack.sublime-snippet index 3027e70..730ecd6 100644 --- a/snippets/js/libraries/jquery/internals/jq-internals-push-stack.sublime-snippet +++ b/snippets/js/libraries/jquery/internals/jq-internals-push-stack.sublime-snippet @@ -2,6 +2,6 @@ - jqpstack + jq.pstack jq - pushStack diff --git a/snippets/js/libraries/jquery/manipulation/README.md b/snippets/js/libraries/jquery/manipulation/README.md index 8e93985..33f3752 100644 --- a/snippets/js/libraries/jquery/manipulation/README.md +++ b/snippets/js/libraries/jquery/manipulation/README.md @@ -1,114 +1,114 @@ ## Manipulation -### [jqafter] after +### [jq.after] after ```javascript ${1:\$(this)}.after(${2:content}${3:,content}); ``` -### [jqappendto] appendTo +### [jq.appendto] appendTo ```javascript ${1:\$(this)}.appendTo(${2:content}${3:,content}); ``` -### [jqappend] append +### [jq.append] append ```javascript ${1:\$(this)}.append(${2:content}${3:,content}); ``` -### [jqbefore] before +### [jq.before] before ```javascript ${1:\$(this)}.before(${2:content}${3:,content}); ``` -### [jqclone] clone +### [jq.clone] clone ```javascript ${1:\$(this)}.clone(${2:withDataAndEvents}${3:,deepWithDataAndEvents}); ``` -### [jqdetach] detach +### [jq.detach] detach ```javascript ${1:\$(this)}.detach(${2:selector}); ``` -### [jqempty] empty +### [jq.empty] empty ```javascript ${1:\$(this)}.empty(); ``` -### [jqiafter] insertAfter +### [jq.iafter] insertAfter ```javascript ${1:\$(this)}.insertAfter(${2:target}); ``` -### [jqibefore] insertBefore +### [jq.ibefore] insertBefore ```javascript ${1:\$(this)}.insertBefore(${2:target}); ``` -### [jqprependto] prependTo +### [jq.prependto] prependTo ```javascript ${1:\$(this)}.prependTo(${2:target}); ``` -### [jqprepend] prepend +### [jq.prepend] prepend ```javascript ${1:\$(this)}.prepend(${2:content}${3:,content}); ``` -### [jqremove] remove +### [jq.remove] remove ```javascript ${1:\$(this)}.remove(${2:selector}); ``` -### [jqreplaceall] replaceAll +### [jq.replaceall] replaceAll ```javascript ${1:\$(this)}.replaceAll(${2:target}); ``` -### [jqreplacewith] replaceWith +### [jq.replacewith] replaceWith ```javascript ${1:\$(this)}.replaceWith(${2:newContent}); ``` -### [jqtext] text +### [jq.text] text ```javascript ${1:\$(this)}.text(); ``` -### [jqunwrap] unwrap +### [jq.unwrap] unwrap ```javascript ${1:\$(this)}.unwrap(); ``` -### [jqwall] wrapAll +### [jq.wall] wrapAll ```javascript ${1:\$(this)}.wrapAll(${2:wrappingElement}); ``` -### [jqwinner] wrapInner +### [jq.winner] wrapInner ```javascript ${1:\$(this)}.wrapInner(${2:wrappingElement}); ``` -### [jqwrap] wrap +### [jq.wrap] wrap ```javascript ${1:\$(this)}.wrap(${2:wrappingElement}); diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-after.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-after.sublime-snippet index 8733d77..268c04d 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-after.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-after.sublime-snippet @@ -2,6 +2,6 @@ - jqafter + jq.after jq - after diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-append-to.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-append-to.sublime-snippet index 7a27338..66e0d99 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-append-to.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-append-to.sublime-snippet @@ -2,6 +2,6 @@ - jqappendto + jq.appendto jq - appendTo diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-append.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-append.sublime-snippet index 5600b1c..73c42e7 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-append.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-append.sublime-snippet @@ -2,6 +2,6 @@ - jqappend + jq.append jq - append diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-before.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-before.sublime-snippet index c3d7895..63fb292 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-before.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-before.sublime-snippet @@ -2,6 +2,6 @@ - jqbefore + jq.before jq - before diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-clone.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-clone.sublime-snippet index a61fac1..ff7aaa6 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-clone.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-clone.sublime-snippet @@ -2,6 +2,6 @@ - jqclone + jq.clone jq - clone diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-detach.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-detach.sublime-snippet index dd35a26..61c1b0e 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-detach.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-detach.sublime-snippet @@ -2,6 +2,6 @@ - jqdetach + jq.detach jq - detach diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-empty.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-empty.sublime-snippet index 4d1460c..e4cca83 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-empty.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-empty.sublime-snippet @@ -2,6 +2,6 @@ - jqempty + jq.empty jq - empty diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-after.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-after.sublime-snippet index c2fd5c0..cb21bfd 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-after.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-after.sublime-snippet @@ -2,6 +2,6 @@ - jqiafter + jq.iafter jq - insertAfter diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-before.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-before.sublime-snippet index 7ee51d9..cb06942 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-before.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-insert-before.sublime-snippet @@ -2,6 +2,6 @@ - jqibefore + jq.ibefore jq - insertBefore diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend-to.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend-to.sublime-snippet index 70a44e0..0a7fa4d 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend-to.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend-to.sublime-snippet @@ -2,6 +2,6 @@ - jqprependto + jq.prependto jq - prependTo diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend.sublime-snippet index 87a3e08..566e367 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-prepend.sublime-snippet @@ -2,6 +2,6 @@ - jqprepend + jq.prepend jq - prepend diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-remove.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-remove.sublime-snippet index 2ea9d07..920b1a0 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-remove.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-remove.sublime-snippet @@ -2,6 +2,6 @@ - jqremove + jq.remove jq - remove diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-all.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-all.sublime-snippet index fa62f65..2e20b26 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-all.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-all.sublime-snippet @@ -2,6 +2,6 @@ - jqreplaceall + jq.replaceall jq - replaceAll diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-with.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-with.sublime-snippet index 8120b08..5143876 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-with.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-replace-with.sublime-snippet @@ -2,6 +2,6 @@ - jqreplacewith + jq.replacewith jq - replaceWith diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-text.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-text.sublime-snippet index e5eabff..4cf14a4 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-text.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-text.sublime-snippet @@ -2,6 +2,6 @@ - jqtext + jq.text jq - text diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-unwrap.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-unwrap.sublime-snippet index ea15d87..0dd185e 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-unwrap.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-unwrap.sublime-snippet @@ -2,6 +2,6 @@ - jqunwrap + jq.unwrap jq - unwrap diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet index 15a3a14..7bced98 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-all.sublime-snippet @@ -2,6 +2,6 @@ - jqwall + jq.wall jq - wrapAll diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-inner.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-inner.sublime-snippet index 4f25994..6381d31 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-inner.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap-inner.sublime-snippet @@ -2,6 +2,6 @@ - jqwinner + jq.winner jq - wrapInner diff --git a/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap.sublime-snippet b/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap.sublime-snippet index 651ab71..fcc083e 100644 --- a/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap.sublime-snippet +++ b/snippets/js/libraries/jquery/manipulation/jq-manipulation-wrap.sublime-snippet @@ -2,6 +2,6 @@ - jqwrap + jq.wrap jq - wrap diff --git a/snippets/js/libraries/jquery/miscellaneous/README.md b/snippets/js/libraries/jquery/miscellaneous/README.md index f063126..4b5cab9 100644 --- a/snippets/js/libraries/jquery/miscellaneous/README.md +++ b/snippets/js/libraries/jquery/miscellaneous/README.md @@ -1,18 +1,18 @@ ## Miscellaneous -### [jqget] get +### [jq.get] get ```javascript ${1:\$(this)}.get(${2:index}); ``` -### [jqindex] index +### [jq.index] index ```javascript ${1:\$(this)}.index(${2:selector}); ``` -### [jqtoarray] toArray +### [jq.toarray] toArray ```javascript ${1:\$(this)}.toArray(); diff --git a/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet b/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet index 147170c..861f936 100644 --- a/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet +++ b/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-get.sublime-snippet @@ -2,6 +2,6 @@ - jqget + jq.get jq - get diff --git a/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet b/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet index 045ef5a..b3a7c1c 100644 --- a/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet +++ b/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-index.sublime-snippet @@ -2,6 +2,6 @@ - jqindex + jq.index jq - index diff --git a/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-to-array.sublime-snippet b/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-to-array.sublime-snippet index c28553e..fdfa039 100644 --- a/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-to-array.sublime-snippet +++ b/snippets/js/libraries/jquery/miscellaneous/jq-miscellaneous-to-array.sublime-snippet @@ -2,6 +2,6 @@ - jqtoarray + jq.toarray jq - toArray diff --git a/snippets/js/libraries/jquery/offset/README.md b/snippets/js/libraries/jquery/offset/README.md index fe6f767..ce9c853 100644 --- a/snippets/js/libraries/jquery/offset/README.md +++ b/snippets/js/libraries/jquery/offset/README.md @@ -1,30 +1,30 @@ ## Offset -### [jqoparent] offsetParent +### [jq.oparent] offsetParent ```javascript ${1:\$(this)}.offsetParent(); ``` -### [jqpos] position +### [jq.pos] position ```javascript ${1:\$(this)}.position(); ``` -### [jqscleft] scrollLeft +### [jq.scleft] scrollLeft ```javascript ${1:\$(this)}.scrollLeft(); ``` -### [jqsctop] scrollTop +### [jq.sctop] scrollTop ```javascript ${1:\$(this)}.scrollTop(); ``` -### [jqoset] offset +### [jq.oset] offset ```javascript ${1:\$(this)}.offset(); diff --git a/snippets/js/libraries/jquery/offset/jq-offset-parent.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset-parent.sublime-snippet index eadbc5d..74c2623 100644 --- a/snippets/js/libraries/jquery/offset/jq-offset-parent.sublime-snippet +++ b/snippets/js/libraries/jquery/offset/jq-offset-parent.sublime-snippet @@ -2,6 +2,6 @@ - jqoparent + jq.oparent jq - offsetParent diff --git a/snippets/js/libraries/jquery/offset/jq-offset-position.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset-position.sublime-snippet index 7695144..06528f8 100644 --- a/snippets/js/libraries/jquery/offset/jq-offset-position.sublime-snippet +++ b/snippets/js/libraries/jquery/offset/jq-offset-position.sublime-snippet @@ -2,6 +2,6 @@ - jqpos + jq.pos jq - position diff --git a/snippets/js/libraries/jquery/offset/jq-offset-scroll-left.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset-scroll-left.sublime-snippet index e16038d..f88575f 100644 --- a/snippets/js/libraries/jquery/offset/jq-offset-scroll-left.sublime-snippet +++ b/snippets/js/libraries/jquery/offset/jq-offset-scroll-left.sublime-snippet @@ -2,6 +2,6 @@ - jqscleft + jq.scleft jq - scrollLeft diff --git a/snippets/js/libraries/jquery/offset/jq-offset-scroll-top.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset-scroll-top.sublime-snippet index 244dc94..732afa6 100644 --- a/snippets/js/libraries/jquery/offset/jq-offset-scroll-top.sublime-snippet +++ b/snippets/js/libraries/jquery/offset/jq-offset-scroll-top.sublime-snippet @@ -2,6 +2,6 @@ - jqsctop + jq.sctop jq - scrollTop diff --git a/snippets/js/libraries/jquery/offset/jq-offset.sublime-snippet b/snippets/js/libraries/jquery/offset/jq-offset.sublime-snippet index f94f0a3..8d0dcb3 100644 --- a/snippets/js/libraries/jquery/offset/jq-offset.sublime-snippet +++ b/snippets/js/libraries/jquery/offset/jq-offset.sublime-snippet @@ -2,6 +2,6 @@ - jqoset + jq.oset jq - offset diff --git a/snippets/js/libraries/jquery/properties/README.md b/snippets/js/libraries/jquery/properties/README.md index f0423d8..73e4091 100644 --- a/snippets/js/libraries/jquery/properties/README.md +++ b/snippets/js/libraries/jquery/properties/README.md @@ -1,24 +1,24 @@ ## Properties -### [jqfxi] fx.interval +### [jq.fxi] fx.interval ```javascript ${1:\$}.fx.interval = ${2:500}; ``` -### [jqfxo] fx.off +### [jq.fxo] fx.off ```javascript ${1:\$}.fx.off = ${2:true}; ``` -### [jqjprop] jquery +### [jq.jprop] jquery ```javascript ${1:\$.fn}.jquery; ``` -### [jqlen] length +### [jq.len] length ```javascript ${1:\$([])}.length; diff --git a/snippets/js/libraries/jquery/properties/jq-properties-fx-interval.sublime-snippet b/snippets/js/libraries/jquery/properties/jq-properties-fx-interval.sublime-snippet index 214d608..674d1f7 100644 --- a/snippets/js/libraries/jquery/properties/jq-properties-fx-interval.sublime-snippet +++ b/snippets/js/libraries/jquery/properties/jq-properties-fx-interval.sublime-snippet @@ -2,6 +2,6 @@ - jqfxi + jq.fxi jq - fx.interval diff --git a/snippets/js/libraries/jquery/properties/jq-properties-fx-off.sublime-snippet b/snippets/js/libraries/jquery/properties/jq-properties-fx-off.sublime-snippet index f18bac7..8b93bdd 100644 --- a/snippets/js/libraries/jquery/properties/jq-properties-fx-off.sublime-snippet +++ b/snippets/js/libraries/jquery/properties/jq-properties-fx-off.sublime-snippet @@ -2,6 +2,6 @@ - jqfxo + jq.fxo jq - fx.off diff --git a/snippets/js/libraries/jquery/properties/jq-properties-jquery.sublime-snippet b/snippets/js/libraries/jquery/properties/jq-properties-jquery.sublime-snippet index 5590efc..b241a1a 100644 --- a/snippets/js/libraries/jquery/properties/jq-properties-jquery.sublime-snippet +++ b/snippets/js/libraries/jquery/properties/jq-properties-jquery.sublime-snippet @@ -2,6 +2,6 @@ - jqjprop + jq.jprop jq - jquery diff --git a/snippets/js/libraries/jquery/properties/jq-properties-length.sublime-snippet b/snippets/js/libraries/jquery/properties/jq-properties-length.sublime-snippet index e2c0d00..9e824de 100644 --- a/snippets/js/libraries/jquery/properties/jq-properties-length.sublime-snippet +++ b/snippets/js/libraries/jquery/properties/jq-properties-length.sublime-snippet @@ -2,6 +2,6 @@ - jqlen + jq.len jq - length diff --git a/snippets/js/libraries/jquery/selectors/README.md b/snippets/js/libraries/jquery/selectors/README.md index 197a845..efe275f 100644 --- a/snippets/js/libraries/jquery/selectors/README.md +++ b/snippets/js/libraries/jquery/selectors/README.md @@ -1,378 +1,378 @@ ## Selectors -### [jqall] all +### [jq.all] all ```javascript ${1:\$}("*"); ``` -### [jq:a] :animated +### [jq.:a] :animated ```javascript ${1:\$}("${2}:animated"); ``` -### [jq[]|] Attribute Contains Prefix +### [jq.[]|] Attribute Contains Prefix ```javascript ${1:\$}("${2}[${3:attribute}|='${4:value}']"); ``` -### [jq[]*] Attribute Contains +### [jq.[]*] Attribute Contains ```javascript ${1:\$}("${2}[${3:attribute}*='${4:value}']"); ``` -### [jq[]~] Attribute Contains Word +### [jq.[]~] Attribute Contains Word ```javascript ${1:\$}("${2}[${3:attribute}~='${4:value}']"); ``` -### [jq[]$] Attribute Ends With +### [jq.[]$] Attribute Ends With ```javascript ${1:\$}("${2}[${3:attribute}$='${4:value}']"); ``` -### [jq[]=] Attribute Equals +### [jq.[]=] Attribute Equals ```javascript ${1:\$}("${2}[${3:attribute}='${4:value}']"); ``` -### [jq[]!] Attribute Not Equal +### [jq.[]!] Attribute Not Equal ```javascript ${1:\$}("${2}[${3:attribute}!='${4:value}']"); ``` -### [jq[]^] Attribute Starts With +### [jq.[]^] Attribute Starts With ```javascript ${1:\$}("${2}[${3:attribute}^='${4:value}']"); ``` -### [jq:b] button +### [jq.:b] button ```javascript ${1:\$}(":button"); ``` -### [jq:c] checkbox +### [jq.:c] checkbox ```javascript ${1:\$}("${2}:checkbox"); ``` -### [jq:ch] checked +### [jq.:ch] checked ```javascript ${1:\$}("${2}:checked"); ``` -### [jq:chi] child +### [jq.:chi] child ```javascript ${1:\$}("${2:parent} > ${3:child}"); ``` -### [jq:cl] class +### [jq.:cl] class ```javascript ${1:\$}(".${2:class}"); ``` -### [jq:co] contains +### [jq.:co] contains ```javascript ${1:\$}("${2}:contains('${3:text}')"); ``` -### [jqdes] descendant +### [jq.des] descendant ```javascript ${1:\$}("${2:ancestor} ${3:descendant}"); ``` -### [jq:d] disabled +### [jq.:d] disabled ```javascript ${1:\$}("${2}:disabled"); ``` -### [jq$] element +### [jq.$] element ```javascript ${1:\$}("${2}"); ``` -### [jq:e] empty +### [jq.:e] empty ```javascript ${1:\$}("${2}:empty"); ``` -### [jq:en] enabled +### [jq.:en] enabled ```javascript ${1:\$}("${2}:enabled"); ``` -### [jq:eq] eq +### [jq.:eq] eq ```javascript ${1:\$}("${2}:eq(${3:indexFromEnd})"); ``` -### [jq:ev] even +### [jq.:ev] even ```javascript ${1:\$}("${2}:even"); ``` -### [jq:f] :file +### [jq.:f] :file ```javascript ${1:\$}("${2}:file"); ``` -### [jq:fc] :first-child +### [jq.:fc] :first-child ```javascript ${1:\$}("${2}:first-child"); ``` -### [jq:ft] :first-of-type +### [jq.:ft] :first-of-type ```javascript ${1:\$}("${2}:first-of-type"); ``` -### [jq:fi] :first +### [jq.:fi] :first ```javascript ${1:\$}("${2}:first"); ``` -### [jq:fo] :focus +### [jq.:fo] :focus ```javascript ${1:\$}("${2}:focus"); ``` -### [jq:gt] :gt +### [jq.:gt] :gt ```javascript ${1:\$}("${2}:gt(${3:indexFromEnd})"); ``` -### [jq[]] Has Attribute +### [jq.[]] Has Attribute ```javascript ${1:\$}("${2}[${3:attribute}]"); ``` -### [jq:h] :has +### [jq.:h] :has ```javascript ${1:\$}("${2}:has(${3:selector})"); ``` -### [jq:he] :header +### [jq.:he] :header ```javascript ${1:\$}(":header"); ``` -### [jq:hi] :hidden +### [jq.:hi] :hidden ```javascript ${1:\$}("${2}:hidden"); ``` -### [jqid] id +### [jq.id] id ```javascript ${1:\$}("#${2}"); ``` -### [jq:i] :image +### [jq.:i] :image ```javascript ${1:\$}("${2}:image"); ``` -### [jq:in] :input +### [jq.:in] :input ```javascript ${1:\$}("${2}:input"); ``` -### [jq:l] :lang +### [jq.:l] :lang ```javascript ${1:\$}("${2}:lang(${3:language})"); ``` -### [jq:lc] :last-child +### [jq.:lc] :last-child ```javascript ${1:\$}("${2}:last-child"); ``` -### [jq:lty] :last-of-type +### [jq.:lty] :last-of-type ```javascript ${1:\$}("${2}:last-of-type"); ``` -### [jq:la] :last +### [jq.:la] :last ```javascript ${1:\$}("${2}:last"); ``` -### [jq:lt] :lt +### [jq.:lt] :lt ```javascript ${1:\$}("${2}:lt(${3:indexFromEnd})"); ``` -### [jq[][]] Multiple Attribute +### [jq.[][]] Multiple Attribute ```javascript ${1:\$}("${2}[${3}][${4}]"); ``` -### [jq,] Multiple +### [jq.,] Multiple ```javascript ${1:\$}("${2:selector1}, ${3:selector2}, ${3:selectorN}"); ``` -### [jq+] Next Adjacent +### [jq.+] Next Adjacent ```javascript ${1:\$}("${2:prev} + ${3:next}"); ``` -### [jq~] Next Siblings +### [jq.~] Next Siblings ```javascript ${1:\$}("${2:prev} ~ ${3:siblings}"); ``` -### [jq:not] not +### [jq.:not] not ```javascript ${1:\$}("${2}:not(${3:selector})"); ``` -### [jq:nc] :nth-child +### [jq.:nc] :nth-child ```javascript ${1:\$}("${2}:nth-child(${3:index})"); ``` -### [jq:nlc] :nth-last-child +### [jq.:nlc] :nth-last-child ```javascript ${1:\$}("${2}:nth-last-child(${3:index})"); ``` -### [jq:nlt] :nth-last-of-type +### [jq.:nlt] :nth-last-of-type ```javascript ${1:\$}("${2}:nth-last-of-type(${3:index})"); ``` -### [jq:nt] :nth-of-type +### [jq.:nt] :nth-of-type ```javascript ${1:\$}("${2}:nth-of-type(${3:index})"); ``` -### [jq:o] :odd +### [jq.:o] :odd ```javascript ${1:\$}("${2}:odd(${3:index})"); ``` -### [jq:oc] :only-child +### [jq.:oc] :only-child ```javascript ${1:\$}("${2}:only-child"); ``` -### [jq:ot] :only-of-type +### [jq.:ot] :only-of-type ```javascript ${1:\$}("${2}:only-of-type"); ``` -### [jq:p] :parent +### [jq.:p] :parent ```javascript ${1:\$}("${2}:parent"); ``` -### [jq:pa] :password +### [jq.:pa] :password ```javascript ${1:\$}("${2}:password"); ``` -### [jq:r] :radio +### [jq.:r] :radio ```javascript ${1:\$}("${2}:radio"); ``` -### [jq:re] :reset +### [jq.:re] :reset ```javascript ${1:\$}("${2}:reset"); ``` -### [jq:ro] :root +### [jq.:ro] :root ```javascript ${1:\$}("${2}:root"); ``` -### [jq:s] :selected +### [jq.:s] :selected ```javascript ${1:\$}("${2}:selected"); ``` -### [jq:su] :submit +### [jq.:su] :submit ```javascript ${1:\$}("${2}:submit"); ``` -### [jq:t] :target +### [jq.:t] :target ```javascript ${1:\$}("${2}:target"); ``` -### [jq:tx] :text +### [jq.:tx] :text ```javascript ${1:\$}("${2}:text"); ``` -### [jq:v] :visible +### [jq.:v] :visible ```javascript ${1:\$}("${2}:visible"); ``` -### [jq] animate +### [jq.] animate ```javascript diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-all.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-all.sublime-snippet index 351ec92..63d784f 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-all.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-all.sublime-snippet @@ -2,6 +2,6 @@ - jqall + jq.all jq - all diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-animated.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-animated.sublime-snippet index 7e9d9f3..719f7c1 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-animated.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-animated.sublime-snippet @@ -2,6 +2,6 @@ - jq:a + jq.:a jq - :animated diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-prefix-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-prefix-selector.sublime-snippet index 9d16586..0f376fc 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-prefix-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-prefix-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq[]| + jq.[]| jq - Attribute Contains Prefix diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-selector.sublime-snippet index cd000f2..8697595 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq[]* + jq.[]* jq - Attribute Contains diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-word-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-word-selector.sublime-snippet index d123304..a772b78 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-word-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-contains-word-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq[]~ + jq.[]~ jq - Attribute Contains Word diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-ends-with-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-ends-with-selector.sublime-snippet index beb74c1..28f6f8c 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-ends-with-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-ends-with-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq[]$ + jq.[]$ jq - Attribute Ends With diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-equals-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-equals-selector.sublime-snippet index d922e12..ced4897 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-equals-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-equals-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq[]= + jq.[]= jq - Attribute Equals diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-not-equal-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-not-equal-selector.sublime-snippet index d8d2005..86b6932 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-not-equal-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-not-equal-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq[]! + jq.[]! jq - Attribute Not Equal diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-starts-with-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-starts-with-selector.sublime-snippet index 094077f..482e51a 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-starts-with-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-attribute-starts-with-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq[]^ + jq.[]^ jq - Attribute Starts With diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-button.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-button.sublime-snippet index 54db6fb..cc734a8 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-button.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-button.sublime-snippet @@ -2,6 +2,6 @@ - jq:b + jq.:b jq - :button diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-checkbox.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-checkbox.sublime-snippet index e28a109..a51f22f 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-checkbox.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-checkbox.sublime-snippet @@ -2,6 +2,6 @@ - jq:c + jq.:c jq - :checkbox diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-checked.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-checked.sublime-snippet index ee3a6d6..e0c638c 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-checked.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-checked.sublime-snippet @@ -2,6 +2,6 @@ - jq:ch + jq.:ch jq - :checked diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-child.sublime-snippet index a7fbd5b..f91c93d 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-child.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-child.sublime-snippet @@ -2,6 +2,6 @@ ${3:child}"); ]]> - jq:chi + jq.:chi jq - :child diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-class.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-class.sublime-snippet index 67e88c0..78ccaa3 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-class.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-class.sublime-snippet @@ -2,6 +2,6 @@ - jq:cl + jq.:cl jq - class diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-contains.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-contains.sublime-snippet index ea9fff3..95393aa 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-contains.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-contains.sublime-snippet @@ -2,6 +2,6 @@ - jq:co + jq.:co jq - :contains diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-descendant.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-descendant.sublime-snippet index ffab53b..7f1c8c9 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-descendant.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-descendant.sublime-snippet @@ -2,6 +2,6 @@ - jqdes + jq.des jq - descendant diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-disabled.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-disabled.sublime-snippet index 2d76902..ead5d39 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-disabled.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-disabled.sublime-snippet @@ -2,6 +2,6 @@ - jq:d + jq.:d jq - :disabled diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-element.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-element.sublime-snippet index bc70ea3..9a80c4b 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-element.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-element.sublime-snippet @@ -2,6 +2,6 @@ - jq$ + jq.$ jq - element diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-empty.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-empty.sublime-snippet index c84e667..5bc20dc 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-empty.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-empty.sublime-snippet @@ -2,6 +2,6 @@ - jq:e + jq.:e jq - :empty diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-enabled.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-enabled.sublime-snippet index b4ef927..d2339ad 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-enabled.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-enabled.sublime-snippet @@ -2,6 +2,6 @@ - jq:en + jq.:en jq - :enabled diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-eq.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-eq.sublime-snippet index 83cabea..61b8199 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-eq.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-eq.sublime-snippet @@ -2,6 +2,6 @@ - jq:eq + jq.:eq jq - :eq diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-even.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-even.sublime-snippet index 383994d..7837a0c 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-even.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-even.sublime-snippet @@ -2,6 +2,6 @@ - jq:ev + jq.:ev jq - :even diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-file.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-file.sublime-snippet index f63505d..78fabb0 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-file.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-file.sublime-snippet @@ -2,6 +2,6 @@ - jq:f + jq.:f jq - :file diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-first-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-first-child.sublime-snippet index 1c6724c..85c52a9 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-first-child.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-first-child.sublime-snippet @@ -2,6 +2,6 @@ - jq:fc + jq.:fc jq - :first-child diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-first-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-first-of-type.sublime-snippet index 792d8df..9f86f13 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-first-of-type.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-first-of-type.sublime-snippet @@ -2,6 +2,6 @@ - jq:ft + jq.:ft jq - :first-of-type diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-first.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-first.sublime-snippet index 55ab854..896cc24 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-first.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-first.sublime-snippet @@ -2,6 +2,6 @@ - jq:fi + jq.:fi jq - :first diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-focus.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-focus.sublime-snippet index ff543d9..d3f196e 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-focus.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-focus.sublime-snippet @@ -2,6 +2,6 @@ - jq:fo + jq.:fo jq - :focus diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-gt.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-gt.sublime-snippet index 4fee5c1..aaac9cf 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-gt.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-gt.sublime-snippet @@ -2,6 +2,6 @@ - jq:gt + jq.:gt jq - :gt diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-has-attribute-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-has-attribute-selector.sublime-snippet index 13267a6..a5fb0fa 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-has-attribute-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-has-attribute-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq[] + jq.[] jq - Has Attribute diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-has.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-has.sublime-snippet index 943eee2..cf950ae 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-has.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-has.sublime-snippet @@ -2,6 +2,6 @@ - jq:h + jq.:h jq - :has diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-header.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-header.sublime-snippet index b380d9b..51e1fce 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-header.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-header.sublime-snippet @@ -2,6 +2,6 @@ - jq:he + jq.:he jq - :header diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-hidden.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-hidden.sublime-snippet index 189bc50..27bf1c4 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-hidden.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-hidden.sublime-snippet @@ -2,6 +2,6 @@ - jq:hi + jq.:hi jq - :hidden diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-id.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-id.sublime-snippet index b065555..639fa7b 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-id.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-id.sublime-snippet @@ -2,6 +2,6 @@ - jqid + jq.id jq - id diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-image.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-image.sublime-snippet index 26007f0..b07b6fc 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-image.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-image.sublime-snippet @@ -2,6 +2,6 @@ - jq:i + jq.:i jq - :image diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-input.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-input.sublime-snippet index e4e0629..be13b34 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-input.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-input.sublime-snippet @@ -2,6 +2,6 @@ - jq:in + jq.:in jq - :input diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-lang.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-lang.sublime-snippet index 6e293a8..ec6c91a 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-lang.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-lang.sublime-snippet @@ -2,6 +2,6 @@ - jq:l + jq.:l jq - :lang diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-last-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-last-child.sublime-snippet index fe6eb8f..747592d 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-last-child.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-last-child.sublime-snippet @@ -2,6 +2,6 @@ - jq:lc + jq.:lc jq - :last-child diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-last-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-last-of-type.sublime-snippet index fe836b9..67a3de1 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-last-of-type.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-last-of-type.sublime-snippet @@ -2,6 +2,6 @@ - jq:lty + jq.:lty jq - :last-of-type diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-last.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-last.sublime-snippet index 81f714b..55b4362 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-last.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-last.sublime-snippet @@ -2,6 +2,6 @@ - jq:la + jq.:la jq - :last diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-lt.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-lt.sublime-snippet index 69352f0..0d46fea 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-lt.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-lt.sublime-snippet @@ -2,6 +2,6 @@ - jq:lt + jq.:lt jq - :lt diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-attribute-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-attribute-selector.sublime-snippet index 13b1f03..8ce525b 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-attribute-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-attribute-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq[][] + jq.[][] jq - Multiple Attribute diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-selector.sublime-snippet index 8147348..3c1dd8b 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-multiple-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq, + jq., jq - Multiple diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-next-adjacent-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-next-adjacent-selector.sublime-snippet index 29d4456..4644479 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-next-adjacent-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-next-adjacent-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq+ + jq.+ jq - Next Adjacent diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet index 3fb6bde..207df00 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq-snss + jq.-snss jq - Next Siblings diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-not.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-not.sublime-snippet index 09cbef6..d309a7d 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-not.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-not.sublime-snippet @@ -2,6 +2,6 @@ - jq:not + jq.:not jq - :not diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-nth-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-child.sublime-snippet index d0277cd..d9a8365 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-nth-child.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-child.sublime-snippet @@ -2,6 +2,6 @@ - jq:nc + jq.:nc jq - :nth-child diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-child.sublime-snippet index ab2550c..8db3ffb 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-child.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-child.sublime-snippet @@ -2,6 +2,6 @@ - jq:nlc + jq.:nlc jq - :nth-last-child diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-of-type.sublime-snippet index 8dc7767..911a1f6 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-of-type.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-last-of-type.sublime-snippet @@ -2,6 +2,6 @@ - jq:nlt + jq.:nlt jq - :nth-last-of-type diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-nth-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-of-type.sublime-snippet index b5c21ef..b73b90a 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-nth-of-type.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-nth-of-type.sublime-snippet @@ -2,6 +2,6 @@ - jq:nt + jq.:nt jq - :nth-of-type diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-odd.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-odd.sublime-snippet index 1e7893e..0579f7d 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-odd.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-odd.sublime-snippet @@ -2,6 +2,6 @@ - jq:o + jq.:o jq - :odd diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-only-child.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-only-child.sublime-snippet index fec6865..9f4098e 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-only-child.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-only-child.sublime-snippet @@ -2,6 +2,6 @@ - jq:oc + jq.:oc jq - :only-child diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-only-of-type.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-only-of-type.sublime-snippet index de5fa6d..7a44f9a 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-only-of-type.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-only-of-type.sublime-snippet @@ -2,6 +2,6 @@ - jq:ot + jq.:ot jq - :only-of-type diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-parent.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-parent.sublime-snippet index 4c6dabb..b87bb82 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-parent.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-parent.sublime-snippet @@ -2,6 +2,6 @@ - jq:p + jq.:p jq - :parent diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-password.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-password.sublime-snippet index 40b5c67..0638597 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-password.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-password.sublime-snippet @@ -2,6 +2,6 @@ - jq:pa + jq.:pa jq - :password diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-radio.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-radio.sublime-snippet index 954797b..dc78044 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-radio.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-radio.sublime-snippet @@ -2,6 +2,6 @@ - jq:r + jq.:r jq - :radio diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-reset.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-reset.sublime-snippet index c4cc565..5c5739d 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-reset.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-reset.sublime-snippet @@ -2,6 +2,6 @@ - jq:re + jq.:re jq - :reset diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-root.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-root.sublime-snippet index a8d5e19..8546f16 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-root.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-root.sublime-snippet @@ -2,6 +2,6 @@ - jq:ro + jq.:ro jq - :root diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-selected.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-selected.sublime-snippet index e074dc2..001f652 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-selected.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-selected.sublime-snippet @@ -2,6 +2,6 @@ - jq:s + jq.:s jq - :selected diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-submit.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-submit.sublime-snippet index 7b2b66e..423c342 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-submit.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-submit.sublime-snippet @@ -2,6 +2,6 @@ - jq:su + jq.:su jq - :submit diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-target.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-target.sublime-snippet index c930908..26ea13d 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-target.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-target.sublime-snippet @@ -2,6 +2,6 @@ - jq:t + jq.:t jq - :target diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-text.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-text.sublime-snippet index 5e9fcbb..2c85544 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-text.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-text.sublime-snippet @@ -2,6 +2,6 @@ - jq:tx + jq.:tx jq - :text diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-visible.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-visible.sublime-snippet index 55cc82a..1d1eff5 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-visible.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-visible.sublime-snippet @@ -2,6 +2,6 @@ - jq:v + jq.:v jq - :visible diff --git a/snippets/js/libraries/jquery/traversing/README.md b/snippets/js/libraries/jquery/traversing/README.md index f99b5e3..ca1a2f9 100644 --- a/snippets/js/libraries/jquery/traversing/README.md +++ b/snippets/js/libraries/jquery/traversing/README.md @@ -1,162 +1,162 @@ ## Traversing -### [jqaddback] addBack +### [jq.addback] addBack ```javascript ${1:\$(this)}.addBack(${2:selector}); ``` -### [jqadd] add +### [jq.add] add ```javascript ${1:\$(this)}.add(${2:selector}${3:, context}); ``` -### [jqchildren] children +### [jq.children] children ```javascript ${1:\$(this)}.children(${2:selector}); ``` -### [jqclosest] closest +### [jq.closest] closest ```javascript ${1:\$(this)}.closest(${2:selector}${3:, context}); ``` -### [jqcontents] contents +### [jq.contents] contents ```javascript ${1:\$(this)}.contents(); ``` -### [jqeach] each +### [jq.each] each ```javascript ${1:\$(this)}.each(${2:function}); ``` -### [jqend] end +### [jq.end] end ```javascript ${1:\$(this)}.end(); ``` -### [jqeq] eq +### [jq.eq] eq ```javascript ${1:\$(this)}.eq(${2:indexFromEnd}); ``` -### [jqfilter] filter +### [jq.filter] filter ```javascript ${1:\$(this)}.filter(${2:elements}); ``` -### [jqfind] find +### [jq.find] find ```javascript ${1:\$(this)}.find(${2:element}); ``` -### [jqfirst] first +### [jq.first] first ```javascript ${1:\$(this)}.first(); ``` -### [jqhas] has +### [jq.has] has ```javascript ${1:\$(this)}.has(${2:selector}); ``` -### [jqis] is +### [jq.is] is ```javascript ${1:\$(this)}.is(${2:selector}); ``` -### [jqlast] last +### [jq.last] last ```javascript ${1:\$(this)}.last(); ``` -### [jqmap] map +### [jq.map] map ```javascript ${1:\$(this)}.map(${2:callback}); ``` -### [jqnextall] nextAll +### [jq.nextall] nextAll ```javascript ${1:\$(this)}.nextAll(${2:selector}); ``` -### [jqnextuntil] nextUntil +### [jq.nextuntil] nextUntil ```javascript ${1:\$(this)}.nextUntil(${2:element}${3:, filter}); ``` -### [jqnext] next +### [jq.next] next ```javascript ${1:\$(this)}.next(${2:selector}); ``` -### [jqnot] not +### [jq.not] not ```javascript ${1:\$(this)}.not(${2:selection}); ``` -### [jqparent] parent +### [jq.parent] parent ```javascript ${1:\$(this)}.parent(${2:selector}); ``` -### [jqpuntil] parentsUntil +### [jq.puntil] parentsUntil ```javascript ${1:\$(this)}.parentsUntil(${2:selector}${3:, selector}); ``` -### [jqparents] parents +### [jq.parents] parents ```javascript ${1:\$(this)}.parents(${2:selector}); ``` -### [jqprevall] prevAll +### [jq.prevall] prevAll ```javascript ${1:\$(this)}.prevAll(${2:selector}); ``` -### [jqprevuntil] prevUntil +### [jq.prevuntil] prevUntil ```javascript ${1:\$(this)}.prevUntil(${2:selector}${3:, filter}); ``` -### [jqprev] prev +### [jq.prev] prev ```javascript ${1:\$(this)}.prev(${2:selector}); ``` -### [jqsiblings] siblings +### [jq.siblings] siblings ```javascript ${1:\$(this)}.siblings(${2:selector}); ``` -### [jqslice] slice +### [jq.slice] slice ```javascript ${1:\$(this)}.slice(${2:start}${3:, end}); diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-add-back.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-add-back.sublime-snippet index b66b95a..07873da 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-add-back.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-add-back.sublime-snippet @@ -2,6 +2,6 @@ - jqaddback + jq.addback jq - addBack diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-add.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-add.sublime-snippet index 0166b9a..91a8d8d 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-add.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-add.sublime-snippet @@ -2,6 +2,6 @@ - jqadd + jq.add jq - add diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-children.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-children.sublime-snippet index 218498d..2f5ae9f 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-children.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-children.sublime-snippet @@ -2,6 +2,6 @@ - jqchildren + jq.children jq - children diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-closest.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-closest.sublime-snippet index 6ef5e8f..92f3879 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-closest.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-closest.sublime-snippet @@ -2,6 +2,6 @@ - jqclosest + jq.closest jq - closest diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-contents.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-contents.sublime-snippet index 47358ea..2107582 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-contents.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-contents.sublime-snippet @@ -2,6 +2,6 @@ - jqcontents + jq.contents jq - contents diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-each.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-each.sublime-snippet index cf3c593..4d75beb 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-each.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-each.sublime-snippet @@ -2,6 +2,6 @@ - jqeach + jq.each jq - each diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-end.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-end.sublime-snippet index bd41dae..b568d4e 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-end.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-end.sublime-snippet @@ -2,6 +2,6 @@ - jqend + jq.end jq - end diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-eq.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-eq.sublime-snippet index 173b5ca..9390d58 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-eq.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-eq.sublime-snippet @@ -2,6 +2,6 @@ - jqeq + jq.eq jq - eq diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-filter.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-filter.sublime-snippet index 70113ef..44944e8 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-filter.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-filter.sublime-snippet @@ -2,6 +2,6 @@ - jqfilter + jq.filter jq - filter diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-find.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-find.sublime-snippet index 477756e..687894a 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-find.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-find.sublime-snippet @@ -2,6 +2,6 @@ - jqfind + jq.find jq - find diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-first.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-first.sublime-snippet index 7eb0f0e..7f274d4 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-first.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-first.sublime-snippet @@ -2,6 +2,6 @@ - jqfirst + jq.first jq - first diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-has.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-has.sublime-snippet index d17970e..ec0193d 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-has.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-has.sublime-snippet @@ -2,6 +2,6 @@ - jqhas + jq.has jq - has diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-is.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-is.sublime-snippet index 546a8fd..4947aa3 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-is.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-is.sublime-snippet @@ -2,6 +2,6 @@ - jqis + jq.is jq - is diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-last.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-last.sublime-snippet index d825845..b6f1548 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-last.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-last.sublime-snippet @@ -2,6 +2,6 @@ - jqlast + jq.last jq - last diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-map.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-map.sublime-snippet index 9996ba7..aa11989 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-map.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-map.sublime-snippet @@ -2,6 +2,6 @@ - jqmap + jq.map jq - map diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-next-all.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-next-all.sublime-snippet index 893884a..deb2d08 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-next-all.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-next-all.sublime-snippet @@ -2,6 +2,6 @@ - jqnextall + jq.nextall jq - nextAll diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-next-until.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-next-until.sublime-snippet index b51dbc9..a38fdbd 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-next-until.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-next-until.sublime-snippet @@ -2,6 +2,6 @@ - jqnextuntil + jq.nextuntil jq - nextUntil diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-next.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-next.sublime-snippet index 907476a..84d9fd7 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-next.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-next.sublime-snippet @@ -2,6 +2,6 @@ - jqnext + jq.next jq - next diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-not.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-not.sublime-snippet index cafc008..cbed8d6 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-not.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-not.sublime-snippet @@ -2,6 +2,6 @@ - jqnot + jq.not jq - not diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-parent.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-parent.sublime-snippet index f487320..750a1e4 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-parent.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-parent.sublime-snippet @@ -2,6 +2,6 @@ - jqparent + jq.parent jq - parent diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-parents-until.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-parents-until.sublime-snippet index 3f26e00..1a7c6ac 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-parents-until.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-parents-until.sublime-snippet @@ -2,6 +2,6 @@ - jqpuntil + jq.puntil jq - parentsUntil diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-parents.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-parents.sublime-snippet index 43ceaec..2705909 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-parents.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-parents.sublime-snippet @@ -2,6 +2,6 @@ - jqparents + jq.parents jq - parents diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-prev-all.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-prev-all.sublime-snippet index 694efb7..62be706 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-prev-all.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-prev-all.sublime-snippet @@ -2,6 +2,6 @@ - jqprevall + jq.prevall jq - prevAll diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-prev-until.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-prev-until.sublime-snippet index 5d60091..5f7d489 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-prev-until.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-prev-until.sublime-snippet @@ -2,6 +2,6 @@ - jqprevuntil + jq.prevuntil jq - prevUntil diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-prev.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-prev.sublime-snippet index 32e6d0c..b28f18b 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-prev.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-prev.sublime-snippet @@ -2,6 +2,6 @@ - jqprev + jq.prev jq - prev diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet index 2a5fee3..9fce593 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet @@ -2,6 +2,6 @@ - jq-ts + jq.-ts jq - siblings diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet index b2cf87a..8aa2bf6 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet @@ -2,6 +2,6 @@ - jq-tsl + jq.-tsl jq - slice diff --git a/snippets/js/libraries/jquery/utilities/README.md b/snippets/js/libraries/jquery/utilities/README.md index 2cca5fe..8573233 100644 --- a/snippets/js/libraries/jquery/utilities/README.md +++ b/snippets/js/libraries/jquery/utilities/README.md @@ -1,108 +1,108 @@ ## Utilities -### [jqcontains] contains +### [jq.contains] contains ```javascript ${1:\$}.contains(${2:container}${3:, contained}); ``` -### [jqjeach] jQuery each +### [jq.jeach] jQuery each ```javascript ${1:\$}.each(${2:array}${3:, callback}); ``` -### [jqextend] extend +### [jq.extend] extend ```javascript ${1:\$}.extend(${2:deep}${3:, target}${4:, object1}${5:, objectN}); ``` -### [jqfnextend] fn.extend +### [jq.fnextend] fn.extend ```javascript ${1:\$}.fn.extend(${2:object}); ``` -### [jqgeval] globalEval +### [jq.geval] globalEval ```javascript ${1:\$}.globalEval(${2:code}); ``` -### [jqgrep] grep +### [jq.grep] grep ```javascript ${1:\$}.grep(${2:array}${3:, function}${4:, invert}); ``` -### [jqinarray] inArray +### [jq.inarray] inArray ```javascript ${1:\$}.inArray(${2:value}${3:, array}${4:, fromIndex}); ``` -### [jqieobject] isEmptyObject +### [jq.ieobject] isEmptyObject ```javascript ${1:\$}.isEmptyObject(${2:object}); ``` -### [jqifunction] isFunction +### [jq.ifunction] isFunction ```javascript ${1:\$}.isFunction(${2:object}); ``` -### [jqinumeric] isNumeric +### [jq.inumeric] isNumeric ```javascript ${1:\$}.isNumeric(${2:value}); ``` -### [jqipobject] isPlainObject +### [jq.ipobject] isPlainObject ```javascript ${1:\$}.isPlainObject(${2:object}); ``` -### [jqiwindow] isWindow +### [jq.iwindow] isWindow ```javascript ${1:\$}.isWindow(${2:object}); ``` -### [jqixmldoc] isXMLDoc +### [jq.ixmldoc] isXMLDoc ```javascript ${1:\$}.isXMLDoc(${2:node}); ``` -### [jqmarray] makeArray +### [jq.marray] makeArray ```javascript ${1:\$}.makeArray(${2:obj}); ``` -### [jqjmap] jQuery map +### [jq.jmap] jQuery map ```javascript ${1:\$}.map(${2:object}${3:, callback}); ``` -### [jqmerge] merge +### [jq.merge] merge ```javascript ${1:\$}.merge(${2:first}${3:, second}); ``` -### [jqnoop] noop +### [jq.noop] noop ```javascript ${1:\$}.noop(); ``` -### [jqnow] now +### [jq.now] now ```javascript ${1:\$}.now(); @@ -126,25 +126,25 @@ ${1:\$}.parseJSON(${2:json}); ${1:\$}.parseXML(${2:data}); ``` -### [jqproxy] proxy +### [jq.proxy] proxy ```javascript ${1:\$}.proxy(${2:context}${3:, name}${4:, additionalArguments}); ``` -### [jqtrim] trim +### [jq.trim] trim ```javascript ${1:\$}.trim(${2:str}); ``` -### [jqjtype] jQuery type +### [jq.jtype] jQuery type ```javascript ${1:\$}.type(${2:obj}); ``` -### [jqunique] unique +### [jq.unique] unique ```javascript ${1:\$}.unique(${2:array}); diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-contains.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-contains.sublime-snippet index 1e0e1c0..74c9bd1 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-contains.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-contains.sublime-snippet @@ -2,6 +2,6 @@ - jqcontains + jq.contains jq - contains diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-each.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-each.sublime-snippet index 3b00b43..1e5e593 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-each.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-each.sublime-snippet @@ -2,6 +2,6 @@ - jqjeach + jq.jeach jq - jQuery each diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-extend.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-extend.sublime-snippet index 5d200fa..33d3d3f 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-extend.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-extend.sublime-snippet @@ -2,6 +2,6 @@ - jqextend + jq.extend jq - extend diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-fn-extend.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-fn-extend.sublime-snippet index 8bc2f12..7f722ec 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-fn-extend.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-fn-extend.sublime-snippet @@ -2,6 +2,6 @@ - jqfnextend + jq.fnextend jq - fn.extend diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-global-eval.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-global-eval.sublime-snippet index 5efa790..957cdb5 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-global-eval.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-global-eval.sublime-snippet @@ -2,6 +2,6 @@ - jqgeval + jq.geval jq - globalEval diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-grep.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-grep.sublime-snippet index f805e73..662560c 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-grep.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-grep.sublime-snippet @@ -2,6 +2,6 @@ - jqgrep + jq.grep jq - grep diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-in-array.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-in-array.sublime-snippet index fe585dd..4e02860 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-in-array.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-in-array.sublime-snippet @@ -2,6 +2,6 @@ - jqinarray + jq.inarray jq - inArray diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-is-empty-object.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-empty-object.sublime-snippet index 2916399..bed7c01 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-is-empty-object.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-is-empty-object.sublime-snippet @@ -2,6 +2,6 @@ - jqieobject + jq.ieobject jq - isEmptyObject diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-is-function.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-function.sublime-snippet index b3330cf..6e67307 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-is-function.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-is-function.sublime-snippet @@ -2,6 +2,6 @@ - jqifunction + jq.ifunction jq - isFunction diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-is-numeric.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-numeric.sublime-snippet index 743e308..a858bde 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-is-numeric.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-is-numeric.sublime-snippet @@ -2,6 +2,6 @@ - jqinumeric + jq.inumeric jq - isNumeric diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-is-plain-object.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-plain-object.sublime-snippet index 508d5d1..a6cfe75 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-is-plain-object.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-is-plain-object.sublime-snippet @@ -2,6 +2,6 @@ - jqipobject + jq.ipobject jq - isPlainObject diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-is-window.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-window.sublime-snippet index 2fc923b..b9f584f 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-is-window.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-is-window.sublime-snippet @@ -2,6 +2,6 @@ - jqiwindow + jq.iwindow jq - isWindow diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet index 38a6473..183f744 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-is-xml-doc.sublime-snippet @@ -2,6 +2,6 @@ - jqixmldoc + jq.ixmldoc jq - isXMLDoc diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-make-array.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-make-array.sublime-snippet index 0f400a6..74ebbd9 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-make-array.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-make-array.sublime-snippet @@ -2,6 +2,6 @@ - jqmarray + jq.marray jq - makeArray diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-map.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-map.sublime-snippet index 992842a..3d3e0a7 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-map.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-map.sublime-snippet @@ -2,6 +2,6 @@ - jqjmap + jq.jmap jq - jQuery map diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-merge.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-merge.sublime-snippet index b0c3d0e..cba017f 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-merge.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-merge.sublime-snippet @@ -2,6 +2,6 @@ - jqmerge + jq.merge jq - merge diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-noop.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-noop.sublime-snippet index c422baa..c76481c 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-noop.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-noop.sublime-snippet @@ -2,6 +2,6 @@ - jqnoop + jq.noop jq - noop diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-now.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-now.sublime-snippet index 041254d..48cd8b6 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-now.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-now.sublime-snippet @@ -2,6 +2,6 @@ - jqnow + jq.now jq - now diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-proxy.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-proxy.sublime-snippet index 79b3deb..e0ae47f 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-proxy.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-proxy.sublime-snippet @@ -2,6 +2,6 @@ - jqproxy + jq.proxy jq - proxy diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-trim.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-trim.sublime-snippet index 9949e92..e33ba11 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-trim.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-trim.sublime-snippet @@ -2,6 +2,6 @@ - jqtrim + jq.trim jq - trim diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-type.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-type.sublime-snippet index 4f38bca..da1bc19 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-type.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-type.sublime-snippet @@ -2,6 +2,6 @@ - jqjtype + jq.jtype jq - jQuery type diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-unique.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-unique.sublime-snippet index a1ce97d..5c5d640 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-unique.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-unique.sublime-snippet @@ -2,6 +2,6 @@ - jqunique + jq.unique jq - unique diff --git a/snippets/js/libraries/jquery/zothers/README.md b/snippets/js/libraries/jquery/zothers/README.md index f9e44bc..da39de0 100644 --- a/snippets/js/libraries/jquery/zothers/README.md +++ b/snippets/js/libraries/jquery/zothers/README.md @@ -1,6 +1,6 @@ ## Others -### [jqb] jQuery Boilerplate +### [jq.b] jQuery Boilerplate ```javascript /** diff --git a/snippets/js/libraries/jquery/zothers/jq-boilerplate.sublime-snippet b/snippets/js/libraries/jquery/zothers/jq-boilerplate.sublime-snippet index 5002079..10c549a 100644 --- a/snippets/js/libraries/jquery/zothers/jq-boilerplate.sublime-snippet +++ b/snippets/js/libraries/jquery/zothers/jq-boilerplate.sublime-snippet @@ -69,6 +69,6 @@ ${5:// the semi-colon before function invocation is a safety net against concate })( jQuery, window, document ); ]]> - jqb + jq.b jq - jQuery Boilerplate diff --git a/snippets/schema/README.md b/snippets/schema/README.md new file mode 100644 index 0000000..920bf9f --- /dev/null +++ b/snippets/schema/README.md @@ -0,0 +1,7 @@ +# Schema.org + +- [JSON-LD](json-ld/) +- [Microdata](microdata/) + - Action + - Organization +- [RDFa](rdfa/) diff --git a/snippets/schema/json-ld/README.md b/snippets/schema/json-ld/README.md new file mode 100644 index 0000000..61f529c --- /dev/null +++ b/snippets/schema/json-ld/README.md @@ -0,0 +1,11 @@ +# JSON-LD Snippets + +Prefix `sj.*` + +## Organization + +### [sj.org] Organization + +```html + +``` diff --git a/snippets/schema/microdata/README.md b/snippets/schema/microdata/README.md index bc83a96..fb31aa7 100644 --- a/snippets/schema/microdata/README.md +++ b/snippets/schema/microdata/README.md @@ -1,10 +1,10 @@ # Microdata Snippets -Prefix `m*` +Prefix `sm.*` ## Organization -### [morg] http://schema.org/Organization +### [sm.org] http://schema.org/Organization ```html itemscope="itemscope" itemtype="http://schema.org/Organization" @@ -12,7 +12,7 @@ itemscope="itemscope" itemtype="http://schema.org/Organization" ## Action -### [maction] http://schema.org/Action +### [sm.action] http://schema.org/Action ```html itemscope="itemscope" itemtype="http://schema.org/Action" diff --git a/snippets/schema/microdata/microdata-action.sublime-snippet b/snippets/schema/microdata/microdata-action.sublime-snippet index c55922a..21433ee 100644 --- a/snippets/schema/microdata/microdata-action.sublime-snippet +++ b/snippets/schema/microdata/microdata-action.sublime-snippet @@ -2,6 +2,6 @@ - maction - m - Action + sm.action + sm - Action diff --git a/snippets/schema/microdata/microdata-organization.sublime-snippet b/snippets/schema/microdata/microdata-organization.sublime-snippet index be835f9..3e76237 100644 --- a/snippets/schema/microdata/microdata-organization.sublime-snippet +++ b/snippets/schema/microdata/microdata-organization.sublime-snippet @@ -2,6 +2,6 @@ - morg - m - Organization + sm.org + sm - Organization diff --git a/snippets/schema/rdfa/README.md b/snippets/schema/rdfa/README.md new file mode 100644 index 0000000..8963b42 --- /dev/null +++ b/snippets/schema/rdfa/README.md @@ -0,0 +1,11 @@ +# RDFa Snippets + +Prefix `sr.*` + +## Organization + +### [sr.org] Organization + +```html + +``` diff --git a/snippets/structured-data/json-ld/README.md b/snippets/structured-data/json-ld/README.md index 4f38cf6..be2c9a1 100644 --- a/snippets/structured-data/json-ld/README.md +++ b/snippets/structured-data/json-ld/README.md @@ -1,6 +1,6 @@ # JSON-LD -key: `zjsonld` +key: `z.jsonld` ### Logotype diff --git a/snippets/structured-data/json-ld/structured-data-json-ld-logotype.sublime-snippet b/snippets/structured-data/json-ld/structured-data-json-ld-logotype.sublime-snippet index 7432bc1..12ecf78 100644 --- a/snippets/structured-data/json-ld/structured-data-json-ld-logotype.sublime-snippet +++ b/snippets/structured-data/json-ld/structured-data-json-ld-logotype.sublime-snippet @@ -9,6 +9,6 @@ } ]]> - zjsonld - Logotype + z.jsonld + jsonld - Logotype diff --git a/snippets/structured-data/microdata/README.md b/snippets/structured-data/microdata/README.md index c655836..08c023f 100644 --- a/snippets/structured-data/microdata/README.md +++ b/snippets/structured-data/microdata/README.md @@ -1,6 +1,6 @@ # Schema (microdata) -key: `zmicrodata` +key: `z.microdata` ### Organization diff --git a/snippets/structured-data/microdata/creative-work/structured-data-microdata-article.sublime-snippet b/snippets/structured-data/microdata/creative-work/structured-data-microdata-article.sublime-snippet index bde0160..dc462a0 100644 --- a/snippets/structured-data/microdata/creative-work/structured-data-microdata-article.sublime-snippet +++ b/snippets/structured-data/microdata/creative-work/structured-data-microdata-article.sublime-snippet @@ -17,6 +17,6 @@ ]]> - zmicrodata - Article + z.microdata + microdata - Article diff --git a/snippets/structured-data/microdata/creative-work/structured-data-microdata-book.sublime-snippet b/snippets/structured-data/microdata/creative-work/structured-data-microdata-book.sublime-snippet index 417aa5d..af7a860 100644 --- a/snippets/structured-data/microdata/creative-work/structured-data-microdata-book.sublime-snippet +++ b/snippets/structured-data/microdata/creative-work/structured-data-microdata-book.sublime-snippet @@ -26,6 +26,6 @@ ]]> - zmicrodata - Book + z.microdata + microdata - Book diff --git a/snippets/structured-data/microdata/creative-work/structured-data-microdata-game.sublime-snippet b/snippets/structured-data/microdata/creative-work/structured-data-microdata-game.sublime-snippet index a724733..04f9fec 100644 --- a/snippets/structured-data/microdata/creative-work/structured-data-microdata-game.sublime-snippet +++ b/snippets/structured-data/microdata/creative-work/structured-data-microdata-game.sublime-snippet @@ -14,6 +14,6 @@ 3 to 5 players .

Ages 8 and up.

Monopoly and all related characters are trademarks of Hasbro. ]]> - zmicrodata - Game + z.microdata + microdata - Game diff --git a/snippets/structured-data/microdata/creative-work/structured-data-microdata-webpage.sublime-snippet b/snippets/structured-data/microdata/creative-work/structured-data-microdata-webpage.sublime-snippet index 46fe008..82a4593 100644 --- a/snippets/structured-data/microdata/creative-work/structured-data-microdata-webpage.sublime-snippet +++ b/snippets/structured-data/microdata/creative-work/structured-data-microdata-webpage.sublime-snippet @@ -48,6 +48,6 @@ Reviews: ... ]]> - zmicrodata - WebPage + z.microdata + microdata - WebPage diff --git a/snippets/structured-data/microdata/structured-data-microdata-organization.sublime-snippet b/snippets/structured-data/microdata/structured-data-microdata-organization.sublime-snippet index 1a09153..c8fdf05 100644 --- a/snippets/structured-data/microdata/structured-data-microdata-organization.sublime-snippet +++ b/snippets/structured-data/microdata/structured-data-microdata-organization.sublime-snippet @@ -26,6 +26,6 @@ List of Alumni: History: ]]> - zmicrodata - Organization + z.microdata + microdata - Organization diff --git a/snippets/structured-data/rdfa/README.md b/snippets/structured-data/rdfa/README.md index 11cd7d9..907925c 100644 --- a/snippets/structured-data/rdfa/README.md +++ b/snippets/structured-data/rdfa/README.md @@ -1,6 +1,6 @@ # RDFa -key: `zrdfa` +key: `z.rdfa` ### Breadcrumb diff --git a/snippets/structured-data/rdfa/structured-data-rfda-breadcrumb.sublime-snippet b/snippets/structured-data/rdfa/structured-data-rfda-breadcrumb.sublime-snippet index 61f6548..33ac668 100644 --- a/snippets/structured-data/rdfa/structured-data-rfda-breadcrumb.sublime-snippet +++ b/snippets/structured-data/rdfa/structured-data-rfda-breadcrumb.sublime-snippet @@ -18,6 +18,6 @@ ]]> - zrdfa - Breadcrumb + z.rdfa + rdfa - Breadcrumb From 90f164a91c8dd8f1d181e3f376afffbc721c8cf8 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 17:49:33 -0200 Subject: [PATCH 041/114] fix: js parse snippets --- snippets.json | 822 +++++++++--------- .../js/libraries/jquery/utilities/README.md | 6 +- .../jq-utilities-parse-html.sublime-snippet | 2 +- .../jq-utilities-parse-json.sublime-snippet | 2 +- .../jq-utilities-parse-xml.sublime-snippet | 2 +- 5 files changed, 417 insertions(+), 417 deletions(-) diff --git a/snippets.json b/snippets.json index 87112df..e0158b4 100644 --- a/snippets.json +++ b/snippets.json @@ -72,42 +72,42 @@ { "description": "c - @font-face structure", "id": 15, - "trigger": "cff" + "trigger": "c.ff" }, { "description": "c - Keyframes", "id": 16, - "trigger": "ck" + "trigger": "c.k" }, { "description": "c - Media Querie", "id": 17, - "trigger": "cmq" + "trigger": "c.mq" }, { "description": "e - Google Analytics", "id": 18, - "trigger": "ega" + "trigger": "e.ga" }, { "description": "e - Google Tag Manager", "id": 19, - "trigger": "egtm" + "trigger": "e.gtm" }, { "description": "h - Basic HTML document", "id": 20, - "trigger": "hb" + "trigger": "h.b" }, { "description": "h - HTML document", "id": 21, - "trigger": "hdoc" + "trigger": "h.doc" }, { "description": "h - Head tags", "id": 22, - "trigger": "hhtags" + "trigger": "h.htags" }, { "description": "hm - HTML with SiteNavigationElement", @@ -122,1412 +122,1412 @@ { "description": "jq - ajax", "id": 25, - "trigger": "jqa" + "trigger": "jq.a" }, { "description": "jq - ajaxComplete", "id": 26, - "trigger": "jqacomplete" + "trigger": "jq.acomplete" }, { "description": "jq - ajaxError", "id": 27, - "trigger": "jqaerror" + "trigger": "jq.aerror" }, { "description": "jq - getJSON", "id": 28, - "trigger": "jqgjson" + "trigger": "jq.gjson" }, { "description": "jq - getScript", "id": 29, - "trigger": "jqgscript" + "trigger": "jq.gscript" }, { "description": "jq - jQuery get", "id": 30, - "trigger": "jqjget" + "trigger": "jq.jget" }, { "description": "jq - load", "id": 31, - "trigger": "jqload" + "trigger": "jq.load" }, { "description": "jq - post", "id": 32, - "trigger": "jqpost" + "trigger": "jq.post" }, { "description": "jq - ajaxPrefilter", "id": 33, - "trigger": "jqaprefilter" + "trigger": "jq.aprefilter" }, { "description": "jq - ajaxSend", "id": 34, - "trigger": "jqasend" + "trigger": "jq.asend" }, { "description": "jq - ajaxSetup", "id": 35, - "trigger": "jqasetup" + "trigger": "jq.asetup" }, { "description": "jq - ajaxStart", "id": 36, - "trigger": "jqastart" + "trigger": "jq.astart" }, { "description": "jq - ajaxStop", "id": 37, - "trigger": "jqastop" + "trigger": "jq.astop" }, { "description": "jq - ajaxSuccess", "id": 38, - "trigger": "jqasuccess" + "trigger": "jq.asuccess" }, { "description": "jq - ajaxTransport", "id": 39, - "trigger": "jqatransport" + "trigger": "jq.atransport" }, { "description": "jq - addClass", "id": 40, - "trigger": "jqaddclass" + "trigger": "jq.addclass" }, { "description": "jq - attr", "id": 41, - "trigger": "jqattr" + "trigger": "jq.attr" }, { "description": "jq - hasClass", "id": 42, - "trigger": "jqhasclass" + "trigger": "jq.hasclass" }, { "description": "jq - html", "id": 43, - "trigger": "jqhtml" + "trigger": "jq.html" }, { "description": "jq - prop", "id": 44, - "trigger": "jqprop" + "trigger": "jq.prop" }, { "description": "jq - removeAttr", "id": 45, - "trigger": "jqrattr" + "trigger": "jq.rattr" }, { "description": "jq - removeClass", "id": 46, - "trigger": "jqrclass" + "trigger": "jq.rclass" }, { "description": "jq - removeProp", "id": 47, - "trigger": "jqrprop" + "trigger": "jq.rprop" }, { "description": "jq - toggleClass", "id": 48, - "trigger": "jqtclass" + "trigger": "jq.tclass" }, { "description": "jq - add", "id": 49, - "trigger": "jqcbadd" + "trigger": "jq.cbadd" }, { "description": "jq - disable", "id": 50, - "trigger": "jqcbdisable" + "trigger": "jq.cbdisable" }, { "description": "jq - disabled", "id": 51, - "trigger": "jqcbdisabled" + "trigger": "jq.cbdisabled" }, { "description": "jq - empty", "id": 52, - "trigger": "jqcbempty" + "trigger": "jq.cbempty" }, { "description": "jq - fireWith", "id": 53, - "trigger": "jqcbfirewith" + "trigger": "jq.cbfirewith" }, { "description": "jq - fire", "id": 54, - "trigger": "jqcbfire" + "trigger": "jq.cbfire" }, { "description": "jq - fired", "id": 55, - "trigger": "jqcbfired" + "trigger": "jq.cbfired" }, { "description": "jq - has", "id": 56, - "trigger": "jqcbhas" + "trigger": "jq.cbhas" }, { "description": "jq - lock", "id": 57, - "trigger": "jqcblock" + "trigger": "jq.cblock" }, { "description": "jq - locked", "id": 58, - "trigger": "jqcblocked" + "trigger": "jq.cblocked" }, { "description": "jq - remove", "id": 59, - "trigger": "jqcbremove" + "trigger": "jq.cbremove" }, { "description": "jq - callbacks", "id": 60, - "trigger": "jqcb" + "trigger": "jq.cb" }, { "description": "jq - holdReady", "id": 61, - "trigger": "jqholdready" + "trigger": "jq.holdready" }, { "description": "jq - jQuery", "id": 62, - "trigger": "jqjq" + "trigger": "jq.jq" }, { "description": "jq - noConflict", "id": 63, - "trigger": "jqnoc" + "trigger": "jq.noc" }, { "description": "jq - when", "id": 64, - "trigger": "jqwhen" + "trigger": "jq.when" }, { "description": "jq - cssHooks", "id": 65, - "trigger": "jqcssh" + "trigger": "jq.cssh" }, { "description": "jq - cssNumber", "id": 66, - "trigger": "jqcssn" + "trigger": "jq.cssn" }, { "description": "jq - css", "id": 67, - "trigger": "jqcss" + "trigger": "jq.css" }, { "description": "jq - hasData", "id": 68, - "trigger": "jqhasdata" + "trigger": "jq.hasdata" }, { "description": "jq - jQuery data", "id": 69, - "trigger": "jqjdata" + "trigger": "jq.jdata" }, { "description": "jq - jQuery removeData", "id": 70, - "trigger": "jqjrdata" + "trigger": "jq.jrdata" }, { "description": "jq - removeData", "id": 71, - "trigger": "jqrdata" + "trigger": "jq.rdata" }, { "description": "jq - data", "id": 72, - "trigger": "jqdata" + "trigger": "jq.data" }, { "description": "jq - always", "id": 73, - "trigger": "jqalways" + "trigger": "jq.always" }, { "description": "jq - done", "id": 74, - "trigger": "jqdone" + "trigger": "jq.done" }, { "description": "jq - fail", "id": 75, - "trigger": "jqfail" + "trigger": "jq.fail" }, { "description": "jq - notifyWith", "id": 76, - "trigger": "jqnotifywith" + "trigger": "jq.notifywith" }, { "description": "jq - notify", "id": 77, - "trigger": "jqnotify" + "trigger": "jq.notify" }, { "description": "jq - progress", "id": 78, - "trigger": "jqprogress" + "trigger": "jq.progress" }, { "description": "jq - promise", "id": 79, - "trigger": "jqdpromise" + "trigger": "jq.dpromise" }, { "description": "jq - rejectWith", "id": 80, - "trigger": "jqrejectwith" + "trigger": "jq.rejectwith" }, { "description": "jq - reject", "id": 81, - "trigger": "jqreject" + "trigger": "jq.reject" }, { "description": "jq - resolveWith", "id": 82, - "trigger": "jqresolvewith" + "trigger": "jq.resolvewith" }, { "description": "jq - resolve", "id": 83, - "trigger": "jqresolve" + "trigger": "jq.resolve" }, { "description": "jq - state", "id": 84, - "trigger": "jqstate" + "trigger": "jq.state" }, { "description": "jq - then", "id": 85, - "trigger": "jqthen" + "trigger": "jq.then" }, { "description": "jq - deferred", "id": 86, - "trigger": "jqd" + "trigger": "jq.d" }, { "description": "jq - promise", "id": 87, - "trigger": "jqpromise" + "trigger": "jq.promise" }, { "description": "jq - height", "id": 88, - "trigger": "jqheight" + "trigger": "jq.height" }, { "description": "jq - innerHeight", "id": 89, - "trigger": "jqiheight" + "trigger": "jq.iheight" }, { "description": "jq - innerWidth", "id": 90, - "trigger": "jqiwidth" + "trigger": "jq.iwidth" }, { "description": "jq - outerHeight", "id": 91, - "trigger": "jqoheight" + "trigger": "jq.oheight" }, { "description": "jq - outerWidth", "id": 92, - "trigger": "jqowidth" + "trigger": "jq.owidth" }, { "description": "jq - width", "id": 93, - "trigger": "jqwidth" + "trigger": "jq.width" }, { "description": "jq - animate", "id": 94, - "trigger": "jqanimate" + "trigger": "jq.animate" }, { "description": "jq - clearQueue", "id": 95, - "trigger": "jqcqueue" + "trigger": "jq.cqueue" }, { "description": "jq - delay", "id": 96, - "trigger": "jqdelay" + "trigger": "jq.delay" }, { "description": "jq - dequeue", "id": 97, - "trigger": "jqdequeue" + "trigger": "jq.dequeue" }, { "description": "jq - fadeIn", "id": 98, - "trigger": "jqfadein" + "trigger": "jq.fadein" }, { "description": "jq - fadeOut", "id": 99, - "trigger": "jqfadeout" + "trigger": "jq.fadeout" }, { "description": "jq - fadeToggle", "id": 100, - "trigger": "jqfadetoggle" + "trigger": "jq.fadetoggle" }, { "description": "jq - fadeTo", "id": 101, - "trigger": "jqfadeto" + "trigger": "jq.fadeto" }, { "description": "jq - finish", "id": 102, - "trigger": "jqfinish" + "trigger": "jq.finish" }, { "description": "jq - hide", "id": 103, - "trigger": "jqhide" + "trigger": "jq.hide" }, { "description": "jq - queue", "id": 104, - "trigger": "jqqueue" + "trigger": "jq.queue" }, { "description": "jq - show", "id": 105, - "trigger": "jqshow" + "trigger": "jq.show" }, { "description": "jq - slideDown", "id": 106, - "trigger": "jqsdown" + "trigger": "jq.sdown" }, { "description": "jq - slideToggle", "id": 107, - "trigger": "jqstoggle" + "trigger": "jq.stoggle" }, { "description": "jq - slideUp", "id": 108, - "trigger": "jqsup" + "trigger": "jq.sup" }, { "description": "jq - stop", "id": 109, - "trigger": "jqstop" + "trigger": "jq.stop" }, { "description": "jq - toggle", "id": 110, - "trigger": "jqtoggle" + "trigger": "jq.toggle" }, { "description": "jq - bind", "id": 111, - "trigger": "jqbind" + "trigger": "jq.bind" }, { "description": "jq - click", "id": 112, - "trigger": "jqclick" + "trigger": "jq.click" }, { "description": "jq - contextmenu", "id": 113, - "trigger": "jqjqcmenu" + "trigger": "jq.jqcmenu" }, { "description": "jq - currentTarget", "id": 114, - "trigger": "jqctarget" + "trigger": "jq.ctarget" }, { "description": "jq - Event data", "id": 115, - "trigger": "jqedata" + "trigger": "jq.edata" }, { "description": "jq - dblclick", "id": 116, - "trigger": "jqdclick" + "trigger": "jq.dclick" }, { "description": "jq - delegateTarget", "id": 117, - "trigger": "jqdtarget" + "trigger": "jq.dtarget" }, { "description": "jq - delegate", "id": 118, - "trigger": "jqdelegate" + "trigger": "jq.delegate" }, { "description": "jq - hover", "id": 119, - "trigger": "jqhover" + "trigger": "jq.hover" }, { "description": "jq - isDefaultPrevented", "id": 120, - "trigger": "jqidprevented" + "trigger": "jq.idprevented" }, { "description": "jq - isImmediatePropagationStopped", "id": 121, - "trigger": "jqiips" + "trigger": "jq.iips" }, { "description": "jq - isPropagationStopped", "id": 122, - "trigger": "jqips" + "trigger": "jq.ips" }, { "description": "jq - keydown", "id": 123, - "trigger": "jqkdown" + "trigger": "jq.kdown" }, { "description": "jq - keypress", "id": 124, - "trigger": "jqkpress" + "trigger": "jq.kpress" }, { "description": "jq - keyup", "id": 125, - "trigger": "jqkup" + "trigger": "jq.kup" }, { "description": "jq - metaKey", "id": 126, - "trigger": "jqmkey" + "trigger": "jq.mkey" }, { "description": "jq - mousedown", "id": 127, - "trigger": "jqmdown" + "trigger": "jq.mdown" }, { "description": "jq - mouseenter", "id": 128, - "trigger": "jqmenter" + "trigger": "jq.menter" }, { "description": "jq - mouseleave", "id": 129, - "trigger": "jqmleave" + "trigger": "jq.mleave" }, { "description": "jq - mousemove", "id": 130, - "trigger": "jqmmove" + "trigger": "jq.mmove" }, { "description": "jq - mouseout", "id": 131, - "trigger": "jqmout" + "trigger": "jq.mout" }, { "description": "jq - mouseover", "id": 132, - "trigger": "jqmover" + "trigger": "jq.mover" }, { "description": "jq - mouseup", "id": 133, - "trigger": "jqmup" + "trigger": "jq.mup" }, { "description": "jq - namespace", "id": 134, - "trigger": "jqns" + "trigger": "jq.ns" }, { "description": "jq - off", "id": 135, - "trigger": "jqoff" + "trigger": "jq.off" }, { "description": "jq - on", "id": 136, - "trigger": "jqon" + "trigger": "jq.on" }, { "description": "jq - one", "id": 137, - "trigger": "jqone" + "trigger": "jq.one" }, { "description": "jq - pageX", "id": 138, - "trigger": "jqpx" + "trigger": "jq.px" }, { "description": "jq - pageY", "id": 139, - "trigger": "jqpy" + "trigger": "jq.py" }, { "description": "jq - preventDefault", "id": 140, - "trigger": "jqpd" + "trigger": "jq.pd" }, { "description": "jq - ready", "id": 141, - "trigger": "jqready" + "trigger": "jq.ready" }, { "description": "jq - relatedTarget", "id": 142, - "trigger": "jqrtarget" + "trigger": "jq.rtarget" }, { "description": "jq - resize", "id": 143, - "trigger": "jqresize" + "trigger": "jq.resize" }, { "description": "jq - result", "id": 144, - "trigger": "jqresult" + "trigger": "jq.result" }, { "description": "jq - scroll", "id": 145, - "trigger": "jqscroll" + "trigger": "jq.scroll" }, { "description": "jq - stopImmediatePropagation", "id": 146, - "trigger": "jqsip" + "trigger": "jq.sip" }, { "description": "jq - stopPropagation", "id": 147, - "trigger": "jqsp" + "trigger": "jq.sp" }, { "description": "jq - target", "id": 148, - "trigger": "jqtarget" + "trigger": "jq.target" }, { "description": "jq - timeStamp", "id": 149, - "trigger": "jqtstamp" + "trigger": "jq.tstamp" }, { "description": "jq - triggerHandler", "id": 150, - "trigger": "jqthandler" + "trigger": "jq.thandler" }, { "description": "jq - trigger", "id": 151, - "trigger": "jqtrigger" + "trigger": "jq.trigger" }, { "description": "jq - type", "id": 152, - "trigger": "jqtype" + "trigger": "jq.type" }, { "description": "jq - unbind", "id": 153, - "trigger": "jqunbind" + "trigger": "jq.unbind" }, { "description": "jq - undelegate", "id": 154, - "trigger": "jqundelegate" + "trigger": "jq.undelegate" }, { "description": "jq - which", "id": 155, - "trigger": "jqwhich" + "trigger": "jq.which" }, { "description": "jq - blur", "id": 156, - "trigger": "jqblur" + "trigger": "jq.blur" }, { "description": "jq - change", "id": 157, - "trigger": "jqchange" + "trigger": "jq.change" }, { "description": "jq - focusin", "id": 158, - "trigger": "jqfocusin" + "trigger": "jq.focusin" }, { "description": "jq - focusout", "id": 159, - "trigger": "jqfocusout" + "trigger": "jq.focusout" }, { "description": "jq - focus", "id": 160, - "trigger": "jqfocus" + "trigger": "jq.focus" }, { "description": "jq - param", "id": 161, - "trigger": "jqparam" + "trigger": "jq.param" }, { "description": "jq - select", "id": 162, - "trigger": "jqselect" + "trigger": "jq.select" }, { "description": "jq - serializeArray", "id": 163, - "trigger": "jqserarray" + "trigger": "jq.serarray" }, { "description": "jq - serialize", "id": 164, - "trigger": "jqser" + "trigger": "jq.ser" }, { "description": "jq - submit", "id": 165, - "trigger": "jqsubmit" + "trigger": "jq.submit" }, { "description": "jq - val", "id": 166, - "trigger": "jqval" + "trigger": "jq.val" }, { "description": "jq - error", "id": 167, - "trigger": "jqerror" + "trigger": "jq.error" }, { "description": "jq - pushStack", "id": 168, - "trigger": "jqpstack" + "trigger": "jq.pstack" }, { "description": "jq - after", "id": 169, - "trigger": "jqafter" + "trigger": "jq.after" }, { "description": "jq - appendTo", "id": 170, - "trigger": "jqappendto" + "trigger": "jq.appendto" }, { "description": "jq - append", "id": 171, - "trigger": "jqappend" + "trigger": "jq.append" }, { "description": "jq - before", "id": 172, - "trigger": "jqbefore" + "trigger": "jq.before" }, { "description": "jq - clone", "id": 173, - "trigger": "jqclone" + "trigger": "jq.clone" }, { "description": "jq - detach", "id": 174, - "trigger": "jqdetach" + "trigger": "jq.detach" }, { "description": "jq - empty", "id": 175, - "trigger": "jqempty" + "trigger": "jq.empty" }, { "description": "jq - insertAfter", "id": 176, - "trigger": "jqiafter" + "trigger": "jq.iafter" }, { "description": "jq - insertBefore", "id": 177, - "trigger": "jqibefore" + "trigger": "jq.ibefore" }, { "description": "jq - prependTo", "id": 178, - "trigger": "jqprependto" + "trigger": "jq.prependto" }, { "description": "jq - prepend", "id": 179, - "trigger": "jqprepend" + "trigger": "jq.prepend" }, { "description": "jq - remove", "id": 180, - "trigger": "jqremove" + "trigger": "jq.remove" }, { "description": "jq - replaceAll", "id": 181, - "trigger": "jqreplaceall" + "trigger": "jq.replaceall" }, { "description": "jq - replaceWith", "id": 182, - "trigger": "jqreplacewith" + "trigger": "jq.replacewith" }, { "description": "jq - text", "id": 183, - "trigger": "jqtext" + "trigger": "jq.text" }, { "description": "jq - unwrap", "id": 184, - "trigger": "jqunwrap" + "trigger": "jq.unwrap" }, { "description": "jq - wrapAll", "id": 185, - "trigger": "jqwall" + "trigger": "jq.wall" }, { "description": "jq - wrapInner", "id": 186, - "trigger": "jqwinner" + "trigger": "jq.winner" }, { "description": "jq - wrap", "id": 187, - "trigger": "jqwrap" + "trigger": "jq.wrap" }, { "description": "jq - get", "id": 188, - "trigger": "jqget" + "trigger": "jq.get" }, { "description": "jq - index", "id": 189, - "trigger": "jqindex" + "trigger": "jq.index" }, { "description": "jq - toArray", "id": 190, - "trigger": "jqtoarray" + "trigger": "jq.toarray" }, { "description": "jq - offsetParent", "id": 191, - "trigger": "jqoparent" + "trigger": "jq.oparent" }, { "description": "jq - position", "id": 192, - "trigger": "jqpos" + "trigger": "jq.pos" }, { "description": "jq - scrollLeft", "id": 193, - "trigger": "jqscleft" + "trigger": "jq.scleft" }, { "description": "jq - scrollTop", "id": 194, - "trigger": "jqsctop" + "trigger": "jq.sctop" }, { "description": "jq - offset", "id": 195, - "trigger": "jqoset" + "trigger": "jq.oset" }, { "description": "jq - fx.interval", "id": 196, - "trigger": "jqfxi" + "trigger": "jq.fxi" }, { "description": "jq - fx.off", "id": 197, - "trigger": "jqfxo" + "trigger": "jq.fxo" }, { "description": "jq - jquery", "id": 198, - "trigger": "jqjprop" + "trigger": "jq.jprop" }, { "description": "jq - length", "id": 199, - "trigger": "jqlen" + "trigger": "jq.len" }, { "description": "jq - all", "id": 200, - "trigger": "jqall" + "trigger": "jq.all" }, { "description": "jq - :animated", "id": 201, - "trigger": "jq:a" + "trigger": "jq.:a" }, { "description": "jq - Attribute Contains Prefix", "id": 202, - "trigger": "jq[]|" + "trigger": "jq.[]|" }, { "description": "jq - Attribute Contains", "id": 203, - "trigger": "jq[]*" + "trigger": "jq.[]*" }, { "description": "jq - Attribute Contains Word", "id": 204, - "trigger": "jq[]~" + "trigger": "jq.[]~" }, { "description": "jq - Attribute Ends With", "id": 205, - "trigger": "jq[]$" + "trigger": "jq.[]$" }, { "description": "jq - Attribute Equals", "id": 206, - "trigger": "jq[]=" + "trigger": "jq.[]=" }, { "description": "jq - Attribute Not Equal", "id": 207, - "trigger": "jq[]!" + "trigger": "jq.[]!" }, { "description": "jq - Attribute Starts With", "id": 208, - "trigger": "jq[]^" + "trigger": "jq.[]^" }, { "description": "jq - :button", "id": 209, - "trigger": "jq:b" + "trigger": "jq.:b" }, { "description": "jq - :checkbox", "id": 210, - "trigger": "jq:c" + "trigger": "jq.:c" }, { "description": "jq - :checked", "id": 211, - "trigger": "jq:ch" + "trigger": "jq.:ch" }, { "description": "jq - :child", "id": 212, - "trigger": "jq:chi" + "trigger": "jq.:chi" }, { "description": "jq - class", "id": 213, - "trigger": "jq:cl" + "trigger": "jq.:cl" }, { "description": "jq - :contains", "id": 214, - "trigger": "jq:co" + "trigger": "jq.:co" }, { "description": "jq - descendant", "id": 215, - "trigger": "jqdes" + "trigger": "jq.des" }, { "description": "jq - :disabled", "id": 216, - "trigger": "jq:d" + "trigger": "jq.:d" }, { "description": "jq - element", "id": 217, - "trigger": "jq$" + "trigger": "jq.$" }, { "description": "jq - :empty", "id": 218, - "trigger": "jq:e" + "trigger": "jq.:e" }, { "description": "jq - :enabled", "id": 219, - "trigger": "jq:en" + "trigger": "jq.:en" }, { "description": "jq - :eq", "id": 220, - "trigger": "jq:eq" + "trigger": "jq.:eq" }, { "description": "jq - :even", "id": 221, - "trigger": "jq:ev" + "trigger": "jq.:ev" }, { "description": "jq - :file", "id": 222, - "trigger": "jq:f" + "trigger": "jq.:f" }, { "description": "jq - :first-child", "id": 223, - "trigger": "jq:fc" + "trigger": "jq.:fc" }, { "description": "jq - :first-of-type", "id": 224, - "trigger": "jq:ft" + "trigger": "jq.:ft" }, { "description": "jq - :first", "id": 225, - "trigger": "jq:fi" + "trigger": "jq.:fi" }, { "description": "jq - :focus", "id": 226, - "trigger": "jq:fo" + "trigger": "jq.:fo" }, { "description": "jq - :gt", "id": 227, - "trigger": "jq:gt" + "trigger": "jq.:gt" }, { "description": "jq - Has Attribute", "id": 228, - "trigger": "jq[]" + "trigger": "jq.[]" }, { "description": "jq - :has", "id": 229, - "trigger": "jq:h" + "trigger": "jq.:h" }, { "description": "jq - :header", "id": 230, - "trigger": "jq:he" + "trigger": "jq.:he" }, { "description": "jq - :hidden", "id": 231, - "trigger": "jq:hi" + "trigger": "jq.:hi" }, { "description": "jq - id", "id": 232, - "trigger": "jqid" + "trigger": "jq.id" }, { "description": "jq - :image", "id": 233, - "trigger": "jq:i" + "trigger": "jq.:i" }, { "description": "jq - :input", "id": 234, - "trigger": "jq:in" + "trigger": "jq.:in" }, { "description": "jq - :lang", "id": 235, - "trigger": "jq:l" + "trigger": "jq.:l" }, { "description": "jq - :last-child", "id": 236, - "trigger": "jq:lc" + "trigger": "jq.:lc" }, { "description": "jq - :last-of-type", "id": 237, - "trigger": "jq:lty" + "trigger": "jq.:lty" }, { "description": "jq - :last", "id": 238, - "trigger": "jq:la" + "trigger": "jq.:la" }, { "description": "jq - :lt", "id": 239, - "trigger": "jq:lt" + "trigger": "jq.:lt" }, { "description": "jq - Multiple Attribute", "id": 240, - "trigger": "jq[][]" + "trigger": "jq.[][]" }, { "description": "jq - Multiple", "id": 241, - "trigger": "jq," + "trigger": "jq.," }, { "description": "jq - Next Adjacent", "id": 242, - "trigger": "jq+" + "trigger": "jq.+" }, { "description": "jq - Next Siblings", "id": 243, - "trigger": "jq-snss" + "trigger": "jq.-snss" }, { "description": "jq - :not", "id": 244, - "trigger": "jq:not" + "trigger": "jq.:not" }, { "description": "jq - :nth-child", "id": 245, - "trigger": "jq:nc" + "trigger": "jq.:nc" }, { "description": "jq - :nth-last-child", "id": 246, - "trigger": "jq:nlc" + "trigger": "jq.:nlc" }, { "description": "jq - :nth-last-of-type", "id": 247, - "trigger": "jq:nlt" + "trigger": "jq.:nlt" }, { "description": "jq - :nth-of-type", "id": 248, - "trigger": "jq:nt" + "trigger": "jq.:nt" }, { "description": "jq - :odd", "id": 249, - "trigger": "jq:o" + "trigger": "jq.:o" }, { "description": "jq - :only-child", "id": 250, - "trigger": "jq:oc" + "trigger": "jq.:oc" }, { "description": "jq - :only-of-type", "id": 251, - "trigger": "jq:ot" + "trigger": "jq.:ot" }, { "description": "jq - :parent", "id": 252, - "trigger": "jq:p" + "trigger": "jq.:p" }, { "description": "jq - :password", "id": 253, - "trigger": "jq:pa" + "trigger": "jq.:pa" }, { "description": "jq - :radio", "id": 254, - "trigger": "jq:r" + "trigger": "jq.:r" }, { "description": "jq - :reset", "id": 255, - "trigger": "jq:re" + "trigger": "jq.:re" }, { "description": "jq - :root", "id": 256, - "trigger": "jq:ro" + "trigger": "jq.:ro" }, { "description": "jq - :selected", "id": 257, - "trigger": "jq:s" + "trigger": "jq.:s" }, { "description": "jq - :submit", "id": 258, - "trigger": "jq:su" + "trigger": "jq.:su" }, { "description": "jq - :target", "id": 259, - "trigger": "jq:t" + "trigger": "jq.:t" }, { "description": "jq - :text", "id": 260, - "trigger": "jq:tx" + "trigger": "jq.:tx" }, { "description": "jq - :visible", "id": 261, - "trigger": "jq:v" + "trigger": "jq.:v" }, { "description": "jq - addBack", "id": 262, - "trigger": "jqaddback" + "trigger": "jq.addback" }, { "description": "jq - add", "id": 263, - "trigger": "jqadd" + "trigger": "jq.add" }, { "description": "jq - children", "id": 264, - "trigger": "jqchildren" + "trigger": "jq.children" }, { "description": "jq - closest", "id": 265, - "trigger": "jqclosest" + "trigger": "jq.closest" }, { "description": "jq - contents", "id": 266, - "trigger": "jqcontents" + "trigger": "jq.contents" }, { "description": "jq - each", "id": 267, - "trigger": "jqeach" + "trigger": "jq.each" }, { "description": "jq - end", "id": 268, - "trigger": "jqend" + "trigger": "jq.end" }, { "description": "jq - eq", "id": 269, - "trigger": "jqeq" + "trigger": "jq.eq" }, { "description": "jq - filter", "id": 270, - "trigger": "jqfilter" + "trigger": "jq.filter" }, { "description": "jq - find", "id": 271, - "trigger": "jqfind" + "trigger": "jq.find" }, { "description": "jq - first", "id": 272, - "trigger": "jqfirst" + "trigger": "jq.first" }, { "description": "jq - has", "id": 273, - "trigger": "jqhas" + "trigger": "jq.has" }, { "description": "jq - is", "id": 274, - "trigger": "jqis" + "trigger": "jq.is" }, { "description": "jq - last", "id": 275, - "trigger": "jqlast" + "trigger": "jq.last" }, { "description": "jq - map", "id": 276, - "trigger": "jqmap" + "trigger": "jq.map" }, { "description": "jq - nextAll", "id": 277, - "trigger": "jqnextall" + "trigger": "jq.nextall" }, { "description": "jq - nextUntil", "id": 278, - "trigger": "jqnextuntil" + "trigger": "jq.nextuntil" }, { "description": "jq - next", "id": 279, - "trigger": "jqnext" + "trigger": "jq.next" }, { "description": "jq - not", "id": 280, - "trigger": "jqnot" + "trigger": "jq.not" }, { "description": "jq - parent", "id": 281, - "trigger": "jqparent" + "trigger": "jq.parent" }, { "description": "jq - parentsUntil", "id": 282, - "trigger": "jqpuntil" + "trigger": "jq.puntil" }, { "description": "jq - parents", "id": 283, - "trigger": "jqparents" + "trigger": "jq.parents" }, { "description": "jq - prevAll", "id": 284, - "trigger": "jqprevall" + "trigger": "jq.prevall" }, { "description": "jq - prevUntil", "id": 285, - "trigger": "jqprevuntil" + "trigger": "jq.prevuntil" }, { "description": "jq - prev", "id": 286, - "trigger": "jqprev" + "trigger": "jq.prev" }, { "description": "jq - siblings", "id": 287, - "trigger": "jq-ts" + "trigger": "jq.-ts" }, { "description": "jq - slice", "id": 288, - "trigger": "jq-tsl" + "trigger": "jq.-tsl" }, { "description": "jq - contains", "id": 289, - "trigger": "jqcontains" + "trigger": "jq.contains" }, { "description": "jq - jQuery each", "id": 290, - "trigger": "jqjeach" + "trigger": "jq.jeach" }, { "description": "jq - extend", "id": 291, - "trigger": "jqextend" + "trigger": "jq.extend" }, { "description": "jq - fn.extend", "id": 292, - "trigger": "jqfnextend" + "trigger": "jq.fnextend" }, { "description": "jq - globalEval", "id": 293, - "trigger": "jqgeval" + "trigger": "jq.geval" }, { "description": "jq - grep", "id": 294, - "trigger": "jqgrep" + "trigger": "jq.grep" }, { "description": "jq - inArray", "id": 295, - "trigger": "jqinarray" + "trigger": "jq.inarray" }, { "description": "jq - isEmptyObject", "id": 296, - "trigger": "jqieobject" + "trigger": "jq.ieobject" }, { "description": "jq - isFunction", "id": 297, - "trigger": "jqifunction" + "trigger": "jq.ifunction" }, { "description": "jq - isNumeric", "id": 298, - "trigger": "jqinumeric" + "trigger": "jq.inumeric" }, { "description": "jq - isPlainObject", "id": 299, - "trigger": "jqipobject" + "trigger": "jq.ipobject" }, { "description": "jq - isWindow", "id": 300, - "trigger": "jqiwindow" + "trigger": "jq.iwindow" }, { "description": "jq - isXMLDoc", "id": 301, - "trigger": "jqixmldoc" + "trigger": "jq.ixmldoc" }, { "description": "jq - makeArray", "id": 302, - "trigger": "jqmarray" + "trigger": "jq.marray" }, { "description": "jq - jQuery map", "id": 303, - "trigger": "jqjmap" + "trigger": "jq.jmap" }, { "description": "jq - merge", "id": 304, - "trigger": "jqmerge" + "trigger": "jq.merge" }, { "description": "jq - noop", "id": 305, - "trigger": "jqnoop" + "trigger": "jq.noop" }, { "description": "jq - now", "id": 306, - "trigger": "jqnow" + "trigger": "jq.now" }, { "description": "jq - parseHTML", @@ -1547,27 +1547,27 @@ { "description": "jq - proxy", "id": 310, - "trigger": "jqproxy" + "trigger": "jq.proxy" }, { "description": "jq - trim", "id": 311, - "trigger": "jqtrim" + "trigger": "jq.trim" }, { "description": "jq - jQuery type", "id": 312, - "trigger": "jqjtype" + "trigger": "jq.jtype" }, { "description": "jq - unique", "id": 313, - "trigger": "jqunique" + "trigger": "jq.unique" }, { "description": "jq - jQuery Boilerplate", "id": 314, - "trigger": "jqb" + "trigger": "jq.b" }, { "description": "jdp - Command", @@ -1635,249 +1635,249 @@ "trigger": "jdp.singleton" }, { - "description": "tb - Expect to.be.a", + "description": "tc - Expect to.be.a", "id": 328, - "trigger": "tb.tobea" + "trigger": "tc.tobea" }, { - "description": "tb - Expect to.equal", + "description": "tc - Expect to.equal", "id": 329, - "trigger": "tb.toequal" + "trigger": "tc.toequal" }, { - "description": "tb - Expect to.have.length", + "description": "tc - Expect to.have.length", "id": 330, - "trigger": "tb.tohl" + "trigger": "tc.tohl" }, { - "description": "tb - Expect to.have.property", + "description": "tc - Expect to.have.property", "id": 331, - "trigger": "tb.tohp" + "trigger": "tc.tohp" }, { - "description": "tb - Expect toBeCloseTo", + "description": "tc - Should be.a", "id": 332, - "trigger": "tb.closeto" + "trigger": "tc.bea" }, { - "description": "tb - Expect toBeContain", + "description": "tc - Should equal", "id": 333, - "trigger": "tb.contain" + "trigger": "tc.equal" }, { - "description": "tb - Expect toBeDefined", + "description": "tc - Should have.length", "id": 334, - "trigger": "tb.defined" + "trigger": "tc.hlength" }, { - "description": "tb - Expect toBeFalsy", + "description": "tc - Should have.property", "id": 335, - "trigger": "tb.falsy" + "trigger": "tc.hproperty" }, { - "description": "tb - Expect toBeGreaterThan", + "description": "tc - Assert equal", "id": 336, - "trigger": "tb.greaterthan" + "trigger": "tc.equal" }, { - "description": "tb - Expect toBeLessThan", + "description": "tc - Assert lengthOf", "id": 337, - "trigger": "tb.lessthan" + "trigger": "tc.lengthof" }, { - "description": "tb - Expect toBeNaN", + "description": "tc - Assert typeOf", "id": 338, - "trigger": "tb.nan" + "trigger": "tc.typeof" }, { - "description": "tb - Expect toBeNull", + "description": "t - afterEach", "id": 339, - "trigger": "tb.null" + "trigger": "t.aftereach" }, { - "description": "tb - Expect toBeTruthy", + "description": "t - after", "id": 340, - "trigger": "tb.truthy" + "trigger": "t.after" }, { - "description": "tb - Expect toBeUndefined", + "description": "t - beforeEach", "id": 341, - "trigger": "tb.undefined" + "trigger": "t.beforeeach" }, { - "description": "tb - Expect toBe", + "description": "t - before", "id": 342, - "trigger": "tb.tobe" + "trigger": "t.before" }, { - "description": "tb - Expect toEqual", + "description": "t - describe", "id": 343, - "trigger": "tb.equal" + "trigger": "t.describe" }, { - "description": "tb - Expect toHaveBeenCalledTimes", + "description": "t - it", "id": 344, - "trigger": "tb.hbctimes" + "trigger": "t.it" }, { - "description": "tb - Expect toHaveBeenCalledWith", + "description": "tj - Expect toBeCloseTo", "id": 345, - "trigger": "tb.hbcwith" + "trigger": "tj.closeto" }, { - "description": "tb - Expect toHaveBeenCalled", + "description": "tj - Expect toBeContain", "id": 346, - "trigger": "tb.hbc" + "trigger": "tj.contain" }, { - "description": "tb - Expect toMatch", + "description": "tj - Expect toBeDefined", "id": 347, - "trigger": "tb.match" + "trigger": "tj.defined" }, { - "description": "tb - Expect toThrowError", + "description": "tj - Expect toBeFalsy", "id": 348, - "trigger": "tb.throwerror" + "trigger": "tj.falsy" }, { - "description": "tb - Expect toThrow", + "description": "tj - Expect toBeGreaterThan", "id": 349, - "trigger": "tb.throw" + "trigger": "tj.greaterthan" }, { - "description": "tb - Should be.a", + "description": "tj - Expect toBeLessThan", "id": 350, - "trigger": "tb.bea" + "trigger": "tj.lessthan" }, { - "description": "tb - Should equal", + "description": "tj - Expect toBeNaN", "id": 351, - "trigger": "tb.equal" + "trigger": "tj.nan" }, { - "description": "tb - Should have.length", + "description": "tj - Expect toBeNull", "id": 352, - "trigger": "tb.hlength" + "trigger": "tj.null" }, { - "description": "tb - Should have.property", + "description": "tj - Expect toBeTruthy", "id": 353, - "trigger": "tb.hproperty" + "trigger": "tj.truthy" }, { - "description": "ts - afterEach", + "description": "tj - Expect toBeUndefined", "id": 354, - "trigger": "ts.aftereach" + "trigger": "tj.undefined" }, { - "description": "ts - after", + "description": "tj - Expect toBe", "id": 355, - "trigger": "ts.after" + "trigger": "tj.tobe" }, { - "description": "ts - beforeEach", + "description": "tj - Expect toEqual", "id": 356, - "trigger": "ts.beforeeach" + "trigger": "tj.equal" }, { - "description": "ts - before", + "description": "tj - Expect toHaveBeenCalledTimes", "id": 357, - "trigger": "ts.before" + "trigger": "tj.hbctimes" }, { - "description": "ts - describe", + "description": "tj - Expect toHaveBeenCalledWith", "id": 358, - "trigger": "ts.describe" + "trigger": "tj.hbcwith" }, { - "description": "ts - it", + "description": "tj - Expect toHaveBeenCalled", "id": 359, - "trigger": "ts.it" + "trigger": "tj.hbc" }, { - "description": "tt - Assert equal", + "description": "tj - Expect toMatch", "id": 360, - "trigger": "tt.equal" + "trigger": "tj.match" }, { - "description": "tt - Assert lengthOf", + "description": "tj - Expect toThrowError", "id": 361, - "trigger": "tt.lengthof" + "trigger": "tj.throwerror" }, { - "description": "tt - Assert typeOf", + "description": "tj - Expect toThrow", "id": 362, - "trigger": "tt.typeof" + "trigger": "tj.throw" }, { - "description": "tt - Assert deepEqual", + "description": "tn - Assert deepEqual", "id": 363, - "trigger": "tt.dequal" + "trigger": "tn.dequal" }, { - "description": "tt - Assert deepStrictEqual", + "description": "tn - Assert deepStrictEqual", "id": 364, - "trigger": "tt.dsequal" + "trigger": "tn.dsequal" }, { - "description": "tt - Assert doesNotThrow", + "description": "tn - Assert doesNotThrow", "id": 365, - "trigger": "tt.dnthrow" + "trigger": "tn.dnthrow" }, { - "description": "tt - Assert equal", + "description": "tn - Assert equal", "id": 366, - "trigger": "tt.equal" + "trigger": "tn.equal" }, { - "description": "tt - Assert fail", + "description": "tn - Assert fail", "id": 367, - "trigger": "tt.fail" + "trigger": "tn.fail" }, { - "description": "tt - Assert ifError", + "description": "tn - Assert ifError", "id": 368, - "trigger": "tt.iferror" + "trigger": "tn.iferror" }, { - "description": "tt - Assert notDeepEqual", + "description": "tn - Assert notDeepEqual", "id": 369, - "trigger": "tt.ndequal" + "trigger": "tn.ndequal" }, { - "description": "tt - Assert notDeepStrictEqual", + "description": "tn - Assert notDeepStrictEqual", "id": 370, - "trigger": "tt.ndsequal" + "trigger": "tn.ndsequal" }, { - "description": "tt - Assert notEqual", + "description": "tn - Assert notEqual", "id": 371, - "trigger": "tt.nequal" + "trigger": "tn.nequal" }, { - "description": "tt - Assert notStrictEqual", + "description": "tn - Assert notStrictEqual", "id": 372, - "trigger": "tt.nsequal" + "trigger": "tn.nsequal" }, { - "description": "tt - Assert ok", + "description": "tn - Assert ok", "id": 373, - "trigger": "tt.ok" + "trigger": "tn.ok" }, { - "description": "tt - Assert strictEqual", + "description": "tn - Assert strictEqual", "id": 374, - "trigger": "tt.sequal" + "trigger": "tn.sequal" }, { - "description": "tt - Assert throws", + "description": "tn - Assert throws", "id": 375, - "trigger": "tt.throws" + "trigger": "tn.throws" }, { - "description": "tt - Assert", + "description": "tn - Assert", "id": 376, - "trigger": "tt.a" + "trigger": "tn.a" }, { "description": "j - if else", @@ -2080,48 +2080,48 @@ "trigger": "jstimeout" }, { - "description": "m - Action", + "description": "sm - Action", "id": 417, - "trigger": "maction" + "trigger": "sm.action" }, { - "description": "m - Organization", + "description": "sm - Organization", "id": 418, - "trigger": "morg" + "trigger": "sm.org" }, { - "description": "Logotype", + "description": "jsonld - Logotype", "id": 419, - "trigger": "zjsonld" + "trigger": "z.jsonld" }, { - "description": "Organization", + "description": "microdata - Organization", "id": 420, - "trigger": "zmicrodata" + "trigger": "z.microdata" }, { - "description": "Article", + "description": "microdata - Article", "id": 421, - "trigger": "zmicrodata" + "trigger": "z.microdata" }, { - "description": "Book", + "description": "microdata - Book", "id": 422, - "trigger": "zmicrodata" + "trigger": "z.microdata" }, { - "description": "Game", + "description": "microdata - Game", "id": 423, - "trigger": "zmicrodata" + "trigger": "z.microdata" }, { - "description": "WebPage", + "description": "microdata - WebPage", "id": 424, - "trigger": "zmicrodata" + "trigger": "z.microdata" }, { - "description": "Breadcrumb", + "description": "rdfa - Breadcrumb", "id": 425, - "trigger": "zrdfa" + "trigger": "z.rdfa" } ] \ No newline at end of file diff --git a/snippets/js/libraries/jquery/utilities/README.md b/snippets/js/libraries/jquery/utilities/README.md index 8573233..cae27d3 100644 --- a/snippets/js/libraries/jquery/utilities/README.md +++ b/snippets/js/libraries/jquery/utilities/README.md @@ -108,19 +108,19 @@ ${1:\$}.noop(); ${1:\$}.now(); ``` -### [zjqp] parseHTML +### [jq.parseh] parseHTML ```javascript ${1:\$}.parseHTML(${2:data}${3:, context}${4:, keepScripts}); ``` -### [zjqp] parseJSON +### [jq.parsej] parseJSON ```javascript ${1:\$}.parseJSON(${2:json}); ``` -### [zjqp] parseXML +### [jq.parsex] parseXML ```javascript ${1:\$}.parseXML(${2:data}); diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-parse-html.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-parse-html.sublime-snippet index 91e8b56..6e7f011 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-parse-html.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-parse-html.sublime-snippet @@ -2,6 +2,6 @@ - zjqp + jq.parseh jq - parseHTML diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-parse-json.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-parse-json.sublime-snippet index fe82f81..90c1594 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-parse-json.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-parse-json.sublime-snippet @@ -2,6 +2,6 @@ - zjqp + jq.parsej jq - parseJSON diff --git a/snippets/js/libraries/jquery/utilities/jq-utilities-parse-xml.sublime-snippet b/snippets/js/libraries/jquery/utilities/jq-utilities-parse-xml.sublime-snippet index 9e7c67b..5803b4f 100644 --- a/snippets/js/libraries/jquery/utilities/jq-utilities-parse-xml.sublime-snippet +++ b/snippets/js/libraries/jquery/utilities/jq-utilities-parse-xml.sublime-snippet @@ -2,6 +2,6 @@ - zjqp + jq.parsex jq - parseXML From 3c64fbea246804a8dff1eb86f67de4a92d733981 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 17:59:20 -0200 Subject: [PATCH 042/114] update: chai keys --- snippets/js/tests/chai/README.md | 40 +++++-------------- .../bdd-chai-expect-to-be-a.sublime-snippet | 2 +- .../bdd-chai-expect-to-equal.sublime-snippet | 2 +- ...chai-expect-to-have-length.sublime-snippet | 2 +- ...ai-expect-to-have-property.sublime-snippet | 2 +- .../chai/bdd-chai-should-be-a.sublime-snippet | 2 +- .../bdd-chai-should-equal.sublime-snippet | 2 +- ...dd-chai-should-have-length.sublime-snippet | 2 +- ...-chai-should-have-property.sublime-snippet | 2 +- .../tdd-chai-assert-equal.sublime-snippet | 2 +- .../tdd-chai-assert-length-of.sublime-snippet | 2 +- .../tdd-chai-assert-type-of.sublime-snippet | 2 +- 12 files changed, 22 insertions(+), 40 deletions(-) diff --git a/snippets/js/tests/chai/README.md b/snippets/js/tests/chai/README.md index 92345e3..ffba503 100644 --- a/snippets/js/tests/chai/README.md +++ b/snippets/js/tests/chai/README.md @@ -2,85 +2,67 @@ ## Prefix `tc.*` -### [tc.equal] equal +### [tc.a.e] equal ```javascript assert.equal(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tc.lengthof] lengthOf +### [tc.a.lo] lengthOf ```javascript assert.lengthOf(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tc.typeof] typeOf +### [tc.a.to] typeOf ```javascript assert.typeOf(${1:actual}, ${1:expected} ${2:, message}); ``` -### [tc.tobea] to.be.a +### [tc.e.tba] to.be.a ```javascript expect(${1}).to.be.a(${2}); ``` -### [tc.toequal] to.equal +### [tc.e.te] to.equal ```javascript expect(${1}).to.equal(${2}); ``` -### [tc.tohl] to.have.length +### [tc.e.thl] to.have.length ```javascript expect(${1}).to.have.length(${2}); ``` -### [tc.tohp] to.have.property +### [tc.e.thp] to.have.property ```javascript expect(${1}).to.have.property(${2}).with.length(${3}); ``` -### [tc.equal] equal - -```javascript -assert.equal(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tc.lengthof] lengthOf - -```javascript -assert.lengthOf(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tc.typeof] typeOf - -```javascript -assert.typeOf(${1:actual}, ${1:expected} ${2:, message}); -``` - -### [tc.bea] be.a +### [tc.s.ba] be.a ```javascript ${1}.should.be.a(${2}); ``` -### [tc.equal] equal +### [tc.s.e] equal ```javascript ${1}.should.equal(${2}); ``` -### [tc.hlength] have.length +### [tc.s.hl] have.length ```javascript ${1}.should.have.length(${2}); ``` -### [tc.hproperty] have.property +### [tc.s.hp] have.property ```javascript ${1}.should.have.property(${2}).with.length(${3}); diff --git a/snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet index 7edb2b9..5bd7c8f 100644 --- a/snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-expect-to-be-a.sublime-snippet @@ -2,6 +2,6 @@ - tc.tobea + tc.e.tba tc - Expect to.be.a diff --git a/snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet index cceda6f..c6dfd3b 100644 --- a/snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-expect-to-equal.sublime-snippet @@ -2,6 +2,6 @@ - tc.toequal + tc.e.te tc - Expect to.equal diff --git a/snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet index 150a36e..415beea 100644 --- a/snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-expect-to-have-length.sublime-snippet @@ -2,6 +2,6 @@ - tc.tohl + tc.e.thl tc - Expect to.have.length diff --git a/snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet b/snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet index 784b19e..d497b1e 100644 --- a/snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-expect-to-have-property.sublime-snippet @@ -2,6 +2,6 @@ - tc.tohp + tc.e.thp tc - Expect to.have.property diff --git a/snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet index 0eba997..3e33c4b 100644 --- a/snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-should-be-a.sublime-snippet @@ -2,6 +2,6 @@ - tc.bea + tc.s.ba tc - Should be.a diff --git a/snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet index e730a6d..dea741c 100644 --- a/snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-should-equal.sublime-snippet @@ -2,6 +2,6 @@ - tc.equal + tc.s.e tc - Should equal diff --git a/snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet index 0e319cd..5ad7366 100644 --- a/snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-should-have-length.sublime-snippet @@ -2,6 +2,6 @@ - tc.hlength + tc.s.hl tc - Should have.length diff --git a/snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet b/snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet index 0d27030..204de14 100644 --- a/snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet +++ b/snippets/js/tests/chai/bdd-chai-should-have-property.sublime-snippet @@ -2,6 +2,6 @@ - tc.hproperty + tc.s.hp tc - Should have.property diff --git a/snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet b/snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet index 81a6c5f..6b15d46 100644 --- a/snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet +++ b/snippets/js/tests/chai/tdd-chai-assert-equal.sublime-snippet @@ -2,6 +2,6 @@ - tc.equal + tc.a.e tc - Assert equal diff --git a/snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet b/snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet index 4b253f2..3d03cbf 100644 --- a/snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet +++ b/snippets/js/tests/chai/tdd-chai-assert-length-of.sublime-snippet @@ -2,6 +2,6 @@ - tc.lengthof + tc.a.lo tc - Assert lengthOf diff --git a/snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet b/snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet index cbff89a..65d3cfe 100644 --- a/snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet +++ b/snippets/js/tests/chai/tdd-chai-assert-type-of.sublime-snippet @@ -2,6 +2,6 @@ - tc.typeof + tc.a.to tc - Assert typeOf From 9178fb4576023b42685537ca79a9d42358c86373 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 19:15:11 -0200 Subject: [PATCH 043/114] add: js umd snippets --- README.md | 1 + snippets/js/patterns/README.md | 23 + .../js/patterns/design-patterns/README.md | 2 +- snippets/js/patterns/umd/README.md | 412 ++++++++++++++++++ .../umd/js-umd-amd-web-global.sublime-snippet | 44 ++ .../umd/js-umd-amd-web.sublime-snippet | 39 ++ .../js-umd-commonjs-adapter.sublime-snippet | 30 ++ ...umd-commonjs-strict-global.sublime-snippet | 44 ++ .../js-umd-commonjs-strict.sublime-snippet | 42 ++ .../umd/js-umd-jquery-plugin.sublime-snippet | 37 ++ .../umd/js-umd-node-adapter.sublime-snippet | 29 ++ ...-umd-return-exports-global.sublime-snippet | 45 ++ .../umd/js-umd-return-exports.sublime-snippet | 65 +++ snippets/schema/json-ld/README.md | 2 +- snippets/schema/microdata/README.md | 2 +- snippets/schema/rdfa/README.md | 2 +- snippets/structured-data/json-ld/README.md | 2 +- snippets/structured-data/microdata/README.md | 2 +- snippets/structured-data/rdfa/README.md | 2 +- 19 files changed, 818 insertions(+), 7 deletions(-) create mode 100644 snippets/js/patterns/umd/README.md create mode 100644 snippets/js/patterns/umd/js-umd-amd-web-global.sublime-snippet create mode 100644 snippets/js/patterns/umd/js-umd-amd-web.sublime-snippet create mode 100644 snippets/js/patterns/umd/js-umd-commonjs-adapter.sublime-snippet create mode 100644 snippets/js/patterns/umd/js-umd-commonjs-strict-global.sublime-snippet create mode 100644 snippets/js/patterns/umd/js-umd-commonjs-strict.sublime-snippet create mode 100644 snippets/js/patterns/umd/js-umd-jquery-plugin.sublime-snippet create mode 100644 snippets/js/patterns/umd/js-umd-node-adapter.sublime-snippet create mode 100644 snippets/js/patterns/umd/js-umd-return-exports-global.sublime-snippet create mode 100644 snippets/js/patterns/umd/js-umd-return-exports.sublime-snippet diff --git a/README.md b/README.md index a25bb31..a127738 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text - [jQuery - jq.*](snippets/js/libraries/jquery) - [Patterns](snippets/js/patterns) - [Design Patterns - jdp.*](snippets/js/patterns/design-patterns) + - [UMD - jumd.*](snippets/js/patterns/umd) - [Tests](snippets/js/tests) - [Common - t.*](snippets/js/tests/common) - [Chai - tc.*](snippets/js/tests/chai) diff --git a/snippets/js/patterns/README.md b/snippets/js/patterns/README.md index 5c75813..12eee18 100644 --- a/snippets/js/patterns/README.md +++ b/snippets/js/patterns/README.md @@ -1,3 +1,26 @@ # JavaScript Patterns Snippets - [Design patterns](design-patterns/) + - Command + - Constructor + - Decorator + - Facade + - Factory + - Flyweight + - Mediator + - Mixin + - Module + - Observer + - Prototype + - Revealing Module + - Singleton +- [UMD](umd/) + - AMD Web Global + - AMD Web + - CommonJS Adapter + - CommonJS Strict Global + - CommonJS Strict + - jQuery Plugin + - Node Adapter + - Return Exports Global + - Return Exports diff --git a/snippets/js/patterns/design-patterns/README.md b/snippets/js/patterns/design-patterns/README.md index f935fe8..1288a2b 100644 --- a/snippets/js/patterns/design-patterns/README.md +++ b/snippets/js/patterns/design-patterns/README.md @@ -1,4 +1,4 @@ -# JavaScript Patterns Snippets +# JavaScript Design Patterns Snippets ## Prefix `jdp.*` diff --git a/snippets/js/patterns/umd/README.md b/snippets/js/patterns/umd/README.md new file mode 100644 index 0000000..0b93aad --- /dev/null +++ b/snippets/js/patterns/umd/README.md @@ -0,0 +1,412 @@ +# Universal Module Definition - JavaScript Snippets + +## Prefix `jumd.*` + +### [jumd.awg] AMD Web Global + +```javascript +${1:// Uses AMD or browser globals to create a module. This example creates a +// global even when AMD is used. This is useful if you have some scripts +// that are loaded by an AMD loader, but they still want access to globals. +// If you do not need to export a global for the AMD case, see amdWeb.js. + +// If you want something that will also work in Node, and still export a +// global in the AMD case, see returnExportsGlobal.js +// If you want to support other stricter CommonJS environments, +// or if you need to create a circular dependency, see commonJsStrictGlobal.js + +// Defines a module "amdWebGlobal" that depends another module called "b". +// Note that the name of the module is implied by the file name. It is best +// if the file name and the exported global have matching names. + +// If the 'b' module also uses this type of boilerplate, then +// in the browser, it will create a global .b that is used below. +} + +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + ${2:// AMD. Register as an anonymous module. + } + define(['b'], function (b) { + ${3:// Also create a global in case some scripts + // that are loaded still are looking for + // a global even when an AMD loader is in use. + } + return (root.amdWebGlobal = factory(b)); + }); + } else { + ${4:// Browser globals + } + root.amdWebGlobal = factory(root.b); + } +}(this, function (b) { + ${5://use b in some fashion. + + // Just return a value to define the module export. + // This example returns an object, but the module + // can return a function as the exported value. + } + return {}; +}));${6} +``` + +### [jumd.aw] AMD Web + +```javascript +${1:// Uses AMD or browser globals to create a module. + +// If you want something that will also work in Node, see returnExports.js +// If you want to support other stricter CommonJS environments, +// or if you need to create a circular dependency, see commonJsStrict.js + +// Defines a module "amdWeb" that depends on another module called "b". +// Note that the name of the module is implied by the file name. It is best +// if the file name and the exported global have matching names. + +// If the 'b' module also uses this type of boilerplate, then +// in the browser, it will create a global .b that is used below. + +// If you do not want to support the browser global path, then you +// can remove the `root` use and the passing of `this` as the first arg to +// the top function. +} + +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + ${2:// AMD. Register as an anonymous module. + } + define(['b'], factory); + } else { + ${3:// Browser globals + } + root.amdWeb = factory(root.b); + } +}(this, function (b) { + ${4://use b in some fashion. + + // Just return a value to define the module export. + // This example returns an object, but the module + // can return a function as the exported value. + } + return {}; +}));${5} +``` + +### [jumd.ca] CommonJS Adapter + +```javascript +${1:// Defines a module that works in CommonJS and AMD. + +// This version can be used as common boilerplate for a library module +// that you only want to expose to CommonJS and AMD loaders. It will not work +// well for defining browser globals. + +// If you only want to target Node and AMD or a CommonJS environment that +// supports assignment to module.exports and you are not defining a module +// that has a circular dependency, see nodeAdapter.js + +// Help Node out by setting up define. +} +if (typeof exports === 'object' && typeof exports.nodeName !== 'string' && typeof define !== 'function') { + var define = function (factory) { + factory(require, exports, module); + }; +} + +define(function (require, exports, module) { + var b = require('b'); + + ${2:// Only attach properties to the exports object to define + // the module's properties. + } + exports.action = function () {}; +});${3} +``` + +### [jumd.csg] CommonJS Strict Global + +```javascript +${1:// Uses CommonJS, AMD or browser globals to create a module. This example +// creates a global even when AMD is used. This is useful if you have some +// scripts that are loaded by an AMD loader, but they still want access to +// globals. If you do not need to export a global for the AMD case, see +// commonjsStrict.js. + +// If you just want to support Node, or other CommonJS-like environments that +// support module.exports, and you are not creating a module that has a +// circular dependency, then see returnExportsGlobal.js instead. It will allow +// you to export a function as the module value. + +// Defines a module "commonJsStrictGlobal" that depends another module called +// "b". Note that the name of the module is implied by the file name. It is +// best if the file name and the exported global have matching names. + +// If the 'b' module also uses this type of boilerplate, then +// in the browser, it will create a global .b that is used below. +} + +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + ${2:// AMD. Register as an anonymous module. + } + define(['exports', 'b'], function (exports, b) { + factory((root.commonJsStrictGlobal = exports), b); + }); + } else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { + ${3:// CommonJS + } + factory(exports, require('b')); + } else { + ${4:// Browser globals + } + factory((root.commonJsStrictGlobal = {}), root.b); + } +}(this, function (exports, b) { + ${5://use b in some fashion. + + // attach properties to the exports object to define + // the exported module properties. + } + exports.action = function () {}; +}));${6} +``` + +### [jumd.cs] CommonJS Strict + +```javascript +${1:// Uses CommonJS, AMD or browser globals to create a module. + +// If you just want to support Node, or other CommonJS-like environments that +// support module.exports, and you are not creating a module that has a +// circular dependency, then see returnExports.js instead. It will allow +// you to export a function as the module value. + +// Defines a module "commonJsStrict" that depends another module called "b". +// Note that the name of the module is implied by the file name. It is best +// if the file name and the exported global have matching names. + +// If the 'b' module also uses this type of boilerplate, then +// in the browser, it will create a global .b that is used below. + +// If you do not want to support the browser global path, then you +// can remove the `root` use and the passing `this` as the first arg to +// the top function. +} + +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + ${2:// AMD. Register as an anonymous module. + } + define(['exports', 'b'], factory); + } else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { + ${3:// CommonJS + } + factory(exports, require('b')); + } else { + ${4:// Browser globals + } + factory((root.commonJsStrict = {}), root.b); + } +}(this, function (exports, b) { + ${5://use b in some fashion. + + // attach properties to the exports object to define + // the exported module properties. + } + exports.action = function () {}; +}));${6} +``` + +### [jumd.jp] jQuery plugin + +```javascript +${1:// Uses CommonJS, AMD or browser globals to create a jQuery plugin. +} + +(function (factory) { + if (typeof define === 'function' && define.amd) { + ${2:// AMD. Register as an anonymous module. + } + define(['jquery'], factory); + } else if (typeof module === 'object' && module.exports) { + ${3:// Node/CommonJS + } + module.exports = function( root, jQuery ) { + if ( jQuery === undefined ) { + ${4:// require('jQuery') returns a factory that requires window to + // build a jQuery instance, we normalize how we use modules + // that require this pattern but the window provided is a noop + // if it's defined (how jquery works) + } + if ( typeof window !== 'undefined' ) { + jQuery = require('jquery'); + } + else { + jQuery = require('jquery')(root); + } + } + factory(jQuery); + return jQuery; + }; + } else { + ${5:// Browser globals + } + factory(jQuery); + } +}(function ($) { + $.fn.jqueryPlugin = function () { return true; }; +}));${6} +``` + +### [jumd.na] Node Adapter + +```javascript +${1:// Defines a module that works in Node and AMD. + +// This version can be used as common boilerplate for a library module +// that you only want to expose to Node and AMD loaders. It will not work +// well for defining browser globals. + +// If you need a version of this file that works CommonJS-like environments +// that do not support module.exports or if you want to define a module +// with a circular dependency, see commonjsAdapter.js +} + +(function(define) { + + define(function (require, exports, module) { + var b = require('b'); + + return function () {}; + }); + +}( ${2:// Help Node out by setting up define. +} + typeof module === 'object' && module.exports && typeof define !== 'function' ? + function (factory) { module.exports = factory(require, exports, module); } : + define +));${3} +``` + +### [jumd.reg] Return Exports Global + +```javascript +${1:// Uses Node, AMD or browser globals to create a module. This example creates +// a global even when AMD is used. This is useful if you have some scripts +// that are loaded by an AMD loader, but they still want access to globals. +// If you do not need to export a global for the AMD case, +// see returnExports.js. + +// If you want something that will work in other stricter CommonJS environments, +// or if you need to create a circular dependency, see commonJsStrictGlobal.js + +// Defines a module "returnExportsGlobal" that depends another module called +// "b". Note that the name of the module is implied by the file name. It is +// best if the file name and the exported global have matching names. + +// If the 'b' module also uses this type of boilerplate, then +// in the browser, it will create a global .b that is used below. +} + +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + ${2:// AMD. Register as an anonymous module. + } + define(['b'], function (b) { + return (root.returnExportsGlobal = factory(b)); + }); + } else if (typeof module === 'object' && module.exports) { + ${3:// Node. Does not work with strict CommonJS, but + // only CommonJS-like enviroments that support module.exports, + // like Node. + } + module.exports = factory(require('b')); + } else { + ${4:// Browser globals + } + root.returnExportsGlobal = factory(root.b); + } +}(this, function (b) { + ${5://use b in some fashion. + + // Just return a value to define the module export. + // This example returns an object, but the module + // can return a function as the exported value. + } + return {}; +}));${6} +``` + +### [jumd.re] Return Exports + +```javascript +${1:// Uses Node, AMD or browser globals to create a module. + +// If you want something that will work in other stricter CommonJS environments, +// or if you need to create a circular dependency, see commonJsStrict.js + +// Defines a module "returnExports" that depends another module called "b". +// Note that the name of the module is implied by the file name. It is best +// if the file name and the exported global have matching names. + +// If the 'b' module also uses this type of boilerplate, then +// in the browser, it will create a global .b that is used below. + +// If you do not want to support the browser global path, then you +// can remove the `root` use and the passing `this` as the first arg to +// the top function. +} + +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + ${2:// AMD. Register as an anonymous module. + } + define(['b'], factory); + } else if (typeof module === 'object' && module.exports) { + ${3:// Node. Does not work with strict CommonJS, but + // only CommonJS-like environments that support module.exports, + // like Node. + } + module.exports = factory(require('b')); + } else { + ${4:// Browser globals (root is window) + } + root.returnExports = factory(root.b); + } +}(this, function (b) { + ${5://use b in some fashion. + + // Just return a value to define the module export. + // This example returns an object, but the module + // can return a function as the exported value. + } + return {}; +})); + + +${6:// if the module has no dependencies, the above pattern can be simplified to +} +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + ${7:// AMD. Register as an anonymous module. + } + define([], factory); + } else if (typeof module === 'object' && module.exports) { + ${8:// Node. Does not work with strict CommonJS, but + // only CommonJS-like environments that support module.exports, + // like Node. + } + module.exports = factory(); + } else { + ${9:// Browser globals (root is window) + } + root.returnExports = factory(); + } +}(this, function () { + ${10:// Just return a value to define the module export. + // This example returns an object, but the module + // can return a function as the exported value. + } + return {}; +}));${11} +``` diff --git a/snippets/js/patterns/umd/js-umd-amd-web-global.sublime-snippet b/snippets/js/patterns/umd/js-umd-amd-web-global.sublime-snippet new file mode 100644 index 0000000..13793fc --- /dev/null +++ b/snippets/js/patterns/umd/js-umd-amd-web-global.sublime-snippet @@ -0,0 +1,44 @@ + + + jumd.awg + jumd - AMD Web Global + diff --git a/snippets/js/patterns/umd/js-umd-amd-web.sublime-snippet b/snippets/js/patterns/umd/js-umd-amd-web.sublime-snippet new file mode 100644 index 0000000..7de8f7a --- /dev/null +++ b/snippets/js/patterns/umd/js-umd-amd-web.sublime-snippet @@ -0,0 +1,39 @@ + + + jumd.aw + jumd - AMD Web + diff --git a/snippets/js/patterns/umd/js-umd-commonjs-adapter.sublime-snippet b/snippets/js/patterns/umd/js-umd-commonjs-adapter.sublime-snippet new file mode 100644 index 0000000..becb0b9 --- /dev/null +++ b/snippets/js/patterns/umd/js-umd-commonjs-adapter.sublime-snippet @@ -0,0 +1,30 @@ + + + jumd.ca + jumd - CommonJS Adapter + diff --git a/snippets/js/patterns/umd/js-umd-commonjs-strict-global.sublime-snippet b/snippets/js/patterns/umd/js-umd-commonjs-strict-global.sublime-snippet new file mode 100644 index 0000000..1c2b23d --- /dev/null +++ b/snippets/js/patterns/umd/js-umd-commonjs-strict-global.sublime-snippet @@ -0,0 +1,44 @@ + + + jumd.csg + jumd - CommonJS Strict Global + diff --git a/snippets/js/patterns/umd/js-umd-commonjs-strict.sublime-snippet b/snippets/js/patterns/umd/js-umd-commonjs-strict.sublime-snippet new file mode 100644 index 0000000..69438f4 --- /dev/null +++ b/snippets/js/patterns/umd/js-umd-commonjs-strict.sublime-snippet @@ -0,0 +1,42 @@ + + + jumd.cs + jumd - CommonJS Strict + diff --git a/snippets/js/patterns/umd/js-umd-jquery-plugin.sublime-snippet b/snippets/js/patterns/umd/js-umd-jquery-plugin.sublime-snippet new file mode 100644 index 0000000..0606c70 --- /dev/null +++ b/snippets/js/patterns/umd/js-umd-jquery-plugin.sublime-snippet @@ -0,0 +1,37 @@ + + + jumd.jp + jumd - jQuery plugin + diff --git a/snippets/js/patterns/umd/js-umd-node-adapter.sublime-snippet b/snippets/js/patterns/umd/js-umd-node-adapter.sublime-snippet new file mode 100644 index 0000000..2131401 --- /dev/null +++ b/snippets/js/patterns/umd/js-umd-node-adapter.sublime-snippet @@ -0,0 +1,29 @@ + + + jumd.na + jumd - Node Adapter + diff --git a/snippets/js/patterns/umd/js-umd-return-exports-global.sublime-snippet b/snippets/js/patterns/umd/js-umd-return-exports-global.sublime-snippet new file mode 100644 index 0000000..4566d87 --- /dev/null +++ b/snippets/js/patterns/umd/js-umd-return-exports-global.sublime-snippet @@ -0,0 +1,45 @@ + + + jumd.reg + jumd - Return Exports Global + diff --git a/snippets/js/patterns/umd/js-umd-return-exports.sublime-snippet b/snippets/js/patterns/umd/js-umd-return-exports.sublime-snippet new file mode 100644 index 0000000..61058d8 --- /dev/null +++ b/snippets/js/patterns/umd/js-umd-return-exports.sublime-snippet @@ -0,0 +1,65 @@ + + + jumd.re + jumd - Return Exports + diff --git a/snippets/schema/json-ld/README.md b/snippets/schema/json-ld/README.md index 61f529c..f493592 100644 --- a/snippets/schema/json-ld/README.md +++ b/snippets/schema/json-ld/README.md @@ -1,6 +1,6 @@ # JSON-LD Snippets -Prefix `sj.*` +## Prefix `sj.*` ## Organization diff --git a/snippets/schema/microdata/README.md b/snippets/schema/microdata/README.md index fb31aa7..1a279c7 100644 --- a/snippets/schema/microdata/README.md +++ b/snippets/schema/microdata/README.md @@ -1,6 +1,6 @@ # Microdata Snippets -Prefix `sm.*` +## Prefix `sm.*` ## Organization diff --git a/snippets/schema/rdfa/README.md b/snippets/schema/rdfa/README.md index 8963b42..f369f73 100644 --- a/snippets/schema/rdfa/README.md +++ b/snippets/schema/rdfa/README.md @@ -1,6 +1,6 @@ # RDFa Snippets -Prefix `sr.*` +## Prefix `sr.*` ## Organization diff --git a/snippets/structured-data/json-ld/README.md b/snippets/structured-data/json-ld/README.md index be2c9a1..a449e37 100644 --- a/snippets/structured-data/json-ld/README.md +++ b/snippets/structured-data/json-ld/README.md @@ -1,6 +1,6 @@ # JSON-LD -key: `z.jsonld` +## key: `z.jsonld` ### Logotype diff --git a/snippets/structured-data/microdata/README.md b/snippets/structured-data/microdata/README.md index 08c023f..3f88ac2 100644 --- a/snippets/structured-data/microdata/README.md +++ b/snippets/structured-data/microdata/README.md @@ -1,6 +1,6 @@ # Schema (microdata) -key: `z.microdata` +## key: `z.microdata` ### Organization diff --git a/snippets/structured-data/rdfa/README.md b/snippets/structured-data/rdfa/README.md index 907925c..00eac13 100644 --- a/snippets/structured-data/rdfa/README.md +++ b/snippets/structured-data/rdfa/README.md @@ -1,6 +1,6 @@ # RDFa -key: `z.rdfa` +## key: `z.rdfa` ### Breadcrumb From 7f8529844fe82b16e98df3550a7edb642178787a Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 26 Jan 2016 19:25:54 -0200 Subject: [PATCH 044/114] update: js patterns descriptions --- snippets/js/README.md | 1 + .../js/patterns/design-patterns/README.md | 50 +++++++++++++++++-- ...esign-patterns-constructor.sublime-snippet | 2 +- ...-design-patterns-prototype.sublime-snippet | 4 +- snippets/js/tests/README.md | 7 ++- snippets/js/tests/mocha/README.md | 4 +- snippets/js/tests/qunit/README.md | 4 +- snippets/js/tests/sinon/README.md | 4 +- 8 files changed, 62 insertions(+), 14 deletions(-) diff --git a/snippets/js/README.md b/snippets/js/README.md index 17c7a24..e85eaa2 100644 --- a/snippets/js/README.md +++ b/snippets/js/README.md @@ -5,6 +5,7 @@ - [jQuery](jquery/) - [Patterns](patterns/) - [Design Patterns](patterns/design-patterns/) + - [UMD](patterns/umd/) - [Tests](tests/) - [Common](common/) - [Chai](chai/) diff --git a/snippets/js/patterns/design-patterns/README.md b/snippets/js/patterns/design-patterns/README.md index 1288a2b..73e5d36 100644 --- a/snippets/js/patterns/design-patterns/README.md +++ b/snippets/js/patterns/design-patterns/README.md @@ -11,7 +11,22 @@ ### [jdp.constructor] Contructor ```javascript - +var ${1:ConstructorName} = (function() { + 'use strict'; + function ${1:ConstructorName}(${2:args}) { + // enforces new + if (!(this instanceof ${1:ConstructorName})) { + return new ${1:ConstructorName}(${2:args}); + } + ${3:// constructor body + } + } + ${4:${1:ConstructorName}.prototype.${5:methodName} = function(${6:args}) \{ + ${7:// method body + } + \}}; + return ${1:ConstructorName}; +}()); ``` ### [jdp.decorator] Decorator @@ -53,7 +68,15 @@ ### [jdp.module] Module ```javascript - +var ${1:moduleName} = (function() { + 'use strict'; + var ${1:moduleName} = { + init: { + $2 + } + }; + return ${1:moduleName}; +}()); ``` ### [jdp.observer] Observer @@ -65,7 +88,15 @@ ### [jdp.prototype] Prototype ```javascript - +function ${1:Car}() { + // constructor... +} +${2:${1:Car}.prototype.${3:drive} = function () \{ + ${4: // body... + } +\};} +return ${1:Car}; +${0} ``` ### [jdp.rmodule] Revealing Module @@ -77,5 +108,16 @@ ### [jdp.singleton] Singleton ```javascript - +var ${1:name} = (function() { + 'use strict'; + var instance; + ${1:name} = function(${2:args}) { + if (instance) { + return instance; + } + instance = this; + ${3:// your code goes here + } + }; + return ${1:name}; ``` diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet index 995a557..1174f19 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-constructor.sublime-snippet @@ -9,7 +9,7 @@ var ${1:ConstructorName} = (function() { } ${3:// constructor body} } - ${4:${1:ConstructorName}.prototype.${5:methodName} = function(${6:args}) { + ${4:${1:ConstructorName}.prototype.${5:methodName} = function(${6:args}) \{ ${7:// method body} \}}; return ${1:ConstructorName}; diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet index e97312d..69edd7c 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-prototype.sublime-snippet @@ -1,10 +1,10 @@ Date: Tue, 26 Jan 2016 20:04:12 -0200 Subject: [PATCH 045/114] fix: python filename --- snippets.json | 269 +++++++++++++---------- source/{duplication.py => duplicates.py} | 0 tests/test.py | 2 +- 3 files changed, 158 insertions(+), 113 deletions(-) rename source/{duplication.py => duplicates.py} (100%) diff --git a/snippets.json b/snippets.json index e0158b4..d491c62 100644 --- a/snippets.json +++ b/snippets.json @@ -1532,17 +1532,17 @@ { "description": "jq - parseHTML", "id": 307, - "trigger": "zjqp" + "trigger": "jq.parseh" }, { "description": "jq - parseJSON", "id": 308, - "trigger": "zjqp" + "trigger": "jq.parsej" }, { "description": "jq - parseXML", "id": 309, - "trigger": "zjqp" + "trigger": "jq.parsex" }, { "description": "jq - proxy", @@ -1635,493 +1635,538 @@ "trigger": "jdp.singleton" }, { - "description": "tc - Expect to.be.a", + "description": "jumd - AMD Web Global", "id": 328, - "trigger": "tc.tobea" + "trigger": "jumd.awg" }, { - "description": "tc - Expect to.equal", + "description": "jumd - AMD Web", "id": 329, - "trigger": "tc.toequal" + "trigger": "jumd.aw" }, { - "description": "tc - Expect to.have.length", + "description": "jumd - CommonJS Adapter", "id": 330, - "trigger": "tc.tohl" + "trigger": "jumd.ca" }, { - "description": "tc - Expect to.have.property", + "description": "jumd - CommonJS Strict Global", "id": 331, - "trigger": "tc.tohp" + "trigger": "jumd.csg" }, { - "description": "tc - Should be.a", + "description": "jumd - CommonJS Strict", "id": 332, - "trigger": "tc.bea" + "trigger": "jumd.cs" }, { - "description": "tc - Should equal", + "description": "jumd - jQuery plugin", "id": 333, - "trigger": "tc.equal" + "trigger": "jumd.jp" }, { - "description": "tc - Should have.length", + "description": "jumd - Node Adapter", "id": 334, - "trigger": "tc.hlength" + "trigger": "jumd.na" }, { - "description": "tc - Should have.property", + "description": "jumd - Return Exports Global", "id": 335, - "trigger": "tc.hproperty" + "trigger": "jumd.reg" }, { - "description": "tc - Assert equal", + "description": "jumd - Return Exports", "id": 336, - "trigger": "tc.equal" + "trigger": "jumd.re" }, { - "description": "tc - Assert lengthOf", + "description": "tc - Expect to.be.a", "id": 337, - "trigger": "tc.lengthof" + "trigger": "tc.e.tba" }, { - "description": "tc - Assert typeOf", + "description": "tc - Expect to.equal", "id": 338, - "trigger": "tc.typeof" + "trigger": "tc.e.te" }, { - "description": "t - afterEach", + "description": "tc - Expect to.have.length", "id": 339, + "trigger": "tc.e.thl" + }, + { + "description": "tc - Expect to.have.property", + "id": 340, + "trigger": "tc.e.thp" + }, + { + "description": "tc - Should be.a", + "id": 341, + "trigger": "tc.s.ba" + }, + { + "description": "tc - Should equal", + "id": 342, + "trigger": "tc.s.e" + }, + { + "description": "tc - Should have.length", + "id": 343, + "trigger": "tc.s.hl" + }, + { + "description": "tc - Should have.property", + "id": 344, + "trigger": "tc.s.hp" + }, + { + "description": "tc - Assert equal", + "id": 345, + "trigger": "tc.a.e" + }, + { + "description": "tc - Assert lengthOf", + "id": 346, + "trigger": "tc.a.lo" + }, + { + "description": "tc - Assert typeOf", + "id": 347, + "trigger": "tc.a.to" + }, + { + "description": "t - afterEach", + "id": 348, "trigger": "t.aftereach" }, { "description": "t - after", - "id": 340, + "id": 349, "trigger": "t.after" }, { "description": "t - beforeEach", - "id": 341, + "id": 350, "trigger": "t.beforeeach" }, { "description": "t - before", - "id": 342, + "id": 351, "trigger": "t.before" }, { "description": "t - describe", - "id": 343, + "id": 352, "trigger": "t.describe" }, { "description": "t - it", - "id": 344, + "id": 353, "trigger": "t.it" }, { "description": "tj - Expect toBeCloseTo", - "id": 345, + "id": 354, "trigger": "tj.closeto" }, { "description": "tj - Expect toBeContain", - "id": 346, + "id": 355, "trigger": "tj.contain" }, { "description": "tj - Expect toBeDefined", - "id": 347, + "id": 356, "trigger": "tj.defined" }, { "description": "tj - Expect toBeFalsy", - "id": 348, + "id": 357, "trigger": "tj.falsy" }, { "description": "tj - Expect toBeGreaterThan", - "id": 349, + "id": 358, "trigger": "tj.greaterthan" }, { "description": "tj - Expect toBeLessThan", - "id": 350, + "id": 359, "trigger": "tj.lessthan" }, { "description": "tj - Expect toBeNaN", - "id": 351, + "id": 360, "trigger": "tj.nan" }, { "description": "tj - Expect toBeNull", - "id": 352, + "id": 361, "trigger": "tj.null" }, { "description": "tj - Expect toBeTruthy", - "id": 353, + "id": 362, "trigger": "tj.truthy" }, { "description": "tj - Expect toBeUndefined", - "id": 354, + "id": 363, "trigger": "tj.undefined" }, { "description": "tj - Expect toBe", - "id": 355, + "id": 364, "trigger": "tj.tobe" }, { "description": "tj - Expect toEqual", - "id": 356, + "id": 365, "trigger": "tj.equal" }, { "description": "tj - Expect toHaveBeenCalledTimes", - "id": 357, + "id": 366, "trigger": "tj.hbctimes" }, { "description": "tj - Expect toHaveBeenCalledWith", - "id": 358, + "id": 367, "trigger": "tj.hbcwith" }, { "description": "tj - Expect toHaveBeenCalled", - "id": 359, + "id": 368, "trigger": "tj.hbc" }, { "description": "tj - Expect toMatch", - "id": 360, + "id": 369, "trigger": "tj.match" }, { "description": "tj - Expect toThrowError", - "id": 361, + "id": 370, "trigger": "tj.throwerror" }, { "description": "tj - Expect toThrow", - "id": 362, + "id": 371, "trigger": "tj.throw" }, { "description": "tn - Assert deepEqual", - "id": 363, + "id": 372, "trigger": "tn.dequal" }, { "description": "tn - Assert deepStrictEqual", - "id": 364, + "id": 373, "trigger": "tn.dsequal" }, { "description": "tn - Assert doesNotThrow", - "id": 365, + "id": 374, "trigger": "tn.dnthrow" }, { "description": "tn - Assert equal", - "id": 366, + "id": 375, "trigger": "tn.equal" }, { "description": "tn - Assert fail", - "id": 367, + "id": 376, "trigger": "tn.fail" }, { "description": "tn - Assert ifError", - "id": 368, + "id": 377, "trigger": "tn.iferror" }, { "description": "tn - Assert notDeepEqual", - "id": 369, + "id": 378, "trigger": "tn.ndequal" }, { "description": "tn - Assert notDeepStrictEqual", - "id": 370, + "id": 379, "trigger": "tn.ndsequal" }, { "description": "tn - Assert notEqual", - "id": 371, + "id": 380, "trigger": "tn.nequal" }, { "description": "tn - Assert notStrictEqual", - "id": 372, + "id": 381, "trigger": "tn.nsequal" }, { "description": "tn - Assert ok", - "id": 373, + "id": 382, "trigger": "tn.ok" }, { "description": "tn - Assert strictEqual", - "id": 374, + "id": 383, "trigger": "tn.sequal" }, { "description": "tn - Assert throws", - "id": 375, + "id": 384, "trigger": "tn.throws" }, { "description": "tn - Assert", - "id": 376, + "id": 385, "trigger": "tn.a" }, { "description": "j - if else", - "id": 377, + "id": 386, "trigger": "jifelse" }, { "description": "j - switch", - "id": 378, + "id": 387, "trigger": "jswitch" }, { "description": "j - console.dir", - "id": 379, + "id": 388, "trigger": "jcd" }, { "description": "j - console.error", - "id": 380, + "id": 389, "trigger": "jce" }, { "description": "j - console.info", - "id": 381, + "id": 390, "trigger": "jci" }, { "description": "j - console.log", - "id": 382, + "id": 391, "trigger": "jcl" }, { "description": "j - console.warn", - "id": 383, + "id": 392, "trigger": "jcw" }, { "description": "j - addEventListener", - "id": 384, + "id": 393, "trigger": "j-ael" }, { "description": "j - appendChild", - "id": 385, + "id": 394, "trigger": "jac" }, { "description": "j - classList.add", - "id": 386, + "id": 395, "trigger": "jcla" }, { "description": "j - classList.remove", - "id": 387, + "id": 396, "trigger": "jclr" }, { "description": "j - classList.toggle", - "id": 388, + "id": 397, "trigger": "jclt" }, { "description": "j - createDocumentFragment", - "id": 389, + "id": 398, "trigger": "jcdf" }, { "description": "j - createElement", - "id": 390, + "id": 399, "trigger": "jcel" }, { "description": "j - getAttribute", - "id": 391, + "id": 400, "trigger": "jgattr" }, { "description": "j - getElementById", - "id": 392, + "id": 401, "trigger": "jgid" }, { "description": "j - getElementsByClassName", - "id": 393, + "id": 402, "trigger": "jgclass" }, { "description": "j - getElementsByTagName", - "id": 394, + "id": 403, "trigger": "jgtag" }, { "description": "j - innerHTML", - "id": 395, + "id": 404, "trigger": "jih" }, { "description": "j - querySelectorAll", - "id": 396, + "id": 405, "trigger": "jqsa" }, { "description": "j - querySelector", - "id": 397, + "id": 406, "trigger": "jqs" }, { "description": "j - removeAttribute", - "id": 398, + "id": 407, "trigger": "jrattr" }, { "description": "j - removeChild", - "id": 399, + "id": 408, "trigger": "jrc" }, { "description": "j - setAttribute", - "id": 400, + "id": 409, "trigger": "jsattr" }, { "description": "j - textContent", - "id": 401, + "id": 410, "trigger": "jtc" }, { "description": "j - Anonymous Function", - "id": 402, + "id": 411, "trigger": "jafn" }, { "description": "j - Function apply", - "id": 403, + "id": 412, "trigger": "japply" }, { "description": "j - Function call", - "id": 404, + "id": 413, "trigger": "jcall" }, { "description": "j - Immediately-invoked function expression", - "id": 405, + "id": 414, "trigger": "j-iife" }, { "description": "j - Prototype", - "id": 406, + "id": 415, "trigger": "jprot" }, { "description": "j - Function", - "id": 407, + "id": 416, "trigger": "jfn" }, { "description": "j - JSON.parse", - "id": 408, + "id": 417, "trigger": "jjsonp" }, { "description": "j - JSON.stringify", - "id": 409, + "id": 418, "trigger": "jjsons" }, { "description": "j - do while", - "id": 410, + "id": 419, "trigger": "jdowhile" }, { "description": "j - forEach", - "id": 411, + "id": 420, "trigger": "jfore" }, { "description": "j - for in", - "id": 412, + "id": 421, "trigger": "jfori" }, { "description": "j - for", - "id": 413, + "id": 422, "trigger": "jfor" }, { "description": "j - while", - "id": 414, + "id": 423, "trigger": "jwhile" }, { "description": "j - setInterval", - "id": 415, + "id": 424, "trigger": "jsinterval" }, { "description": "j - setTimeout", - "id": 416, + "id": 425, "trigger": "jstimeout" }, { "description": "sm - Action", - "id": 417, + "id": 426, "trigger": "sm.action" }, { "description": "sm - Organization", - "id": 418, + "id": 427, "trigger": "sm.org" }, { "description": "jsonld - Logotype", - "id": 419, + "id": 428, "trigger": "z.jsonld" }, { "description": "microdata - Organization", - "id": 420, + "id": 429, "trigger": "z.microdata" }, { "description": "microdata - Article", - "id": 421, + "id": 430, "trigger": "z.microdata" }, { "description": "microdata - Book", - "id": 422, + "id": 431, "trigger": "z.microdata" }, { "description": "microdata - Game", - "id": 423, + "id": 432, "trigger": "z.microdata" }, { "description": "microdata - WebPage", - "id": 424, + "id": 433, "trigger": "z.microdata" }, { "description": "rdfa - Breadcrumb", - "id": 425, + "id": 434, "trigger": "z.rdfa" } ] \ No newline at end of file diff --git a/source/duplication.py b/source/duplicates.py similarity index 100% rename from source/duplication.py rename to source/duplicates.py diff --git a/tests/test.py b/tests/test.py index 6b9b2ac..8d2ebb9 100644 --- a/tests/test.py +++ b/tests/test.py @@ -3,7 +3,7 @@ import sys sys.path.append('../source/') from json_generator import get_json -from duplication import list_duplicates +from duplicates import list_duplicates import json import re import unittest From c5d8d0fd1fc03d8becf74be5ec7952c4bafc247d Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 07:25:40 -0200 Subject: [PATCH 046/114] fix: empty snippets --- .../js/patterns/design-patterns/README.md | 72 ++++++++++++++++++- ...js-design-patterns-command.sublime-snippet | 24 +++++++ ...-design-patterns-decorator.sublime-snippet | 19 +++++ .../js-design-patterns-facade.sublime-snippet | 19 +++++ ...js-design-patterns-factory.sublime-snippet | 2 +- ...-design-patterns-flyweight.sublime-snippet | 2 +- ...s-design-patterns-mediator.sublime-snippet | 2 +- .../js-design-patterns-mixin.sublime-snippet | 2 +- ...s-design-patterns-observer.sublime-snippet | 2 +- ...-patterns-revealing-module.sublime-snippet | 10 ++- 10 files changed, 147 insertions(+), 7 deletions(-) diff --git a/snippets/js/patterns/design-patterns/README.md b/snippets/js/patterns/design-patterns/README.md index 73e5d36..e76acdd 100644 --- a/snippets/js/patterns/design-patterns/README.md +++ b/snippets/js/patterns/design-patterns/README.md @@ -5,7 +5,31 @@ ### [jdp.command] Command ```javascript +(function(){ + + var ${1:carManager} = { + + ${2:requestInfo}: function( ${2:model}, ${3:id} ){ + return ${4:"The information for " + ${2:model} + " with ID " + ${3:id} + " is foobar"}; + }, + + ${5:buyVehicle}: function( ${5:model}, ${6:id} ){ + return ${7:"You have successfully purchased Item " + ${6:id} + ", a " + ${5:model}}; + }, + + ${8:arrangeViewing}: function( ${9:model}, ${10:id} ){ + return ${11:"You have successfully booked a viewing of " + ${9:model} + " ( " + ${10:id} + " ) "}; + } + + }; + + ${1:carManager}.${12:execute} = function ( ${13:name} ) { + return ${1:carManager}[${13:name}] && ${1:carManager}[${13:name}].apply( ${1:carManager}, [].slice.call(arguments, 1) ); + }; + + ${1:carManager}.${12:execute}( "${14:buyVehicle}", "${15:Ford Escort}", "${16:453543}" ); +})(); ``` ### [jdp.constructor] Contructor @@ -32,13 +56,51 @@ var ${1:ConstructorName} = (function() { ### [jdp.decorator] Decorator ```javascript +function ${1:vehicle}( ${2:vehicleType} ){ + this.${2:vehicleType} = ${2:vehicleType} || '${3:car}', + this.${4:model} = '${5:default}', + this.${6:license} = '${7:00000-000}' +} + +var ${8:testInstance} = new ${1:vehicle}('${3:car}'); +var ${9:truck} = new ${1:vehicle}('truck'); +${9:truck}.${10:setModel} = function( ${11:modelName} ){ + this.${4:model} = ${11:modelName}; +} +${9:truck}.${12:setColor} = function( ${13:color} ){ + this.${13:color} = ${13:color}; +} + +${9:truck}.${10:setModel}('${14:CAT}'); +${9:truck}.${12:setColor}('${15:blue}'); + +var ${16:secondInstance} = new ${1:vehicle}('${3:car}'); ``` ### [jdp.facade] Facade ```javascript +var ${1:MyModule} = ( function( window, undefined ) { + + function ${1:MyModule}() { + function ${2:someMethod}() { + ${3:alert( 'some method' );} + } + + function ${4:someOtherMethod}() { + ${5:alert( 'some other method' );} + } + + return { + ${2:someMethod} : function() { + ${2:someMethod}(); + } + }; + } + +} )( window ); ``` ### [jdp.factory] Factory @@ -102,7 +164,15 @@ ${0} ### [jdp.rmodule] Revealing Module ```javascript - +var ${1:revealingModuleName} = (function() { + 'use strict'; + function ${2:methodName}() { + ${3} + } + return { + ${2:methodName}:${2:methodName} + }; +}()); ``` ### [jdp.singleton] Singleton diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-command.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-command.sublime-snippet index bd6fe21..32b66c1 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-command.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-command.sublime-snippet @@ -1,6 +1,30 @@ jdp.command jdp - Command diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-decorator.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-decorator.sublime-snippet index d5052eb..9f8ab10 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-decorator.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-decorator.sublime-snippet @@ -1,6 +1,25 @@ jdp.decorator jdp - Decorator diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-facade.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-facade.sublime-snippet index f6bb399..b4d2468 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-facade.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-facade.sublime-snippet @@ -1,6 +1,25 @@ jdp.facade jdp - Facade diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet index a8d936a..57ff6b7 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet @@ -1,6 +1,6 @@ jdp.factory jdp - Factory diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet index 7dad98e..a17880e 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet @@ -1,6 +1,6 @@ jdp.flyweight jdp - Flyweight diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet index 3b260d8..b3f71b8 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet @@ -1,6 +1,6 @@ jdp.mediator jdp - Mediator diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet index 96eaaa6..a671ed0 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet @@ -1,6 +1,6 @@ jdp.mixin jdp - Mixin diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet index 5b751c7..c08ea5c 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet @@ -1,6 +1,6 @@ jdp.observer jdp - Observer diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-revealing-module.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-revealing-module.sublime-snippet index a470c12..d3344e5 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-revealing-module.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-revealing-module.sublime-snippet @@ -1,6 +1,14 @@ jdp.rmodule jdp - Revealing Module From a76c3af5bfead31f8c85cbfdfd9fc63d18dabb25 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 07:36:03 -0200 Subject: [PATCH 047/114] fix: js snippets keys --- snippets/js/vanilla/README.md | 2 +- snippets/js/vanilla/conditional/README.md | 4 +-- .../conditional/js-if-else.sublime-snippet | 2 +- .../conditional/js-switch.sublime-snippet | 2 +- snippets/js/vanilla/console/README.md | 10 +++--- .../console/js-console-dir.sublime-snippet | 2 +- .../console/js-console-error.sublime-snippet | 2 +- .../console/js-console-info.sublime-snippet | 2 +- .../console/js-console-log.sublime-snippet | 2 +- .../console/js-console-warn.sublime-snippet | 2 +- snippets/js/vanilla/dom/README.md | 36 +++++++++---------- .../js-dom-add-event-listener.sublime-snippet | 2 +- .../dom/js-dom-append-child.sublime-snippet | 2 +- .../dom/js-dom-class-list-add.sublime-snippet | 2 +- .../js-dom-class-list-remove.sublime-snippet | 2 +- .../js-dom-class-list-toggle.sublime-snippet | 2 +- ...m-create-document-fragment.sublime-snippet | 2 +- .../dom/js-dom-create-element.sublime-snippet | 2 +- .../dom/js-dom-get-attribute.sublime-snippet | 2 +- .../js-dom-get-element-by-id.sublime-snippet | 2 +- ...get-elements-by-class-name.sublime-snippet | 2 +- ...m-get-elements-by-tag-name.sublime-snippet | 2 +- .../dom/js-dom-inner-html.sublime-snippet | 2 +- .../js-dom-query-selector-all.sublime-snippet | 2 +- .../dom/js-dom-query-selector.sublime-snippet | 2 +- .../js-dom-remove-attribute.sublime-snippet | 2 +- .../dom/js-dom-remove-child.sublime-snippet | 2 +- .../dom/js-dom-set-attribute.sublime-snippet | 2 +- .../dom/js-dom-text-content.sublime-snippet | 2 +- snippets/js/vanilla/function/README.md | 12 +++---- .../js-function-anonymous.sublime-snippet | 2 +- .../js-function-apply.sublime-snippet | 2 +- .../function/js-function-call.sublime-snippet | 2 +- .../function/js-function-iife.sublime-snippet | 2 +- .../js-function-prototype.sublime-snippet | 2 +- .../function/js-function.sublime-snippet | 2 +- snippets/js/vanilla/json/README.md | 4 +-- .../json/js-json-parse.sublime-snippet | 2 +- .../json/js-json-stringify.sublime-snippet | 2 +- snippets/js/vanilla/loop/README.md | 10 +++--- .../loop/js-loop-do-while.sublime-snippet | 2 +- .../loop/js-loop-for-each.sublime-snippet | 2 +- .../loop/js-loop-for-in.sublime-snippet | 2 +- .../vanilla/loop/js-loop-for.sublime-snippet | 2 +- .../loop/js-loop-while.sublime-snippet | 2 +- snippets/js/vanilla/timer/README.md | 4 +-- .../js-timer-set-interval.sublime-snippet | 2 +- .../js-timer-set-timeout.sublime-snippet | 2 +- 48 files changed, 81 insertions(+), 81 deletions(-) diff --git a/snippets/js/vanilla/README.md b/snippets/js/vanilla/README.md index ee3ec42..2eccf79 100644 --- a/snippets/js/vanilla/README.md +++ b/snippets/js/vanilla/README.md @@ -1,6 +1,6 @@ # JavaScript Snippets -## Prefix `j*` +## Prefix `j.*` - [Conditional](conditional/) - if-else diff --git a/snippets/js/vanilla/conditional/README.md b/snippets/js/vanilla/conditional/README.md index 95f92ab..661b057 100644 --- a/snippets/js/vanilla/conditional/README.md +++ b/snippets/js/vanilla/conditional/README.md @@ -1,6 +1,6 @@ ## JavaScript Conditional Snippets -### [jifelse] if else +### [j.ifelse] if else ```javascript if (${1:condition}) { @@ -11,7 +11,7 @@ else { } ``` -### [jswitch] switch +### [j.switch] switch ```javascript switch (${1:expression}) { diff --git a/snippets/js/vanilla/conditional/js-if-else.sublime-snippet b/snippets/js/vanilla/conditional/js-if-else.sublime-snippet index 3f657f9..cc8bd13 100644 --- a/snippets/js/vanilla/conditional/js-if-else.sublime-snippet +++ b/snippets/js/vanilla/conditional/js-if-else.sublime-snippet @@ -7,6 +7,6 @@ else { ${3:second expression} } ]]> - jifelse + j.ifelse j - if else diff --git a/snippets/js/vanilla/conditional/js-switch.sublime-snippet b/snippets/js/vanilla/conditional/js-switch.sublime-snippet index d8768c0..5705318 100644 --- a/snippets/js/vanilla/conditional/js-switch.sublime-snippet +++ b/snippets/js/vanilla/conditional/js-switch.sublime-snippet @@ -15,6 +15,6 @@ switch (${1:expression}) { break; } ]]> - jswitch + j.switch j - switch diff --git a/snippets/js/vanilla/console/README.md b/snippets/js/vanilla/console/README.md index 63207f6..febdce9 100644 --- a/snippets/js/vanilla/console/README.md +++ b/snippets/js/vanilla/console/README.md @@ -1,30 +1,30 @@ ## JavaScript Console Snippets -### [jcd] console.dir +### [j.cd] console.dir ```javascript console.dir(${1:obj}); ``` -### [jce] console.error +### [j.ce] console.error ```javascript console.error(${1:obj}); ``` -### [jci] console.info +### [j.ci] console.info ```javascript console.info(${1:obj}); ``` -### [jcl] console.log +### [j.cl] console.log ```javascript console.log(${1:obj}); ``` -### [jcw] console.warn +### [j.cw] console.warn ```javascript console.warn(${1:obj}); diff --git a/snippets/js/vanilla/console/js-console-dir.sublime-snippet b/snippets/js/vanilla/console/js-console-dir.sublime-snippet index eb221e2..d0a6dba 100644 --- a/snippets/js/vanilla/console/js-console-dir.sublime-snippet +++ b/snippets/js/vanilla/console/js-console-dir.sublime-snippet @@ -2,6 +2,6 @@ - jcd + j.cd j - console.dir diff --git a/snippets/js/vanilla/console/js-console-error.sublime-snippet b/snippets/js/vanilla/console/js-console-error.sublime-snippet index f4fd889..fb9fddd 100644 --- a/snippets/js/vanilla/console/js-console-error.sublime-snippet +++ b/snippets/js/vanilla/console/js-console-error.sublime-snippet @@ -2,6 +2,6 @@ - jce + j.ce j - console.error diff --git a/snippets/js/vanilla/console/js-console-info.sublime-snippet b/snippets/js/vanilla/console/js-console-info.sublime-snippet index 9b584ba..b99f9e2 100644 --- a/snippets/js/vanilla/console/js-console-info.sublime-snippet +++ b/snippets/js/vanilla/console/js-console-info.sublime-snippet @@ -2,6 +2,6 @@ - jci + j.ci j - console.info diff --git a/snippets/js/vanilla/console/js-console-log.sublime-snippet b/snippets/js/vanilla/console/js-console-log.sublime-snippet index c875fb7..e59d39c 100644 --- a/snippets/js/vanilla/console/js-console-log.sublime-snippet +++ b/snippets/js/vanilla/console/js-console-log.sublime-snippet @@ -2,6 +2,6 @@ - jcl + j.cl j - console.log diff --git a/snippets/js/vanilla/console/js-console-warn.sublime-snippet b/snippets/js/vanilla/console/js-console-warn.sublime-snippet index cb4a3be..3aec28a 100644 --- a/snippets/js/vanilla/console/js-console-warn.sublime-snippet +++ b/snippets/js/vanilla/console/js-console-warn.sublime-snippet @@ -2,6 +2,6 @@ - jcw + j.cw j - console.warn diff --git a/snippets/js/vanilla/dom/README.md b/snippets/js/vanilla/dom/README.md index fd0eda1..907c070 100644 --- a/snippets/js/vanilla/dom/README.md +++ b/snippets/js/vanilla/dom/README.md @@ -1,6 +1,6 @@ ## JavaScript DOM Snippets -### [jael] addEventListener +### [j.ael] addEventListener ```javascript ${1:document}.addEventListener('${2:event}', function(event) { @@ -8,103 +8,103 @@ ${1:document}.addEventListener('${2:event}', function(event) { }); ``` -### [jac] appendChild +### [j.ac] appendChild ```javascript ${1:document}.appendChild(${2:element}); ``` -### [jcla] classList.add +### [j.cla] classList.add ```javascript ${1:document}.classList.add('${2:class}'); ``` -### [jclr] classList.remove +### [j.clr] classList.remove ```javascript ${1:document}.classList.remove('${2:class}'); ``` -### [jclt] classList.toggle +### [j.clt] classList.toggle ```javascript ${1:document}.classList.toggle('${2:class}'); ``` -### [jcdf] createDocumentFragment +### [j.cdf] createDocumentFragment ```javascript ${1:document}.createDocumentFragment(${2:element}); ``` -### [jcel] createElement +### [j.cel] createElement ```javascript ${1:document}.createElement(${2:element}); ``` -### [jgattr] getAttribute +### [j.gattr] getAttribute ```javascript ${1:document}.getAttribute('${2:attr}'); ``` -### [jgid] getElementById +### [j.gid] getElementById ```javascript ${1:document}.getElementById('${2:id}'); ``` -### [jgclass] getElementsByClassName +### [j.gclass] getElementsByClassName ```javascript ${1:document}.getElementsByClassName('${2:class}'); ``` -### [jgtag] getElementsByTagName +### [j.gtag] getElementsByTagName ```javascript ${1:document}.getElementsByTagName('${2:tag}'); ``` -### [jih] innerHTML +### [j.ih] innerHTML ```javascript ${1:document}.innerHTML = '${2:elem}'; ``` -### [jqsa] querySelectorAll +### [j.qsa] querySelectorAll ```javascript ${1:document}.querySelectorAll('${2:selector}'); ``` -### [jqs] querySelector +### [j.qs] querySelector ```javascript ${1:document}.querySelector('${2:selector}'); ``` -### [jrattr] removeAttribute +### [j.rattr] removeAttribute ```javascript ${1:document}.removeAttribute('${2:attr}'); ``` -### [jrc] removeChild +### [j.rc] removeChild ```javascript ${1:document}.removeChild(${2:element}); ``` -### [jsattr] setAttribute +### [j.sattr] setAttribute ```javascript ${1:document}.setAttribute('${2:attr}', ${3:value}); ``` -### [jtc] textContent +### [j.tc] textContent ```javascript ${1:document}.textContent = '${2:content}'; diff --git a/snippets/js/vanilla/dom/js-dom-add-event-listener.sublime-snippet b/snippets/js/vanilla/dom/js-dom-add-event-listener.sublime-snippet index e16e186..0cbde27 100644 --- a/snippets/js/vanilla/dom/js-dom-add-event-listener.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-add-event-listener.sublime-snippet @@ -4,6 +4,6 @@ ${1:document}.addEventListener('${2:event}', function(event) { ${3} }); ]]> - j-ael + j.-ael j - addEventListener diff --git a/snippets/js/vanilla/dom/js-dom-append-child.sublime-snippet b/snippets/js/vanilla/dom/js-dom-append-child.sublime-snippet index 353afee..de6548b 100644 --- a/snippets/js/vanilla/dom/js-dom-append-child.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-append-child.sublime-snippet @@ -2,6 +2,6 @@ - jac + j.ac j - appendChild diff --git a/snippets/js/vanilla/dom/js-dom-class-list-add.sublime-snippet b/snippets/js/vanilla/dom/js-dom-class-list-add.sublime-snippet index 5bb3e35..5e627e6 100644 --- a/snippets/js/vanilla/dom/js-dom-class-list-add.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-class-list-add.sublime-snippet @@ -2,6 +2,6 @@ - jcla + j.cla j - classList.add diff --git a/snippets/js/vanilla/dom/js-dom-class-list-remove.sublime-snippet b/snippets/js/vanilla/dom/js-dom-class-list-remove.sublime-snippet index 7c76adc..ed59b36 100644 --- a/snippets/js/vanilla/dom/js-dom-class-list-remove.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-class-list-remove.sublime-snippet @@ -2,6 +2,6 @@ - jclr + j.clr j - classList.remove diff --git a/snippets/js/vanilla/dom/js-dom-class-list-toggle.sublime-snippet b/snippets/js/vanilla/dom/js-dom-class-list-toggle.sublime-snippet index 16e1420..10ed059 100644 --- a/snippets/js/vanilla/dom/js-dom-class-list-toggle.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-class-list-toggle.sublime-snippet @@ -2,6 +2,6 @@ - jclt + j.clt j - classList.toggle diff --git a/snippets/js/vanilla/dom/js-dom-create-document-fragment.sublime-snippet b/snippets/js/vanilla/dom/js-dom-create-document-fragment.sublime-snippet index 8a29ed3..795828d 100644 --- a/snippets/js/vanilla/dom/js-dom-create-document-fragment.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-create-document-fragment.sublime-snippet @@ -2,6 +2,6 @@ - jcdf + j.cdf j - createDocumentFragment diff --git a/snippets/js/vanilla/dom/js-dom-create-element.sublime-snippet b/snippets/js/vanilla/dom/js-dom-create-element.sublime-snippet index cc7a5c3..cf019de 100644 --- a/snippets/js/vanilla/dom/js-dom-create-element.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-create-element.sublime-snippet @@ -2,6 +2,6 @@ - jcel + j.cel j - createElement diff --git a/snippets/js/vanilla/dom/js-dom-get-attribute.sublime-snippet b/snippets/js/vanilla/dom/js-dom-get-attribute.sublime-snippet index f0d2989..e6a9a5a 100644 --- a/snippets/js/vanilla/dom/js-dom-get-attribute.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-get-attribute.sublime-snippet @@ -2,6 +2,6 @@ - jgattr + j.gattr j - getAttribute diff --git a/snippets/js/vanilla/dom/js-dom-get-element-by-id.sublime-snippet b/snippets/js/vanilla/dom/js-dom-get-element-by-id.sublime-snippet index d2098fe..14afd16 100644 --- a/snippets/js/vanilla/dom/js-dom-get-element-by-id.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-get-element-by-id.sublime-snippet @@ -2,6 +2,6 @@ - jgid + j.gid j - getElementById diff --git a/snippets/js/vanilla/dom/js-dom-get-elements-by-class-name.sublime-snippet b/snippets/js/vanilla/dom/js-dom-get-elements-by-class-name.sublime-snippet index b529920..00e78fd 100644 --- a/snippets/js/vanilla/dom/js-dom-get-elements-by-class-name.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-get-elements-by-class-name.sublime-snippet @@ -2,6 +2,6 @@ - jgclass + j.gclass j - getElementsByClassName diff --git a/snippets/js/vanilla/dom/js-dom-get-elements-by-tag-name.sublime-snippet b/snippets/js/vanilla/dom/js-dom-get-elements-by-tag-name.sublime-snippet index 9a12f63..9038fbb 100644 --- a/snippets/js/vanilla/dom/js-dom-get-elements-by-tag-name.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-get-elements-by-tag-name.sublime-snippet @@ -2,6 +2,6 @@ - jgtag + j.gtag j - getElementsByTagName diff --git a/snippets/js/vanilla/dom/js-dom-inner-html.sublime-snippet b/snippets/js/vanilla/dom/js-dom-inner-html.sublime-snippet index b42aadc..55d8fda 100644 --- a/snippets/js/vanilla/dom/js-dom-inner-html.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-inner-html.sublime-snippet @@ -2,6 +2,6 @@ - jih + j.ih j - innerHTML diff --git a/snippets/js/vanilla/dom/js-dom-query-selector-all.sublime-snippet b/snippets/js/vanilla/dom/js-dom-query-selector-all.sublime-snippet index 68b9866..381c9ec 100644 --- a/snippets/js/vanilla/dom/js-dom-query-selector-all.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-query-selector-all.sublime-snippet @@ -2,6 +2,6 @@ - jqsa + j.qsa j - querySelectorAll diff --git a/snippets/js/vanilla/dom/js-dom-query-selector.sublime-snippet b/snippets/js/vanilla/dom/js-dom-query-selector.sublime-snippet index 7e414ad..e4639cd 100644 --- a/snippets/js/vanilla/dom/js-dom-query-selector.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-query-selector.sublime-snippet @@ -2,6 +2,6 @@ - jqs + j.qs j - querySelector diff --git a/snippets/js/vanilla/dom/js-dom-remove-attribute.sublime-snippet b/snippets/js/vanilla/dom/js-dom-remove-attribute.sublime-snippet index 5fe68ce..a54e80e 100644 --- a/snippets/js/vanilla/dom/js-dom-remove-attribute.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-remove-attribute.sublime-snippet @@ -2,6 +2,6 @@ - jrattr + j.rattr j - removeAttribute diff --git a/snippets/js/vanilla/dom/js-dom-remove-child.sublime-snippet b/snippets/js/vanilla/dom/js-dom-remove-child.sublime-snippet index 82a7a6c..d2ec106 100644 --- a/snippets/js/vanilla/dom/js-dom-remove-child.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-remove-child.sublime-snippet @@ -2,6 +2,6 @@ - jrc + j.rc j - removeChild diff --git a/snippets/js/vanilla/dom/js-dom-set-attribute.sublime-snippet b/snippets/js/vanilla/dom/js-dom-set-attribute.sublime-snippet index 1c97e83..ffcecc1 100644 --- a/snippets/js/vanilla/dom/js-dom-set-attribute.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-set-attribute.sublime-snippet @@ -2,6 +2,6 @@ - jsattr + j.sattr j - setAttribute diff --git a/snippets/js/vanilla/dom/js-dom-text-content.sublime-snippet b/snippets/js/vanilla/dom/js-dom-text-content.sublime-snippet index 07ec84b..2d67a94 100644 --- a/snippets/js/vanilla/dom/js-dom-text-content.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-text-content.sublime-snippet @@ -2,6 +2,6 @@ - jtc + j.tc j - textContent diff --git a/snippets/js/vanilla/function/README.md b/snippets/js/vanilla/function/README.md index 16bea07..f8dca55 100644 --- a/snippets/js/vanilla/function/README.md +++ b/snippets/js/vanilla/function/README.md @@ -1,6 +1,6 @@ ## JavaScript Function Snippets -### [jafn] Anonymous Function +### [j.afn] Anonymous Function ```javascript function(${1:arguments}) { @@ -8,19 +8,19 @@ function(${1:arguments}) { } ``` -### [japply] Function apply +### [j.apply] Function apply ```javascript ${1:methodName}.apply(${2:context}, [${3:arguments}]) ``` -### [jcall] Function call +### [j.call] Function call ```javascript ${1:methodName}.call(${2:context}, ${3:arguments}) ``` -### [jiife] Immediately-invoked function expression +### [j.iife] Immediately-invoked function expression ```javascript (function(window, document, undefined) { @@ -28,7 +28,7 @@ ${1:methodName}.call(${2:context}, ${3:arguments}) })(window, document); ``` -### [jprot] Prototype +### [j.prot] Prototype ```javascript ${1:ClassName}.prototype.${2:methodName} = function(${3:arguments}) { @@ -36,7 +36,7 @@ ${1:ClassName}.prototype.${2:methodName} = function(${3:arguments}) { } ``` -### [jfn] Function +### [j.fn] Function ```javascript function ${1:methodName}(${2:arguments}) { diff --git a/snippets/js/vanilla/function/js-function-anonymous.sublime-snippet b/snippets/js/vanilla/function/js-function-anonymous.sublime-snippet index 6c71a51..8040059 100644 --- a/snippets/js/vanilla/function/js-function-anonymous.sublime-snippet +++ b/snippets/js/vanilla/function/js-function-anonymous.sublime-snippet @@ -4,6 +4,6 @@ function(${1:arguments}) { ${2} } ]]> - jafn + j.afn j - Anonymous Function diff --git a/snippets/js/vanilla/function/js-function-apply.sublime-snippet b/snippets/js/vanilla/function/js-function-apply.sublime-snippet index cf4b56e..1313db3 100644 --- a/snippets/js/vanilla/function/js-function-apply.sublime-snippet +++ b/snippets/js/vanilla/function/js-function-apply.sublime-snippet @@ -2,6 +2,6 @@ - japply + j.apply j - Function apply diff --git a/snippets/js/vanilla/function/js-function-call.sublime-snippet b/snippets/js/vanilla/function/js-function-call.sublime-snippet index a435e0c..46dd8b6 100644 --- a/snippets/js/vanilla/function/js-function-call.sublime-snippet +++ b/snippets/js/vanilla/function/js-function-call.sublime-snippet @@ -2,6 +2,6 @@ - jcall + j.call j - Function call diff --git a/snippets/js/vanilla/function/js-function-iife.sublime-snippet b/snippets/js/vanilla/function/js-function-iife.sublime-snippet index 80e5d07..8d04cbf 100644 --- a/snippets/js/vanilla/function/js-function-iife.sublime-snippet +++ b/snippets/js/vanilla/function/js-function-iife.sublime-snippet @@ -4,6 +4,6 @@ ${1} })(window, document); ]]> - j-iife + j.-iife j - Immediately-invoked function expression diff --git a/snippets/js/vanilla/function/js-function-prototype.sublime-snippet b/snippets/js/vanilla/function/js-function-prototype.sublime-snippet index 697df56..73f4f49 100644 --- a/snippets/js/vanilla/function/js-function-prototype.sublime-snippet +++ b/snippets/js/vanilla/function/js-function-prototype.sublime-snippet @@ -4,6 +4,6 @@ ${1:ClassName}.prototype.${2:methodName} = function(${3:arguments}) { ${4} } ]]> - jprot + j.prot j - Prototype diff --git a/snippets/js/vanilla/function/js-function.sublime-snippet b/snippets/js/vanilla/function/js-function.sublime-snippet index 89a1fc2..461d810 100644 --- a/snippets/js/vanilla/function/js-function.sublime-snippet +++ b/snippets/js/vanilla/function/js-function.sublime-snippet @@ -4,6 +4,6 @@ function ${1:methodName}(${2:arguments}) { ${3} } ]]> - jfn + j.fn j - Function diff --git a/snippets/js/vanilla/json/README.md b/snippets/js/vanilla/json/README.md index bb5cf0c..3356ae3 100644 --- a/snippets/js/vanilla/json/README.md +++ b/snippets/js/vanilla/json/README.md @@ -1,12 +1,12 @@ ## JavaScript JSON Snippets -### [jjsonp] JSON.parse +### [j.jsonp] JSON.parse ```javascript JSON.parse(${1:obj}); ``` -### [jjsons] JSON.stringify +### [j.jsons] JSON.stringify ```javascript JSON.stringify(${1:obj}); diff --git a/snippets/js/vanilla/json/js-json-parse.sublime-snippet b/snippets/js/vanilla/json/js-json-parse.sublime-snippet index dc77961..3d64e78 100644 --- a/snippets/js/vanilla/json/js-json-parse.sublime-snippet +++ b/snippets/js/vanilla/json/js-json-parse.sublime-snippet @@ -2,6 +2,6 @@ - jjsonp + j.jsonp j - JSON.parse diff --git a/snippets/js/vanilla/json/js-json-stringify.sublime-snippet b/snippets/js/vanilla/json/js-json-stringify.sublime-snippet index aa520ae..dca57e8 100644 --- a/snippets/js/vanilla/json/js-json-stringify.sublime-snippet +++ b/snippets/js/vanilla/json/js-json-stringify.sublime-snippet @@ -2,6 +2,6 @@ - jjsons + j.jsons j - JSON.stringify diff --git a/snippets/js/vanilla/loop/README.md b/snippets/js/vanilla/loop/README.md index ef1ca7f..afa8755 100644 --- a/snippets/js/vanilla/loop/README.md +++ b/snippets/js/vanilla/loop/README.md @@ -1,6 +1,6 @@ ## JavaScript Loop Snippets -### [jdowhile] do while +### [j.dowhile] do while ```javascript do { @@ -8,7 +8,7 @@ do { } while (${2:condition}); ``` -### [jfore] forEach +### [j.fore] forEach ```javascript ${1:myArray}.forEach(function(${2:element}) { @@ -16,7 +16,7 @@ ${1:myArray}.forEach(function(${2:element}) { }); ``` -### [jfori] for in +### [j.fori] for in ```javascript for (${1:prop} in ${2:obj}) { @@ -26,7 +26,7 @@ for (${1:prop} in ${2:obj}) { } ``` -### [jfor] for +### [j.for] for ```javascript for (var i = ${1:0}, len = ${2:10}; i ${3:<=} len; i${4:++} ) { @@ -34,7 +34,7 @@ for (var i = ${1:0}, len = ${2:10}; i ${3:<=} len; i${4:++} ) { } ``` -### [jwhile] while +### [j.while] while ```javascript while (${1:condition}) { diff --git a/snippets/js/vanilla/loop/js-loop-do-while.sublime-snippet b/snippets/js/vanilla/loop/js-loop-do-while.sublime-snippet index e36b0d7..2f00269 100644 --- a/snippets/js/vanilla/loop/js-loop-do-while.sublime-snippet +++ b/snippets/js/vanilla/loop/js-loop-do-while.sublime-snippet @@ -4,6 +4,6 @@ do { ${1:expression} } while (${2:condition}); ]]> - jdowhile + j.dowhile j - do while diff --git a/snippets/js/vanilla/loop/js-loop-for-each.sublime-snippet b/snippets/js/vanilla/loop/js-loop-for-each.sublime-snippet index c327ee0..428fcd1 100644 --- a/snippets/js/vanilla/loop/js-loop-for-each.sublime-snippet +++ b/snippets/js/vanilla/loop/js-loop-for-each.sublime-snippet @@ -4,6 +4,6 @@ ${1:myArray}.forEach(function(${2:element}) { ${3} }); ]]> - jfore + j.fore j - forEach diff --git a/snippets/js/vanilla/loop/js-loop-for-in.sublime-snippet b/snippets/js/vanilla/loop/js-loop-for-in.sublime-snippet index 2372b03..09539ab 100644 --- a/snippets/js/vanilla/loop/js-loop-for-in.sublime-snippet +++ b/snippets/js/vanilla/loop/js-loop-for-in.sublime-snippet @@ -6,6 +6,6 @@ for (${1:prop} in ${2:obj}) { } } ]]> - jfori + j.fori j - for in diff --git a/snippets/js/vanilla/loop/js-loop-for.sublime-snippet b/snippets/js/vanilla/loop/js-loop-for.sublime-snippet index 238d362..c11095c 100644 --- a/snippets/js/vanilla/loop/js-loop-for.sublime-snippet +++ b/snippets/js/vanilla/loop/js-loop-for.sublime-snippet @@ -4,6 +4,6 @@ for (var i = ${1:0}, len = ${2:10}; i ${3:<=} len; i${4:++} ) { ${5} } ]]> - jfor + j.for j - for diff --git a/snippets/js/vanilla/loop/js-loop-while.sublime-snippet b/snippets/js/vanilla/loop/js-loop-while.sublime-snippet index c7792f2..2a43e77 100644 --- a/snippets/js/vanilla/loop/js-loop-while.sublime-snippet +++ b/snippets/js/vanilla/loop/js-loop-while.sublime-snippet @@ -4,6 +4,6 @@ while (${1:condition}) { ${2:expression} } ]]> - jwhile + j.while j - while diff --git a/snippets/js/vanilla/timer/README.md b/snippets/js/vanilla/timer/README.md index b9d0346..b216270 100644 --- a/snippets/js/vanilla/timer/README.md +++ b/snippets/js/vanilla/timer/README.md @@ -1,6 +1,6 @@ ## JavaScript Timer Snippets -### [jsinterval] setInterval +### [j.sinterval] setInterval ```javascript setInterval(function() { @@ -8,7 +8,7 @@ setInterval(function() { }, ${1:delay}); ``` -### [jstimeout] setTimeout +### [j.stimeout] setTimeout ```javascript setTimeout(function() { diff --git a/snippets/js/vanilla/timer/js-timer-set-interval.sublime-snippet b/snippets/js/vanilla/timer/js-timer-set-interval.sublime-snippet index 3369f11..6aa2b28 100644 --- a/snippets/js/vanilla/timer/js-timer-set-interval.sublime-snippet +++ b/snippets/js/vanilla/timer/js-timer-set-interval.sublime-snippet @@ -4,6 +4,6 @@ setInterval(function() { ${2} }, ${1:delay}); ]]> - jsinterval + j.sinterval j - setInterval diff --git a/snippets/js/vanilla/timer/js-timer-set-timeout.sublime-snippet b/snippets/js/vanilla/timer/js-timer-set-timeout.sublime-snippet index 2281d91..6b0ad6c 100644 --- a/snippets/js/vanilla/timer/js-timer-set-timeout.sublime-snippet +++ b/snippets/js/vanilla/timer/js-timer-set-timeout.sublime-snippet @@ -4,6 +4,6 @@ setTimeout(function() { ${2} }, ${1:delay}); ]]> - jstimeout + j.stimeout j - setTimeout From 202bd59fc698450badc0f1b0f574dbb3e9814ceb Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 07:44:27 -0200 Subject: [PATCH 048/114] update: snippets json --- .gitignore | 2 +- snippets.json | 80 +++++++++++++++++++++++++-------------------------- 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.gitignore b/.gitignore index b999ca6..86989b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ source/json_generator.pyc -source/duplication.pyc +source/duplicates.pyc diff --git a/snippets.json b/snippets.json index d491c62..7875fd8 100644 --- a/snippets.json +++ b/snippets.json @@ -1927,202 +1927,202 @@ { "description": "j - if else", "id": 386, - "trigger": "jifelse" + "trigger": "j.ifelse" }, { "description": "j - switch", "id": 387, - "trigger": "jswitch" + "trigger": "j.switch" }, { "description": "j - console.dir", "id": 388, - "trigger": "jcd" + "trigger": "j.cd" }, { "description": "j - console.error", "id": 389, - "trigger": "jce" + "trigger": "j.ce" }, { "description": "j - console.info", "id": 390, - "trigger": "jci" + "trigger": "j.ci" }, { "description": "j - console.log", "id": 391, - "trigger": "jcl" + "trigger": "j.cl" }, { "description": "j - console.warn", "id": 392, - "trigger": "jcw" + "trigger": "j.cw" }, { "description": "j - addEventListener", "id": 393, - "trigger": "j-ael" + "trigger": "j.-ael" }, { "description": "j - appendChild", "id": 394, - "trigger": "jac" + "trigger": "j.ac" }, { "description": "j - classList.add", "id": 395, - "trigger": "jcla" + "trigger": "j.cla" }, { "description": "j - classList.remove", "id": 396, - "trigger": "jclr" + "trigger": "j.clr" }, { "description": "j - classList.toggle", "id": 397, - "trigger": "jclt" + "trigger": "j.clt" }, { "description": "j - createDocumentFragment", "id": 398, - "trigger": "jcdf" + "trigger": "j.cdf" }, { "description": "j - createElement", "id": 399, - "trigger": "jcel" + "trigger": "j.cel" }, { "description": "j - getAttribute", "id": 400, - "trigger": "jgattr" + "trigger": "j.gattr" }, { "description": "j - getElementById", "id": 401, - "trigger": "jgid" + "trigger": "j.gid" }, { "description": "j - getElementsByClassName", "id": 402, - "trigger": "jgclass" + "trigger": "j.gclass" }, { "description": "j - getElementsByTagName", "id": 403, - "trigger": "jgtag" + "trigger": "j.gtag" }, { "description": "j - innerHTML", "id": 404, - "trigger": "jih" + "trigger": "j.ih" }, { "description": "j - querySelectorAll", "id": 405, - "trigger": "jqsa" + "trigger": "j.qsa" }, { "description": "j - querySelector", "id": 406, - "trigger": "jqs" + "trigger": "j.qs" }, { "description": "j - removeAttribute", "id": 407, - "trigger": "jrattr" + "trigger": "j.rattr" }, { "description": "j - removeChild", "id": 408, - "trigger": "jrc" + "trigger": "j.rc" }, { "description": "j - setAttribute", "id": 409, - "trigger": "jsattr" + "trigger": "j.sattr" }, { "description": "j - textContent", "id": 410, - "trigger": "jtc" + "trigger": "j.tc" }, { "description": "j - Anonymous Function", "id": 411, - "trigger": "jafn" + "trigger": "j.afn" }, { "description": "j - Function apply", "id": 412, - "trigger": "japply" + "trigger": "j.apply" }, { "description": "j - Function call", "id": 413, - "trigger": "jcall" + "trigger": "j.call" }, { "description": "j - Immediately-invoked function expression", "id": 414, - "trigger": "j-iife" + "trigger": "j.-iife" }, { "description": "j - Prototype", "id": 415, - "trigger": "jprot" + "trigger": "j.prot" }, { "description": "j - Function", "id": 416, - "trigger": "jfn" + "trigger": "j.fn" }, { "description": "j - JSON.parse", "id": 417, - "trigger": "jjsonp" + "trigger": "j.jsonp" }, { "description": "j - JSON.stringify", "id": 418, - "trigger": "jjsons" + "trigger": "j.jsons" }, { "description": "j - do while", "id": 419, - "trigger": "jdowhile" + "trigger": "j.dowhile" }, { "description": "j - forEach", "id": 420, - "trigger": "jfore" + "trigger": "j.fore" }, { "description": "j - for in", "id": 421, - "trigger": "jfori" + "trigger": "j.fori" }, { "description": "j - for", "id": 422, - "trigger": "jfor" + "trigger": "j.for" }, { "description": "j - while", "id": 423, - "trigger": "jwhile" + "trigger": "j.while" }, { "description": "j - setInterval", "id": 424, - "trigger": "jsinterval" + "trigger": "j.sinterval" }, { "description": "j - setTimeout", "id": 425, - "trigger": "jstimeout" + "trigger": "j.stimeout" }, { "description": "sm - Action", From 4e4062ddf1002b2d8e6bb9314c382f84bd4ecdcd Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 17:17:10 -0200 Subject: [PATCH 049/114] fix: to prevent .(dot) from cancelling autocomplete --- Preferences.sublime-settings | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Preferences.sublime-settings diff --git a/Preferences.sublime-settings b/Preferences.sublime-settings new file mode 100644 index 0000000..a2a75fd --- /dev/null +++ b/Preferences.sublime-settings @@ -0,0 +1,3 @@ +{ + "word_separators": "/\\()\"‘-:,;~!@#$%^&*|+=[]{}`~?" +} From bafd57b24005e693c599269281cb5794d3d7c7b1 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 17:24:17 -0200 Subject: [PATCH 050/114] fix: update main image --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a127738..cc5a33e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/LICENSE.md) [![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) -![animation](https://cloud.githubusercontent.com/assets/1963897/12556266/3a0effa0-c36c-11e5-999b-4f5568bffc0f.gif) +![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) ## Install From 13abaa01e3fb5f27f2fad063d156908899f1fe10 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 17:47:16 -0200 Subject: [PATCH 051/114] fix: trigger with syntax error --- .../jq-selectors-next-siblings-selector.sublime-snippet | 2 +- .../jquery/traversing/jq-traversing-siblings.sublime-snippet | 2 +- .../jquery/traversing/jq-traversing-slice.sublime-snippet | 2 +- .../js/vanilla/dom/js-dom-add-event-listener.sublime-snippet | 2 +- snippets/js/vanilla/function/js-function-iife.sublime-snippet | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet b/snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet index 207df00..ef59340 100644 --- a/snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet +++ b/snippets/js/libraries/jquery/selectors/jq-selectors-next-siblings-selector.sublime-snippet @@ -2,6 +2,6 @@ - jq.-snss + jq.snss jq - Next Siblings diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet index 9fce593..cbc403e 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-siblings.sublime-snippet @@ -2,6 +2,6 @@ - jq.-ts + jq.ts jq - siblings diff --git a/snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet b/snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet index 8aa2bf6..3e0774b 100644 --- a/snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet +++ b/snippets/js/libraries/jquery/traversing/jq-traversing-slice.sublime-snippet @@ -2,6 +2,6 @@ - jq.-tsl + jq.tsl jq - slice diff --git a/snippets/js/vanilla/dom/js-dom-add-event-listener.sublime-snippet b/snippets/js/vanilla/dom/js-dom-add-event-listener.sublime-snippet index 0cbde27..fdded62 100644 --- a/snippets/js/vanilla/dom/js-dom-add-event-listener.sublime-snippet +++ b/snippets/js/vanilla/dom/js-dom-add-event-listener.sublime-snippet @@ -4,6 +4,6 @@ ${1:document}.addEventListener('${2:event}', function(event) { ${3} }); ]]> - j.-ael + j.ael j - addEventListener diff --git a/snippets/js/vanilla/function/js-function-iife.sublime-snippet b/snippets/js/vanilla/function/js-function-iife.sublime-snippet index 8d04cbf..e84d741 100644 --- a/snippets/js/vanilla/function/js-function-iife.sublime-snippet +++ b/snippets/js/vanilla/function/js-function-iife.sublime-snippet @@ -4,6 +4,6 @@ ${1} })(window, document); ]]> - j.-iife + j.iife j - Immediately-invoked function expression From 4ff877da6889b35c1b0c92e95d25dc71005032c3 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 21:30:22 -0200 Subject: [PATCH 052/114] add: qunit snippets --- snippets/js/tests/qunit/README.md | 170 +++++++++++++++++- .../qunit/qunit-assert-async.sublime-snippet | 7 + .../qunit-assert-deep-equal.sublime-snippet | 7 + .../qunit/qunit-assert-equal.sublime-snippet | 7 + ...unit-assert-not-deep-equal.sublime-snippet | 7 + .../qunit-assert-not-equal.sublime-snippet | 7 + .../qunit/qunit-assert-not-ok.sublime-snippet | 7 + ...unit-assert-not-prop-equal.sublime-snippet | 7 + ...it-assert-not-strict-equal.sublime-snippet | 7 + .../qunit/qunit-assert-ok.sublime-snippet | 7 + .../qunit-assert-prop-equal.sublime-snippet | 7 + .../qunit-assert-strict-equal.sublime-snippet | 7 + .../qunit/qunit-assert-throws.sublime-snippet | 7 + .../tests/qunit/qunit-begin.sublime-snippet | 7 + .../tests/qunit/qunit-config.sublime-snippet | 7 + .../js/tests/qunit/qunit-done.sublime-snippet | 7 + .../qunit/qunit-dump-parse.sublime-snippet | 7 + .../tests/qunit/qunit-expect.sublime-snippet | 7 + .../tests/qunit/qunit-extend.sublime-snippet | 7 + .../js/tests/qunit/qunit-log.sublime-snippet | 7 + .../qunit/qunit-module-done.sublime-snippet | 7 + .../qunit/qunit-module-start.sublime-snippet | 7 + .../tests/qunit/qunit-module.sublime-snippet | 7 + .../js/tests/qunit/qunit-only.sublime-snippet | 7 + .../js/tests/qunit/qunit-push.sublime-snippet | 7 + .../js/tests/qunit/qunit-skip.sublime-snippet | 7 + .../tests/qunit/qunit-stack.sublime-snippet | 7 + .../qunit/qunit-test-done.sublime-snippet | 7 + .../qunit/qunit-test-start.sublime-snippet | 7 + .../js/tests/qunit/qunit-test.sublime-snippet | 7 + 30 files changed, 372 insertions(+), 1 deletion(-) create mode 100644 snippets/js/tests/qunit/qunit-assert-async.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-deep-equal.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-equal.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-not-deep-equal.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-not-equal.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-not-ok.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-not-prop-equal.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-not-strict-equal.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-ok.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-prop-equal.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-strict-equal.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-assert-throws.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-begin.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-config.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-done.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-dump-parse.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-expect.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-extend.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-log.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-module-done.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-module-start.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-module.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-only.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-push.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-skip.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-stack.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-test-done.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-test-start.sublime-snippet create mode 100644 snippets/js/tests/qunit/qunit-test.sublime-snippet diff --git a/snippets/js/tests/qunit/README.md b/snippets/js/tests/qunit/README.md index 9c61884..93101ab 100644 --- a/snippets/js/tests/qunit/README.md +++ b/snippets/js/tests/qunit/README.md @@ -2,8 +2,176 @@ ## Prefix `tq.*` -### [tq.] +### [tq.async] async ```javascript +assert.async(${1:acceptCallCount}); +``` + +### [tq.dequal] deepEqual + +```javascript +assert.deepEqual(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tq.equal] equal + +```javascript +assert.equal(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tq.ndequal] notDeepEqual + +```javascript +assert.notDeepEqual(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tq.nequal] notEqual + +```javascript +assert.notEqual(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tq.nok] notOk + +```javascript +assert.notOk(${1:state} ${2:, message}); +``` + +### [tq.npequal] notPropEqual + +```javascript +assert.notPropEqual(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tq.nsequal] notStrictEqual + +```javascript +assert.notStrictEqual(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tq.ok] ok + +```javascript +assert.ok(${1:state} ${2:, message}); +``` + +### [tq.pequal] propEqual + +```javascript +assert.propEqual(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tq.sequal] strictEqual + +```javascript +assert.strictEqual(${1:actual}, ${2:expected} ${3:, message}); +``` + +### [tq.throws] throws +```javascript +assert.throws(${1:block}${2:, expected}${3:, message}); +``` + +### [tq.begin] QUnit.begin + +```javascript +QUnit.begin(${1:callback}) +``` + +### [tq.config] QUnit.config + +```javascript +QUnit.config.${1:urlConfig} +``` + +### [tq.done] QUnit.done + +```javascript +QUnit.done(${1:callback}); +``` + +### [tq.dparse] QUnit.dump.parse + +```javascript +QUnit.dump.parse(${1:data}); +``` + +### [tq.expect] Expect + +```javascript +QUnit.expect(${1:amount}); +``` + +### [tq.extend] QUnit.extend + +```javascript +QUnit.extend(${1:target}, ${2:mixin}); +``` + +### [tq.log] QUnit.log + +```javascript +QUnit.log(${1:callback}); +``` + +### [tq.mdone] QUnit.moduleDone + +```javascript +QUnit.moduleDone(${1:callback}); +``` + +### [tq.mstart] QUnit.moduleStart + +```javascript +QUnit.moduleStart(${1:callback}); +``` + +### [tq.module] QUnit.module + +```javascript +QUnit.module(${1:name}${2:, hooks}${3:, nested}); +``` + +### [tq.only] QUnit.only + +```javascript +QUnit.only(${1:name}, ${2:callback}); +``` + +### [tq.push] push + +```javascript +${1:this}.push(${2:result}, ${3:actual}, ${4:expected}, ${5:message}); +``` + +### [tq.skip] QUnit.skip + +```javascript +QUnit.skip(${1:name}); +``` + +### [tq.stack] QUnit.stack + +```javascript +QUnit.stack(${1:offset}); +``` + +### [tq.tdone] QUnit.testDone + +```javascript +QUnit.testDone(${1:callback}); +``` + +### [tq.tstart] QUnit.testStart + +```javascript +QUnit.testStart(${1:callback}); +``` + +### [tq.test] Test + +```javascript +QUnit.test(${1:name}, ${2:callback}); ``` diff --git a/snippets/js/tests/qunit/qunit-assert-async.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-async.sublime-snippet new file mode 100644 index 0000000..8988a74 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-async.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.async + tq - Assert async + diff --git a/snippets/js/tests/qunit/qunit-assert-deep-equal.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-deep-equal.sublime-snippet new file mode 100644 index 0000000..cc1fee3 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-deep-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.dequal + tq - Assert deepEqual + diff --git a/snippets/js/tests/qunit/qunit-assert-equal.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-equal.sublime-snippet new file mode 100644 index 0000000..bc36bc0 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.equal + tq - Assert equal + diff --git a/snippets/js/tests/qunit/qunit-assert-not-deep-equal.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-not-deep-equal.sublime-snippet new file mode 100644 index 0000000..9e47193 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-not-deep-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.ndequal + tq - notDeepEqual + diff --git a/snippets/js/tests/qunit/qunit-assert-not-equal.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-not-equal.sublime-snippet new file mode 100644 index 0000000..b5fa3d8 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-not-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.nequal + tq - notEqual + diff --git a/snippets/js/tests/qunit/qunit-assert-not-ok.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-not-ok.sublime-snippet new file mode 100644 index 0000000..fd71326 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-not-ok.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.nok + tq - notOk + diff --git a/snippets/js/tests/qunit/qunit-assert-not-prop-equal.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-not-prop-equal.sublime-snippet new file mode 100644 index 0000000..80373d5 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-not-prop-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.npequal + tq - notPropEqual + diff --git a/snippets/js/tests/qunit/qunit-assert-not-strict-equal.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-not-strict-equal.sublime-snippet new file mode 100644 index 0000000..94fa53c --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-not-strict-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.nsequal + tq - notStrictEqual + diff --git a/snippets/js/tests/qunit/qunit-assert-ok.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-ok.sublime-snippet new file mode 100644 index 0000000..db2e673 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-ok.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.ok + tq - ok + diff --git a/snippets/js/tests/qunit/qunit-assert-prop-equal.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-prop-equal.sublime-snippet new file mode 100644 index 0000000..39da22e --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-prop-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.pequal + tq - propEqual + diff --git a/snippets/js/tests/qunit/qunit-assert-strict-equal.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-strict-equal.sublime-snippet new file mode 100644 index 0000000..da4081c --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-strict-equal.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.sequal + tq - strictEqual + diff --git a/snippets/js/tests/qunit/qunit-assert-throws.sublime-snippet b/snippets/js/tests/qunit/qunit-assert-throws.sublime-snippet new file mode 100644 index 0000000..d75a139 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-assert-throws.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.throws + tq - throws + diff --git a/snippets/js/tests/qunit/qunit-begin.sublime-snippet b/snippets/js/tests/qunit/qunit-begin.sublime-snippet new file mode 100644 index 0000000..6c96de9 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-begin.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.begin + tq - QUnit.begin + diff --git a/snippets/js/tests/qunit/qunit-config.sublime-snippet b/snippets/js/tests/qunit/qunit-config.sublime-snippet new file mode 100644 index 0000000..b597513 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-config.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.config + tq - QUnit.config + diff --git a/snippets/js/tests/qunit/qunit-done.sublime-snippet b/snippets/js/tests/qunit/qunit-done.sublime-snippet new file mode 100644 index 0000000..68f5eb3 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-done.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.done + tq - QUnit.done + diff --git a/snippets/js/tests/qunit/qunit-dump-parse.sublime-snippet b/snippets/js/tests/qunit/qunit-dump-parse.sublime-snippet new file mode 100644 index 0000000..6e1bf82 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-dump-parse.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.dparse + tq - QUnit.dump.parse + diff --git a/snippets/js/tests/qunit/qunit-expect.sublime-snippet b/snippets/js/tests/qunit/qunit-expect.sublime-snippet new file mode 100644 index 0000000..52b6cd2 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-expect.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.expect + tq - Expect + diff --git a/snippets/js/tests/qunit/qunit-extend.sublime-snippet b/snippets/js/tests/qunit/qunit-extend.sublime-snippet new file mode 100644 index 0000000..d40a2b8 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-extend.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.extend + tq - QUnit.extend + diff --git a/snippets/js/tests/qunit/qunit-log.sublime-snippet b/snippets/js/tests/qunit/qunit-log.sublime-snippet new file mode 100644 index 0000000..36c8b71 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-log.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.log + tq - QUnit.log + diff --git a/snippets/js/tests/qunit/qunit-module-done.sublime-snippet b/snippets/js/tests/qunit/qunit-module-done.sublime-snippet new file mode 100644 index 0000000..90522b0 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-module-done.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.mdone + tq - QUnit.moduleDone + diff --git a/snippets/js/tests/qunit/qunit-module-start.sublime-snippet b/snippets/js/tests/qunit/qunit-module-start.sublime-snippet new file mode 100644 index 0000000..0105640 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-module-start.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.mstart + tq - QUnit.moduleStart + diff --git a/snippets/js/tests/qunit/qunit-module.sublime-snippet b/snippets/js/tests/qunit/qunit-module.sublime-snippet new file mode 100644 index 0000000..609ba4b --- /dev/null +++ b/snippets/js/tests/qunit/qunit-module.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.module + tq - QUnit.module + diff --git a/snippets/js/tests/qunit/qunit-only.sublime-snippet b/snippets/js/tests/qunit/qunit-only.sublime-snippet new file mode 100644 index 0000000..73dc59f --- /dev/null +++ b/snippets/js/tests/qunit/qunit-only.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.only + tq - QUnit.only + diff --git a/snippets/js/tests/qunit/qunit-push.sublime-snippet b/snippets/js/tests/qunit/qunit-push.sublime-snippet new file mode 100644 index 0000000..92e19d1 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-push.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.push + tq - push + diff --git a/snippets/js/tests/qunit/qunit-skip.sublime-snippet b/snippets/js/tests/qunit/qunit-skip.sublime-snippet new file mode 100644 index 0000000..c899b4c --- /dev/null +++ b/snippets/js/tests/qunit/qunit-skip.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.skip + tq - QUnit.skip + diff --git a/snippets/js/tests/qunit/qunit-stack.sublime-snippet b/snippets/js/tests/qunit/qunit-stack.sublime-snippet new file mode 100644 index 0000000..710517f --- /dev/null +++ b/snippets/js/tests/qunit/qunit-stack.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.stack + tq - QUnit.stack + diff --git a/snippets/js/tests/qunit/qunit-test-done.sublime-snippet b/snippets/js/tests/qunit/qunit-test-done.sublime-snippet new file mode 100644 index 0000000..449c903 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-test-done.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.tdone + tq - QUnit.testDone + diff --git a/snippets/js/tests/qunit/qunit-test-start.sublime-snippet b/snippets/js/tests/qunit/qunit-test-start.sublime-snippet new file mode 100644 index 0000000..5948b7b --- /dev/null +++ b/snippets/js/tests/qunit/qunit-test-start.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.tstart + tq - QUnit.testStart + diff --git a/snippets/js/tests/qunit/qunit-test.sublime-snippet b/snippets/js/tests/qunit/qunit-test.sublime-snippet new file mode 100644 index 0000000..995ec58 --- /dev/null +++ b/snippets/js/tests/qunit/qunit-test.sublime-snippet @@ -0,0 +1,7 @@ + + + tq.test + tq - Test + From c8770bae62f22e2c3367af3150646b848671b0c9 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 21:31:04 -0200 Subject: [PATCH 053/114] fix: adjusting of parameters --- snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet | 2 +- .../js/tests/node/tdd-assert-not-deep-equal.sublime-snippet | 2 +- .../tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet | 2 +- snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet | 2 +- .../js/tests/node/tdd-assert-not-strict-equal.sublime-snippet | 2 +- snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet | 2 +- snippets/js/tests/node/tdd-assert-throws.sublime-snippet | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet index c5d6940..af17ec0 100644 --- a/snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-deep-equal.sublime-snippet @@ -1,6 +1,6 @@ tn.dequal tn - Assert deepEqual diff --git a/snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet index b7f86e7..f28ab88 100644 --- a/snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-not-deep-equal.sublime-snippet @@ -1,6 +1,6 @@ tn.ndequal tn - Assert notDeepEqual diff --git a/snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet index 165e118..3d0d8ad 100644 --- a/snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-not-deep-strict-equal.sublime-snippet @@ -1,6 +1,6 @@ tn.ndsequal tn - Assert notDeepStrictEqual diff --git a/snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet index bfa0eea..d8b5d32 100644 --- a/snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-not-equal.sublime-snippet @@ -1,6 +1,6 @@ tn.nequal tn - Assert notEqual diff --git a/snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet index e63676a..9ff4229 100644 --- a/snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-not-strict-equal.sublime-snippet @@ -1,6 +1,6 @@ tn.nsequal tn - Assert notStrictEqual diff --git a/snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet b/snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet index 7acf52d..b251938 100644 --- a/snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-strict-equal.sublime-snippet @@ -1,6 +1,6 @@ tn.sequal tn - Assert strictEqual diff --git a/snippets/js/tests/node/tdd-assert-throws.sublime-snippet b/snippets/js/tests/node/tdd-assert-throws.sublime-snippet index cd6e1f4..d1c7ed9 100644 --- a/snippets/js/tests/node/tdd-assert-throws.sublime-snippet +++ b/snippets/js/tests/node/tdd-assert-throws.sublime-snippet @@ -1,6 +1,6 @@ tn.throws tn - Assert throws From 15506c1a11f8d15d0b67c538833d0afe9208af8b Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 21:31:48 -0200 Subject: [PATCH 054/114] update: added <> --- Preferences.sublime-settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Preferences.sublime-settings b/Preferences.sublime-settings index a2a75fd..be90725 100644 --- a/Preferences.sublime-settings +++ b/Preferences.sublime-settings @@ -1,3 +1,3 @@ { - "word_separators": "/\\()\"‘-:,;~!@#$%^&*|+=[]{}`~?" + "word_separators": "/\\()\"‘-:,;><~!@#$%^&*|+=[]{}`~?" } From 24cde391935271380625a5a29aab0186776eb9b9 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 21:32:15 -0200 Subject: [PATCH 055/114] update: test readme --- snippets/js/tests/README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/snippets/js/tests/README.md b/snippets/js/tests/README.md index df996ed..ffbf874 100644 --- a/snippets/js/tests/README.md +++ b/snippets/js/tests/README.md @@ -60,6 +60,35 @@ - strictEqual - throws - [QUnit](qunit/) - - + - begin + - config + - done + - dump.parse + - expect + - extend + - log + - moduleDone + - moduleStart + - module + - only + - push + - skip + - stack + - testDone + - testStart + - test + - Assert + - async + - deepEqual + - equal + - notDeepEqual + - notEqual + - notOk + - notPropEqual + - notStrictEqual + - ok + - propEqual + - strictEqual + - throws - [Sinon](sinon/) - From 392a1bbaa0919455eaeaab39e21de087dea3352c Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 21:52:22 -0200 Subject: [PATCH 056/114] update: badge tag --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index cc5a33e..266c955 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/LICENSE.md) [![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) +[![Latest tag][tag-image]][tag-url] ![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) From 6514d2bc27eaf99667c236d7ef287099850c75f9 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 22:17:49 -0200 Subject: [PATCH 057/114] update: badges --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 266c955..eba9757 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # Front-end Project Snippets -[![licence mit](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/LICENSE.md) -[![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) -[![Latest tag][tag-image]][tag-url] +[![Travis](https://img.shields.io/travis/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/brazilian-dev/sublime-front-end-snippets) +[![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) +[![Package Control](https://img.shields.io/packagecontrol/dt/Package%20Control.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) +[![GitHub release](https://img.shields.io/github/release/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) +[![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/LICENSE.md) ![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) From f33a18a3d49eb10b3f39448e99e231dc108bd231 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 27 Jan 2016 22:22:23 -0200 Subject: [PATCH 058/114] update: package controlvbadge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eba9757..9fcd712 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Travis](https://img.shields.io/travis/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/brazilian-dev/sublime-front-end-snippets) [![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) -[![Package Control](https://img.shields.io/packagecontrol/dt/Package%20Control.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) +[![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) [![GitHub release](https://img.shields.io/github/release/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/LICENSE.md) From ab8e17598425256e60d20fd866444422bba00146 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 05:00:23 -0200 Subject: [PATCH 059/114] add: sinon assertions snippets --- snippets/js/tests/sinon/README.md | 29 +++- snippets/js/tests/sinon/assertions/README.md | 141 ++++++++++++++++++ ...on-assert-always-called-on.sublime-snippet | 7 + ...always-called-with-exactly.sublime-snippet | 7 + ...t-always-called-with-match.sublime-snippet | 7 + ...-assert-always-called-with.sublime-snippet | 7 + .../sinon-assert-always-threw.sublime-snippet | 7 + .../sinon-assert-call-count.sublime-snippet | 7 + .../sinon-assert-call-order.sublime-snippet | 7 + .../sinon-assert-called-on.sublime-snippet | 7 + .../sinon-assert-called-once.sublime-snippet | 7 + ...sinon-assert-called-thrice.sublime-snippet | 7 + .../sinon-assert-called-twice.sublime-snippet | 7 + ...assert-called-with-exactly.sublime-snippet | 7 + ...n-assert-called-with-match.sublime-snippet | 7 + .../sinon-assert-called-with.sublime-snippet | 7 + .../sinon-assert-called.sublime-snippet | 7 + .../sinon-assert-expose.sublime-snippet | 7 + ...inon-assert-fail-exception.sublime-snippet | 7 + .../sinon-assert-fail.sublime-snippet | 7 + ...rt-never-called-with-match.sublime-snippet | 7 + ...n-assert-never-called-with.sublime-snippet | 7 + .../sinon-assert-not-called.sublime-snippet | 7 + .../sinon-assert-pass.sublime-snippet | 7 + .../sinon-assert-threw.sublime-snippet | 7 + 25 files changed, 326 insertions(+), 5 deletions(-) create mode 100644 snippets/js/tests/sinon/assertions/README.md create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-always-called-on.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-always-called-with-exactly.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-always-called-with-match.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-always-called-with.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-always-threw.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-call-count.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-call-order.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-called-on.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-called-once.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-called-thrice.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-called-twice.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-called-with-exactly.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-called-with-match.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-called-with.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-called.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-expose.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-fail-exception.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-fail.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-never-called-with-match.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-never-called-with.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-not-called.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-pass.sublime-snippet create mode 100644 snippets/js/tests/sinon/assertions/sinon-assert-threw.sublime-snippet diff --git a/snippets/js/tests/sinon/README.md b/snippets/js/tests/sinon/README.md index 4c773a3..3a73841 100644 --- a/snippets/js/tests/sinon/README.md +++ b/snippets/js/tests/sinon/README.md @@ -2,8 +2,27 @@ ## Prefix `ts.*` -### [ts.] - -```javascript - -``` +- [Assertions](assertions/) + - alwaysCalledOn + - alwaysCalledWithExactly + - alwaysCalledWithMatch + - alwaysCalledWith + - alwaysThrew + - callCount + - callOrder + - calledOn + - calledOnce + - calledThrice + - calledTwice + - calledWithExactly + - calledWithMatch + - calledWith + - called + - expose + - failException + - fail + - neverCalledWithMatch + - neverCalledWith + - notCalled + - pass + - threw diff --git a/snippets/js/tests/sinon/assertions/README.md b/snippets/js/tests/sinon/assertions/README.md new file mode 100644 index 0000000..9a8582d --- /dev/null +++ b/snippets/js/tests/sinon/assertions/README.md @@ -0,0 +1,141 @@ +# Sinon JavaScript Snippets + +## Assertions + +### [ts.acon] alwaysCalledOn + +```javascript +sinon.assert.alwaysCalledOn(${1:spy}, ${2:obj}); +``` + +### [ts.acalledwe] alwaysCalledWithExactly + +```javascript +sinon.assert.alwaysCalledWithExactly(${1:spy}, ${2:arg1}${3:, arg2}${4:, ...}); +``` + +### [ts.acalledwm] alwaysCalledWithMatch + +```javascript +sinon.assert.alwaysCalledWithMatch(${1:spy}, ${2:arg1}${3:, arg2}${4:, ...}); +``` + +### [ts.acalledw] alwaysCalledWith + +```javascript +sinon.assert.alwaysCalledWith(${1:spy}, ${2:arg1}${3:, arg2}${4:, ...}); +``` + +### [ts.athrew] alwaysThrew + +```javascript +sinon.assert.alwaysThrew(${1:spy}, ${2:exception}); +``` + +### [ts.ccount] callCount + +```javascript +sinon.assert.callCount(${1:spy}, ${2:num}); +``` + +### [ts.corder] callOrder + +```javascript +sinon.assert.callOrder(${1:spy1}, ${2:spy2}${3:, ...}); +``` + +### [ts.con] calledOn + +```javascript +sinon.assert.calledOn(${1:spy}, ${2:obj}); +``` + +### [ts.calledo] calledOnce + +```javascript +sinon.assert.calledOnce(${1:spy}); +``` + +### [ts.calledth] calledThrice + +```javascript +sinon.assert.calledThrice(${1:spy}); +``` + +### [ts.calledt] calledTwice + +```javascript +sinon.assert.calledTwice(${1:spy}); +``` + +### [ts.calledwe] calledWithExactly + +```javascript +sinon.assert.calledWithExactly(${1:spy}, ${2:arg1}${3:, arg2}${4:, ...}); +``` + +### [ts.calledwm] calledWithMatch + +```javascript +sinon.assert.calledWithMatch(${1:spy}, ${2:arg1}${3:, arg2}${4:, ...}); +``` + +### [ts.] calledWith + +```javascript +sinon.assert.calledWith(${1:spy}, ${2:arg1}${3:, arg2}${4:, ...}); +``` + +### [ts.called] called + +```javascript +sinon.assert.called(${1:spy}); +``` + +### [ts.expose] expose + +```javascript +sinon.assert.expose(${1:object}, ${2:options}); +``` + +### [ts.faile] failException + +```javascript +sinon.assert.failException; +``` + +### [ts.afail] fail + +```javascript +sinon.assert.fail(${1:message}); +``` + +### [ts.ncalledwm] neverCalledWithMatch + +```javascript +sinon.assert.neverCalledWithMatch(${1:spy}, ${2:arg1}${3:, arg2}${4:, ...}); +``` + +### [ts.ncalledw] neverCalledWith + +```javascript +sinon.assert.neverCalledWith(${1:spy}, ${2:arg1}${3:, arg2}${4:, ...}); +``` + +### [ts.ncalled] notCalled + +```javascript +sinon.assert.notCalled(${1:spy}); +``` + +### [ts.pass] pass + +```javascript +sinon.assert.pass(${1:assertion}); +``` + +### [ts.threw] threw + +```javascript +sinon.assert.threw(${1:spy}, ${2:exception}); +``` diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-always-called-on.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-always-called-on.sublime-snippet new file mode 100644 index 0000000..d9e5791 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-always-called-on.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.acon + ts - Assert alwaysCalledOn + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-always-called-with-exactly.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-always-called-with-exactly.sublime-snippet new file mode 100644 index 0000000..86b8966 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-always-called-with-exactly.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.acalledwe + ts - Assert alwaysCalledWithExactly + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-always-called-with-match.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-always-called-with-match.sublime-snippet new file mode 100644 index 0000000..84c4a72 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-always-called-with-match.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.acalledwm + ts - Assert alwaysCalledWithMatch + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-always-called-with.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-always-called-with.sublime-snippet new file mode 100644 index 0000000..68a530a --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-always-called-with.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.acalledw + ts - Assert alwaysCalledWith + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-always-threw.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-always-threw.sublime-snippet new file mode 100644 index 0000000..567a871 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-always-threw.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.athrew + ts - Assert alwaysThrew + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-call-count.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-call-count.sublime-snippet new file mode 100644 index 0000000..90f6347 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-call-count.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.ccount + ts - Assert callCount + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-call-order.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-call-order.sublime-snippet new file mode 100644 index 0000000..19ba411 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-call-order.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.corder + ts - Assert callOrder + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-called-on.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-called-on.sublime-snippet new file mode 100644 index 0000000..5b802c1 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-called-on.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.con + ts - Assert calledOn + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-called-once.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-called-once.sublime-snippet new file mode 100644 index 0000000..4d75f00 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-called-once.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.calledo + ts - Assert calledOnce + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-called-thrice.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-called-thrice.sublime-snippet new file mode 100644 index 0000000..8307fa9 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-called-thrice.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.calledth + ts - Assert calledThrice + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-called-twice.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-called-twice.sublime-snippet new file mode 100644 index 0000000..df83a33 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-called-twice.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.calledt + ts - Assert calledTwice + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-called-with-exactly.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-called-with-exactly.sublime-snippet new file mode 100644 index 0000000..f939c6e --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-called-with-exactly.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.calledwe + ts - Assert calledWithExactly + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-called-with-match.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-called-with-match.sublime-snippet new file mode 100644 index 0000000..5a418a5 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-called-with-match.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.calledwm + ts - Assert calledWithMatch + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-called-with.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-called-with.sublime-snippet new file mode 100644 index 0000000..49b01bd --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-called-with.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.calledw + ts - Assert calledWith + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-called.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-called.sublime-snippet new file mode 100644 index 0000000..40a8a90 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-called.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.called + ts - Assert called + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-expose.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-expose.sublime-snippet new file mode 100644 index 0000000..9062ec9 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-expose.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.expose + ts - Assert expose + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-fail-exception.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-fail-exception.sublime-snippet new file mode 100644 index 0000000..d3263dd --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-fail-exception.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.faile + ts - Assert failException + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-fail.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-fail.sublime-snippet new file mode 100644 index 0000000..cdceb0e --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-fail.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.afail + ts - Assert fail + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-never-called-with-match.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-never-called-with-match.sublime-snippet new file mode 100644 index 0000000..2fe32c9 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-never-called-with-match.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.ncalledwm + ts - Assert neverCalledWithMatch + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-never-called-with.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-never-called-with.sublime-snippet new file mode 100644 index 0000000..f18777d --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-never-called-with.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.ncalledw + ts - Assert neverCalledWith + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-not-called.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-not-called.sublime-snippet new file mode 100644 index 0000000..6af31de --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-not-called.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.ncalled + ts - Assert notCalled + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-pass.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-pass.sublime-snippet new file mode 100644 index 0000000..5649376 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-pass.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.pass + ts - Assert pass + diff --git a/snippets/js/tests/sinon/assertions/sinon-assert-threw.sublime-snippet b/snippets/js/tests/sinon/assertions/sinon-assert-threw.sublime-snippet new file mode 100644 index 0000000..686c748 --- /dev/null +++ b/snippets/js/tests/sinon/assertions/sinon-assert-threw.sublime-snippet @@ -0,0 +1,7 @@ + + + ts.threw + ts - Assert threw + From 41e55646c10f85b91c66e5405e92653be586f6c1 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 05:21:19 -0200 Subject: [PATCH 060/114] add: regex snippets --- README.md | 3 +++ snippets/regex/README.md | 11 +++++++++++ snippets/regex/regex-cpf.sublime-snippet | 7 +++++++ 3 files changed, 21 insertions(+) create mode 100644 snippets/regex/README.md create mode 100644 snippets/regex/regex-cpf.sublime-snippet diff --git a/README.md b/README.md index 9fcd712..c3e33c0 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,10 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text - [WAI-ARIA - hw.*](snippets/html/wai-aria) - [CSS - c.*](snippets/css/) - [JavaScript - j.*](snippets/js/vanilla) + - [EcmaScript 2015 - je.*](snippets/js/es6/) - [Libraries](snippets/js/libraries) - [jQuery - jq.*](snippets/js/libraries/jquery) + - [React - jr.*](snippets/js/libraries/react) - [Patterns](snippets/js/patterns) - [Design Patterns - jdp.*](snippets/js/patterns/design-patterns) - [UMD - jumd.*](snippets/js/patterns/umd) @@ -36,6 +38,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text - [Node - tn.*](snippets/js/tests/node) - [QUnit - tq.*](snippets/js/tests/qunit) - [Sinon - ts.*](snippets/js/tests/sinon) +- [Regex](snippets/regex/) - [Schema.org](snippets/schema) - [JSON-LD - sj.*](snippets/schema/json-ld) - [Microdata - sm.*](snippets/schema/microdata) diff --git a/snippets/regex/README.md b/snippets/regex/README.md new file mode 100644 index 0000000..47be2cf --- /dev/null +++ b/snippets/regex/README.md @@ -0,0 +1,11 @@ +# Regex Snippets + +## Prefix `r.*` + +### [r.cpf] CPF + +**allow:** 00000000000, 00000000000000, 000.000.000-00, 00.000.000/0000-00, 000000000-00 or 00000000/0000-00 + +```javascript +([0-9]{2}[\.]?[0-9]{3}[\.]?[0-9]{3}[\/]?[0-9]{4}[-]?[0-9]{2})|([0-9]{3}[\.]?[0-9]{3}[\.]?[0-9]{3}[-]?[0-9]{2}) +``` diff --git a/snippets/regex/regex-cpf.sublime-snippet b/snippets/regex/regex-cpf.sublime-snippet new file mode 100644 index 0000000..2e5c2a7 --- /dev/null +++ b/snippets/regex/regex-cpf.sublime-snippet @@ -0,0 +1,7 @@ + + + r.cpf + r - CPF + From fd125ecab06ec09fbb81e46f9e2bf9e7888a0507 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 05:41:45 -0200 Subject: [PATCH 061/114] add: regex snippets - cnpj cpf phone --- snippets/regex/README.md | 36 +++++++++++++++++-- .../regex-brazilian-cnpj.sublime-snippet | 7 ++++ .../regex-brazilian-cpf-cnpj.sublime-snippet | 7 ++++ .../regex/regex-brazilian-cpf.sublime-snippet | 7 ++++ .../regex-brazilian-phone.sublime-snippet | 7 ++++ snippets/regex/regex-cpf.sublime-snippet | 7 ---- snippets/regex/regex-email.sublime-snippet | 7 ++++ 7 files changed, 68 insertions(+), 10 deletions(-) create mode 100644 snippets/regex/regex-brazilian-cnpj.sublime-snippet create mode 100644 snippets/regex/regex-brazilian-cpf-cnpj.sublime-snippet create mode 100644 snippets/regex/regex-brazilian-cpf.sublime-snippet create mode 100644 snippets/regex/regex-brazilian-phone.sublime-snippet delete mode 100644 snippets/regex/regex-cpf.sublime-snippet create mode 100644 snippets/regex/regex-email.sublime-snippet diff --git a/snippets/regex/README.md b/snippets/regex/README.md index 47be2cf..7a61bbb 100644 --- a/snippets/regex/README.md +++ b/snippets/regex/README.md @@ -2,10 +2,40 @@ ## Prefix `r.*` -### [r.cpf] CPF +### [r.bcnpj] Brazilian CNPJ -**allow:** 00000000000, 00000000000000, 000.000.000-00, 00.000.000/0000-00, 000000000-00 or 00000000/0000-00 +**allow:** xx.xxx.xxx/xxxx-xx | xxxxxxxxxxxxxx ```javascript -([0-9]{2}[\.]?[0-9]{3}[\.]?[0-9]{3}[\/]?[0-9]{4}[-]?[0-9]{2})|([0-9]{3}[\.]?[0-9]{3}[\.]?[0-9]{3}[-]?[0-9]{2}) +(^(\d{2}.\d{3}.\d{3}/\d{4}-\d{2})|(\d{14})\$) +``` + +### [r.bcpfcnpj] Brazilian CPF/CNPJ + +**allow:** xx.xxx.xxx/xxxx-xx | xxx.xxx.xxx-xx + +```javascript +(\d{2}\.\d{3}\.\d{3}\/\d{4}\-\d{2})|(\d{3}\.\d{3}\.\d{3}\-\d{2}) +``` + +### [r.bcpf] CPF + +**allow:** xxx.xxx.xxx-xx | xxxxxxxxxxxx + +```javascript +(^(\d{3}.\d{3}.\d{3}-\d{2})|(\d{11})\$) +``` + +### [r.bphone] Brazilian Phone + +**allow:** (xx) xxxx-xxxx | (xx) xxxx-xxxxx | xx-xxxx-xxxxx | xx xxxx-xxxx | xx xxxxxxxxx | xxxxxxxx | xxxx-xxxx + +```javascript +^(\(\d{2}\)?\s?|\d{2}(\-|\s))?\d{2,4}(\-|\s)?\d{4,5}\$ +``` + +### [r.email] E-mail + +```javascript +^(([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})\$ ``` diff --git a/snippets/regex/regex-brazilian-cnpj.sublime-snippet b/snippets/regex/regex-brazilian-cnpj.sublime-snippet new file mode 100644 index 0000000..0272313 --- /dev/null +++ b/snippets/regex/regex-brazilian-cnpj.sublime-snippet @@ -0,0 +1,7 @@ + + + r.bcnpj + r - Brazilian CNPJ + diff --git a/snippets/regex/regex-brazilian-cpf-cnpj.sublime-snippet b/snippets/regex/regex-brazilian-cpf-cnpj.sublime-snippet new file mode 100644 index 0000000..0f41f0d --- /dev/null +++ b/snippets/regex/regex-brazilian-cpf-cnpj.sublime-snippet @@ -0,0 +1,7 @@ + + + r.bcpfcnpj + r - Brazilian CPF/CNPJ + diff --git a/snippets/regex/regex-brazilian-cpf.sublime-snippet b/snippets/regex/regex-brazilian-cpf.sublime-snippet new file mode 100644 index 0000000..ab2a230 --- /dev/null +++ b/snippets/regex/regex-brazilian-cpf.sublime-snippet @@ -0,0 +1,7 @@ + + + r.bcpf + r - Brazilian CPF + diff --git a/snippets/regex/regex-brazilian-phone.sublime-snippet b/snippets/regex/regex-brazilian-phone.sublime-snippet new file mode 100644 index 0000000..5bba87f --- /dev/null +++ b/snippets/regex/regex-brazilian-phone.sublime-snippet @@ -0,0 +1,7 @@ + + + r.bphone + r - Brazilian Phone + diff --git a/snippets/regex/regex-cpf.sublime-snippet b/snippets/regex/regex-cpf.sublime-snippet deleted file mode 100644 index 2e5c2a7..0000000 --- a/snippets/regex/regex-cpf.sublime-snippet +++ /dev/null @@ -1,7 +0,0 @@ - - - r.cpf - r - CPF - diff --git a/snippets/regex/regex-email.sublime-snippet b/snippets/regex/regex-email.sublime-snippet new file mode 100644 index 0000000..dd877e6 --- /dev/null +++ b/snippets/regex/regex-email.sublime-snippet @@ -0,0 +1,7 @@ + + + r.email + r - E-mail + From 17bf814b650f711196fbbfd701cd6f6c1b204d85 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 05:43:13 -0200 Subject: [PATCH 062/114] update: snippets json --- snippets.json | 2388 ++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 1959 insertions(+), 429 deletions(-) diff --git a/snippets.json b/snippets.json index 7875fd8..3979432 100644 --- a/snippets.json +++ b/snippets.json @@ -120,2053 +120,3583 @@ "trigger": "hw.alertdialog" }, { - "description": "jq - ajax", + "description": "ES6 Arrow Function", "id": 25, + "trigger": "arrow" + }, + { + "description": "ES6 Class", + "id": 26, + "trigger": "class" + }, + { + "description": "ES6 Generator", + "id": 27, + "trigger": "generator" + }, + { + "description": "ES6 For Loop Iterator using Let", + "id": 28, + "trigger": "let:iterator" + }, + { + "description": "ES6 Let", + "id": 29, + "trigger": "let" + }, + { + "description": "ES6 Map", + "id": 30, + "trigger": "Map" + }, + { + "description": "ES6 WeakMap", + "id": 31, + "trigger": "WeakMap" + }, + { + "description": "ES6 Dynamic Module Import", + "id": 32, + "trigger": "System.import" + }, + { + "description": "ES6 Module Export Function", + "id": 33, + "trigger": "export:function" + }, + { + "description": "ES6 Module Export Variable", + "id": 34, + "trigger": "export:variable" + }, + { + "description": "ES6 Module Import", + "id": 35, + "trigger": "import" + }, + { + "description": "ES6 Loader Class", + "id": 36, + "trigger": "Loader" + }, + { + "description": "ES6 System Get Module", + "id": 37, + "trigger": "System.get" + }, + { + "description": "ES6 System Set Module", + "id": 38, + "trigger": "System.set" + }, + { + "description": "ES6 Object Literal", + "id": 39, + "trigger": "object" + }, + { + "description": "ES6 Promise", + "id": 40, + "trigger": "Promise" + }, + { + "description": "ES6 Proxy", + "id": 41, + "trigger": "Proxy" + }, + { + "description": "ES6 Reflect Apply", + "id": 42, + "trigger": "Reflect:apply" + }, + { + "description": "ES6 Reflect Construct", + "id": 43, + "trigger": "Reflect:construct" + }, + { + "description": "ES6 Reflect Define Property", + "id": 44, + "trigger": "Reflect:defineProperty" + }, + { + "description": "ES6 Reflect Delete Property", + "id": 45, + "trigger": "Reflect:deleteProperty" + }, + { + "description": "ES6 Reflect Enumerate", + "id": 46, + "trigger": "Reflect:enumerate" + }, + { + "description": "ES6 Reflect Get", + "id": 47, + "trigger": "Reflect:get" + }, + { + "description": "ES6 Reflect Get Property Descriptor", + "id": 48, + "trigger": "Reflect:getOwnPropertyDescriptor" + }, + { + "description": "ES6 Reflect Get Prototype Of", + "id": 49, + "trigger": "Reflect:getPrototypeOf" + }, + { + "description": "ES6 Reflect Has", + "id": 50, + "trigger": "Reflect:has" + }, + { + "description": "ES6 Reflect Is Extensible", + "id": 51, + "trigger": "Reflect:isExtensible" + }, + { + "description": "ES6 Reflect Own Keys", + "id": 52, + "trigger": "Reflect:ownKeys" + }, + { + "description": "ES6 Reflect Prevent Extensions", + "id": 53, + "trigger": "Reflect:preventExtensions" + }, + { + "description": "ES6 Reflect Set", + "id": 54, + "trigger": "Reflect:set" + }, + { + "description": "ES6 Reflect Set Prototype Of", + "id": 55, + "trigger": "Reflect:setPrototypeOf" + }, + { + "description": "ES6 Set", + "id": 56, + "trigger": "Set" + }, + { + "description": "ES6 WeakSet", + "id": 57, + "trigger": "WeakSet" + }, + { + "description": "ES6 Template String", + "id": 58, + "trigger": "string" + }, + { + "description": "jq - ajax", + "id": 59, "trigger": "jq.a" }, { "description": "jq - ajaxComplete", - "id": 26, + "id": 60, "trigger": "jq.acomplete" }, { "description": "jq - ajaxError", - "id": 27, + "id": 61, "trigger": "jq.aerror" }, { "description": "jq - getJSON", - "id": 28, + "id": 62, "trigger": "jq.gjson" }, { "description": "jq - getScript", - "id": 29, + "id": 63, "trigger": "jq.gscript" }, { "description": "jq - jQuery get", - "id": 30, + "id": 64, "trigger": "jq.jget" }, { "description": "jq - load", - "id": 31, + "id": 65, "trigger": "jq.load" }, { "description": "jq - post", - "id": 32, + "id": 66, "trigger": "jq.post" }, { "description": "jq - ajaxPrefilter", - "id": 33, + "id": 67, "trigger": "jq.aprefilter" }, { "description": "jq - ajaxSend", - "id": 34, + "id": 68, "trigger": "jq.asend" }, { "description": "jq - ajaxSetup", - "id": 35, + "id": 69, "trigger": "jq.asetup" }, { "description": "jq - ajaxStart", - "id": 36, + "id": 70, "trigger": "jq.astart" }, { "description": "jq - ajaxStop", - "id": 37, + "id": 71, "trigger": "jq.astop" }, { "description": "jq - ajaxSuccess", - "id": 38, + "id": 72, "trigger": "jq.asuccess" }, { "description": "jq - ajaxTransport", - "id": 39, + "id": 73, "trigger": "jq.atransport" }, { "description": "jq - addClass", - "id": 40, + "id": 74, "trigger": "jq.addclass" }, { "description": "jq - attr", - "id": 41, + "id": 75, "trigger": "jq.attr" }, { "description": "jq - hasClass", - "id": 42, + "id": 76, "trigger": "jq.hasclass" }, { "description": "jq - html", - "id": 43, + "id": 77, "trigger": "jq.html" }, { "description": "jq - prop", - "id": 44, + "id": 78, "trigger": "jq.prop" }, { "description": "jq - removeAttr", - "id": 45, + "id": 79, "trigger": "jq.rattr" }, { "description": "jq - removeClass", - "id": 46, + "id": 80, "trigger": "jq.rclass" }, { "description": "jq - removeProp", - "id": 47, + "id": 81, "trigger": "jq.rprop" }, { "description": "jq - toggleClass", - "id": 48, + "id": 82, "trigger": "jq.tclass" }, { "description": "jq - add", - "id": 49, + "id": 83, "trigger": "jq.cbadd" }, { "description": "jq - disable", - "id": 50, + "id": 84, "trigger": "jq.cbdisable" }, { "description": "jq - disabled", - "id": 51, + "id": 85, "trigger": "jq.cbdisabled" }, { "description": "jq - empty", - "id": 52, + "id": 86, "trigger": "jq.cbempty" }, { "description": "jq - fireWith", - "id": 53, + "id": 87, "trigger": "jq.cbfirewith" }, { "description": "jq - fire", - "id": 54, + "id": 88, "trigger": "jq.cbfire" }, { "description": "jq - fired", - "id": 55, + "id": 89, "trigger": "jq.cbfired" }, { "description": "jq - has", - "id": 56, + "id": 90, "trigger": "jq.cbhas" }, { "description": "jq - lock", - "id": 57, + "id": 91, "trigger": "jq.cblock" }, { "description": "jq - locked", - "id": 58, + "id": 92, "trigger": "jq.cblocked" }, { "description": "jq - remove", - "id": 59, + "id": 93, "trigger": "jq.cbremove" }, { "description": "jq - callbacks", - "id": 60, + "id": 94, "trigger": "jq.cb" }, { "description": "jq - holdReady", - "id": 61, + "id": 95, "trigger": "jq.holdready" }, { "description": "jq - jQuery", - "id": 62, + "id": 96, "trigger": "jq.jq" }, { "description": "jq - noConflict", - "id": 63, + "id": 97, "trigger": "jq.noc" }, { "description": "jq - when", - "id": 64, + "id": 98, "trigger": "jq.when" }, { "description": "jq - cssHooks", - "id": 65, + "id": 99, "trigger": "jq.cssh" }, { "description": "jq - cssNumber", - "id": 66, + "id": 100, "trigger": "jq.cssn" }, { "description": "jq - css", - "id": 67, + "id": 101, "trigger": "jq.css" }, { "description": "jq - hasData", - "id": 68, + "id": 102, "trigger": "jq.hasdata" }, { "description": "jq - jQuery data", - "id": 69, + "id": 103, "trigger": "jq.jdata" }, { "description": "jq - jQuery removeData", - "id": 70, + "id": 104, "trigger": "jq.jrdata" }, { "description": "jq - removeData", - "id": 71, + "id": 105, "trigger": "jq.rdata" }, { "description": "jq - data", - "id": 72, + "id": 106, "trigger": "jq.data" }, { "description": "jq - always", - "id": 73, + "id": 107, "trigger": "jq.always" }, { "description": "jq - done", - "id": 74, + "id": 108, "trigger": "jq.done" }, { "description": "jq - fail", - "id": 75, + "id": 109, "trigger": "jq.fail" }, { "description": "jq - notifyWith", - "id": 76, + "id": 110, "trigger": "jq.notifywith" }, { "description": "jq - notify", - "id": 77, + "id": 111, "trigger": "jq.notify" }, { "description": "jq - progress", - "id": 78, + "id": 112, "trigger": "jq.progress" }, { "description": "jq - promise", - "id": 79, + "id": 113, "trigger": "jq.dpromise" }, { "description": "jq - rejectWith", - "id": 80, + "id": 114, "trigger": "jq.rejectwith" }, { "description": "jq - reject", - "id": 81, + "id": 115, "trigger": "jq.reject" }, { "description": "jq - resolveWith", - "id": 82, + "id": 116, "trigger": "jq.resolvewith" }, { "description": "jq - resolve", - "id": 83, + "id": 117, "trigger": "jq.resolve" }, { "description": "jq - state", - "id": 84, + "id": 118, "trigger": "jq.state" }, { "description": "jq - then", - "id": 85, + "id": 119, "trigger": "jq.then" }, { "description": "jq - deferred", - "id": 86, + "id": 120, "trigger": "jq.d" }, { "description": "jq - promise", - "id": 87, + "id": 121, "trigger": "jq.promise" }, { "description": "jq - height", - "id": 88, + "id": 122, "trigger": "jq.height" }, { "description": "jq - innerHeight", - "id": 89, + "id": 123, "trigger": "jq.iheight" }, { "description": "jq - innerWidth", - "id": 90, + "id": 124, "trigger": "jq.iwidth" }, { "description": "jq - outerHeight", - "id": 91, + "id": 125, "trigger": "jq.oheight" }, { "description": "jq - outerWidth", - "id": 92, + "id": 126, "trigger": "jq.owidth" }, { "description": "jq - width", - "id": 93, + "id": 127, "trigger": "jq.width" }, { "description": "jq - animate", - "id": 94, + "id": 128, "trigger": "jq.animate" }, { "description": "jq - clearQueue", - "id": 95, + "id": 129, "trigger": "jq.cqueue" }, { "description": "jq - delay", - "id": 96, + "id": 130, "trigger": "jq.delay" }, { "description": "jq - dequeue", - "id": 97, + "id": 131, "trigger": "jq.dequeue" }, { "description": "jq - fadeIn", - "id": 98, + "id": 132, "trigger": "jq.fadein" }, { "description": "jq - fadeOut", - "id": 99, + "id": 133, "trigger": "jq.fadeout" }, { "description": "jq - fadeToggle", - "id": 100, + "id": 134, "trigger": "jq.fadetoggle" }, { "description": "jq - fadeTo", - "id": 101, + "id": 135, "trigger": "jq.fadeto" }, { "description": "jq - finish", - "id": 102, + "id": 136, "trigger": "jq.finish" }, { "description": "jq - hide", - "id": 103, + "id": 137, "trigger": "jq.hide" }, { "description": "jq - queue", - "id": 104, + "id": 138, "trigger": "jq.queue" }, { "description": "jq - show", - "id": 105, + "id": 139, "trigger": "jq.show" }, { "description": "jq - slideDown", - "id": 106, + "id": 140, "trigger": "jq.sdown" }, { "description": "jq - slideToggle", - "id": 107, + "id": 141, "trigger": "jq.stoggle" }, { "description": "jq - slideUp", - "id": 108, + "id": 142, "trigger": "jq.sup" }, { "description": "jq - stop", - "id": 109, + "id": 143, "trigger": "jq.stop" }, { "description": "jq - toggle", - "id": 110, + "id": 144, "trigger": "jq.toggle" }, { "description": "jq - bind", - "id": 111, + "id": 145, "trigger": "jq.bind" }, { "description": "jq - click", - "id": 112, + "id": 146, "trigger": "jq.click" }, { "description": "jq - contextmenu", - "id": 113, + "id": 147, "trigger": "jq.jqcmenu" }, { "description": "jq - currentTarget", - "id": 114, + "id": 148, "trigger": "jq.ctarget" }, { "description": "jq - Event data", - "id": 115, + "id": 149, "trigger": "jq.edata" }, { "description": "jq - dblclick", - "id": 116, + "id": 150, "trigger": "jq.dclick" }, { "description": "jq - delegateTarget", - "id": 117, + "id": 151, "trigger": "jq.dtarget" }, { "description": "jq - delegate", - "id": 118, + "id": 152, "trigger": "jq.delegate" }, { "description": "jq - hover", - "id": 119, + "id": 153, "trigger": "jq.hover" }, { "description": "jq - isDefaultPrevented", - "id": 120, + "id": 154, "trigger": "jq.idprevented" }, { "description": "jq - isImmediatePropagationStopped", - "id": 121, + "id": 155, "trigger": "jq.iips" }, { "description": "jq - isPropagationStopped", - "id": 122, + "id": 156, "trigger": "jq.ips" }, { "description": "jq - keydown", - "id": 123, + "id": 157, "trigger": "jq.kdown" }, { "description": "jq - keypress", - "id": 124, + "id": 158, "trigger": "jq.kpress" }, { "description": "jq - keyup", - "id": 125, + "id": 159, "trigger": "jq.kup" }, { "description": "jq - metaKey", - "id": 126, + "id": 160, "trigger": "jq.mkey" }, { "description": "jq - mousedown", - "id": 127, + "id": 161, "trigger": "jq.mdown" }, { "description": "jq - mouseenter", - "id": 128, + "id": 162, "trigger": "jq.menter" }, { "description": "jq - mouseleave", - "id": 129, + "id": 163, "trigger": "jq.mleave" }, { "description": "jq - mousemove", - "id": 130, + "id": 164, "trigger": "jq.mmove" }, { "description": "jq - mouseout", - "id": 131, + "id": 165, "trigger": "jq.mout" }, { "description": "jq - mouseover", - "id": 132, + "id": 166, "trigger": "jq.mover" }, { "description": "jq - mouseup", - "id": 133, + "id": 167, "trigger": "jq.mup" }, { "description": "jq - namespace", - "id": 134, + "id": 168, "trigger": "jq.ns" }, { "description": "jq - off", - "id": 135, + "id": 169, "trigger": "jq.off" }, { "description": "jq - on", - "id": 136, + "id": 170, "trigger": "jq.on" }, { "description": "jq - one", - "id": 137, + "id": 171, "trigger": "jq.one" }, { "description": "jq - pageX", - "id": 138, + "id": 172, "trigger": "jq.px" }, { "description": "jq - pageY", - "id": 139, + "id": 173, "trigger": "jq.py" }, { "description": "jq - preventDefault", - "id": 140, + "id": 174, "trigger": "jq.pd" }, { "description": "jq - ready", - "id": 141, + "id": 175, "trigger": "jq.ready" }, { "description": "jq - relatedTarget", - "id": 142, + "id": 176, "trigger": "jq.rtarget" }, { "description": "jq - resize", - "id": 143, + "id": 177, "trigger": "jq.resize" }, { "description": "jq - result", - "id": 144, + "id": 178, "trigger": "jq.result" }, { "description": "jq - scroll", - "id": 145, + "id": 179, "trigger": "jq.scroll" }, { "description": "jq - stopImmediatePropagation", - "id": 146, + "id": 180, "trigger": "jq.sip" }, { "description": "jq - stopPropagation", - "id": 147, + "id": 181, "trigger": "jq.sp" }, { "description": "jq - target", - "id": 148, + "id": 182, "trigger": "jq.target" }, { "description": "jq - timeStamp", - "id": 149, + "id": 183, "trigger": "jq.tstamp" }, { "description": "jq - triggerHandler", - "id": 150, + "id": 184, "trigger": "jq.thandler" }, { "description": "jq - trigger", - "id": 151, + "id": 185, "trigger": "jq.trigger" }, { "description": "jq - type", - "id": 152, + "id": 186, "trigger": "jq.type" }, { "description": "jq - unbind", - "id": 153, + "id": 187, "trigger": "jq.unbind" }, { "description": "jq - undelegate", - "id": 154, + "id": 188, "trigger": "jq.undelegate" }, { "description": "jq - which", - "id": 155, + "id": 189, "trigger": "jq.which" }, { "description": "jq - blur", - "id": 156, + "id": 190, "trigger": "jq.blur" }, { "description": "jq - change", - "id": 157, + "id": 191, "trigger": "jq.change" }, { "description": "jq - focusin", - "id": 158, + "id": 192, "trigger": "jq.focusin" }, { "description": "jq - focusout", - "id": 159, + "id": 193, "trigger": "jq.focusout" }, { "description": "jq - focus", - "id": 160, + "id": 194, "trigger": "jq.focus" }, { "description": "jq - param", - "id": 161, + "id": 195, "trigger": "jq.param" }, { "description": "jq - select", - "id": 162, + "id": 196, "trigger": "jq.select" }, { "description": "jq - serializeArray", - "id": 163, + "id": 197, "trigger": "jq.serarray" }, { "description": "jq - serialize", - "id": 164, + "id": 198, "trigger": "jq.ser" }, { "description": "jq - submit", - "id": 165, + "id": 199, "trigger": "jq.submit" }, { "description": "jq - val", - "id": 166, + "id": 200, "trigger": "jq.val" }, { "description": "jq - error", - "id": 167, + "id": 201, "trigger": "jq.error" }, { "description": "jq - pushStack", - "id": 168, + "id": 202, "trigger": "jq.pstack" }, { "description": "jq - after", - "id": 169, + "id": 203, "trigger": "jq.after" }, { "description": "jq - appendTo", - "id": 170, + "id": 204, "trigger": "jq.appendto" }, { "description": "jq - append", - "id": 171, + "id": 205, "trigger": "jq.append" }, { "description": "jq - before", - "id": 172, + "id": 206, "trigger": "jq.before" }, { "description": "jq - clone", - "id": 173, + "id": 207, "trigger": "jq.clone" }, { "description": "jq - detach", - "id": 174, + "id": 208, "trigger": "jq.detach" }, { "description": "jq - empty", - "id": 175, + "id": 209, "trigger": "jq.empty" }, { "description": "jq - insertAfter", - "id": 176, + "id": 210, "trigger": "jq.iafter" }, { "description": "jq - insertBefore", - "id": 177, + "id": 211, "trigger": "jq.ibefore" }, { "description": "jq - prependTo", - "id": 178, + "id": 212, "trigger": "jq.prependto" }, { "description": "jq - prepend", - "id": 179, + "id": 213, "trigger": "jq.prepend" }, { "description": "jq - remove", - "id": 180, + "id": 214, "trigger": "jq.remove" }, { "description": "jq - replaceAll", - "id": 181, + "id": 215, "trigger": "jq.replaceall" }, { "description": "jq - replaceWith", - "id": 182, + "id": 216, "trigger": "jq.replacewith" }, { "description": "jq - text", - "id": 183, + "id": 217, "trigger": "jq.text" }, { "description": "jq - unwrap", - "id": 184, + "id": 218, "trigger": "jq.unwrap" }, { "description": "jq - wrapAll", - "id": 185, + "id": 219, "trigger": "jq.wall" }, { "description": "jq - wrapInner", - "id": 186, + "id": 220, "trigger": "jq.winner" }, { "description": "jq - wrap", - "id": 187, + "id": 221, "trigger": "jq.wrap" }, { "description": "jq - get", - "id": 188, + "id": 222, "trigger": "jq.get" }, { "description": "jq - index", - "id": 189, + "id": 223, "trigger": "jq.index" }, { "description": "jq - toArray", - "id": 190, + "id": 224, "trigger": "jq.toarray" }, { "description": "jq - offsetParent", - "id": 191, + "id": 225, "trigger": "jq.oparent" }, { "description": "jq - position", - "id": 192, + "id": 226, "trigger": "jq.pos" }, { "description": "jq - scrollLeft", - "id": 193, + "id": 227, "trigger": "jq.scleft" }, { "description": "jq - scrollTop", - "id": 194, + "id": 228, "trigger": "jq.sctop" }, { "description": "jq - offset", - "id": 195, + "id": 229, "trigger": "jq.oset" }, { "description": "jq - fx.interval", - "id": 196, + "id": 230, "trigger": "jq.fxi" }, { "description": "jq - fx.off", - "id": 197, + "id": 231, "trigger": "jq.fxo" }, { "description": "jq - jquery", - "id": 198, + "id": 232, "trigger": "jq.jprop" }, { "description": "jq - length", - "id": 199, + "id": 233, "trigger": "jq.len" }, { "description": "jq - all", - "id": 200, + "id": 234, "trigger": "jq.all" }, { "description": "jq - :animated", - "id": 201, + "id": 235, "trigger": "jq.:a" }, { "description": "jq - Attribute Contains Prefix", - "id": 202, + "id": 236, "trigger": "jq.[]|" }, { "description": "jq - Attribute Contains", - "id": 203, + "id": 237, "trigger": "jq.[]*" }, { "description": "jq - Attribute Contains Word", - "id": 204, + "id": 238, "trigger": "jq.[]~" }, { "description": "jq - Attribute Ends With", - "id": 205, + "id": 239, "trigger": "jq.[]$" }, { "description": "jq - Attribute Equals", - "id": 206, + "id": 240, "trigger": "jq.[]=" }, { "description": "jq - Attribute Not Equal", - "id": 207, + "id": 241, "trigger": "jq.[]!" }, { "description": "jq - Attribute Starts With", - "id": 208, + "id": 242, "trigger": "jq.[]^" }, { "description": "jq - :button", - "id": 209, + "id": 243, "trigger": "jq.:b" }, { "description": "jq - :checkbox", - "id": 210, + "id": 244, "trigger": "jq.:c" }, { "description": "jq - :checked", - "id": 211, + "id": 245, "trigger": "jq.:ch" }, { "description": "jq - :child", - "id": 212, + "id": 246, "trigger": "jq.:chi" }, { "description": "jq - class", - "id": 213, + "id": 247, "trigger": "jq.:cl" }, { "description": "jq - :contains", - "id": 214, + "id": 248, "trigger": "jq.:co" }, { "description": "jq - descendant", - "id": 215, + "id": 249, "trigger": "jq.des" }, { "description": "jq - :disabled", - "id": 216, + "id": 250, "trigger": "jq.:d" }, { "description": "jq - element", - "id": 217, + "id": 251, "trigger": "jq.$" }, { "description": "jq - :empty", - "id": 218, + "id": 252, "trigger": "jq.:e" }, { "description": "jq - :enabled", - "id": 219, + "id": 253, "trigger": "jq.:en" }, { "description": "jq - :eq", - "id": 220, + "id": 254, "trigger": "jq.:eq" }, { "description": "jq - :even", - "id": 221, + "id": 255, "trigger": "jq.:ev" }, { "description": "jq - :file", - "id": 222, + "id": 256, "trigger": "jq.:f" }, { "description": "jq - :first-child", - "id": 223, + "id": 257, "trigger": "jq.:fc" }, { "description": "jq - :first-of-type", - "id": 224, + "id": 258, "trigger": "jq.:ft" }, { "description": "jq - :first", - "id": 225, + "id": 259, "trigger": "jq.:fi" }, { "description": "jq - :focus", - "id": 226, + "id": 260, "trigger": "jq.:fo" }, { "description": "jq - :gt", - "id": 227, + "id": 261, "trigger": "jq.:gt" }, { "description": "jq - Has Attribute", - "id": 228, + "id": 262, "trigger": "jq.[]" }, { "description": "jq - :has", - "id": 229, + "id": 263, "trigger": "jq.:h" }, { "description": "jq - :header", - "id": 230, + "id": 264, "trigger": "jq.:he" }, { "description": "jq - :hidden", - "id": 231, + "id": 265, "trigger": "jq.:hi" }, { "description": "jq - id", - "id": 232, + "id": 266, "trigger": "jq.id" }, { "description": "jq - :image", - "id": 233, + "id": 267, "trigger": "jq.:i" }, { "description": "jq - :input", - "id": 234, + "id": 268, "trigger": "jq.:in" }, { "description": "jq - :lang", - "id": 235, + "id": 269, "trigger": "jq.:l" }, { "description": "jq - :last-child", - "id": 236, + "id": 270, "trigger": "jq.:lc" }, { "description": "jq - :last-of-type", - "id": 237, + "id": 271, "trigger": "jq.:lty" }, { "description": "jq - :last", - "id": 238, + "id": 272, "trigger": "jq.:la" }, { "description": "jq - :lt", - "id": 239, + "id": 273, "trigger": "jq.:lt" }, { "description": "jq - Multiple Attribute", - "id": 240, + "id": 274, "trigger": "jq.[][]" }, { "description": "jq - Multiple", - "id": 241, + "id": 275, "trigger": "jq.," }, { "description": "jq - Next Adjacent", - "id": 242, + "id": 276, "trigger": "jq.+" }, { "description": "jq - Next Siblings", - "id": 243, - "trigger": "jq.-snss" + "id": 277, + "trigger": "jq.snss" }, { "description": "jq - :not", - "id": 244, + "id": 278, "trigger": "jq.:not" }, { "description": "jq - :nth-child", - "id": 245, + "id": 279, "trigger": "jq.:nc" }, { "description": "jq - :nth-last-child", - "id": 246, + "id": 280, "trigger": "jq.:nlc" }, { "description": "jq - :nth-last-of-type", - "id": 247, + "id": 281, "trigger": "jq.:nlt" }, { "description": "jq - :nth-of-type", - "id": 248, + "id": 282, "trigger": "jq.:nt" }, { "description": "jq - :odd", - "id": 249, + "id": 283, "trigger": "jq.:o" }, { "description": "jq - :only-child", - "id": 250, + "id": 284, "trigger": "jq.:oc" }, { "description": "jq - :only-of-type", - "id": 251, + "id": 285, "trigger": "jq.:ot" }, { "description": "jq - :parent", - "id": 252, + "id": 286, "trigger": "jq.:p" }, { "description": "jq - :password", - "id": 253, + "id": 287, "trigger": "jq.:pa" }, { "description": "jq - :radio", - "id": 254, + "id": 288, "trigger": "jq.:r" }, { "description": "jq - :reset", - "id": 255, + "id": 289, "trigger": "jq.:re" }, { "description": "jq - :root", - "id": 256, + "id": 290, "trigger": "jq.:ro" }, { "description": "jq - :selected", - "id": 257, + "id": 291, "trigger": "jq.:s" }, { "description": "jq - :submit", - "id": 258, + "id": 292, "trigger": "jq.:su" }, { "description": "jq - :target", - "id": 259, + "id": 293, "trigger": "jq.:t" }, { "description": "jq - :text", - "id": 260, + "id": 294, "trigger": "jq.:tx" }, { "description": "jq - :visible", - "id": 261, + "id": 295, "trigger": "jq.:v" }, { "description": "jq - addBack", - "id": 262, + "id": 296, "trigger": "jq.addback" }, { "description": "jq - add", - "id": 263, + "id": 297, "trigger": "jq.add" }, { "description": "jq - children", - "id": 264, + "id": 298, "trigger": "jq.children" }, { "description": "jq - closest", - "id": 265, + "id": 299, "trigger": "jq.closest" }, { "description": "jq - contents", - "id": 266, + "id": 300, "trigger": "jq.contents" }, { "description": "jq - each", - "id": 267, + "id": 301, "trigger": "jq.each" }, { "description": "jq - end", - "id": 268, + "id": 302, "trigger": "jq.end" }, { "description": "jq - eq", - "id": 269, + "id": 303, "trigger": "jq.eq" }, { "description": "jq - filter", - "id": 270, + "id": 304, "trigger": "jq.filter" }, { "description": "jq - find", - "id": 271, + "id": 305, "trigger": "jq.find" }, { "description": "jq - first", - "id": 272, + "id": 306, "trigger": "jq.first" }, { "description": "jq - has", - "id": 273, + "id": 307, "trigger": "jq.has" }, { "description": "jq - is", - "id": 274, + "id": 308, "trigger": "jq.is" }, { "description": "jq - last", - "id": 275, + "id": 309, "trigger": "jq.last" }, { "description": "jq - map", - "id": 276, + "id": 310, "trigger": "jq.map" }, { "description": "jq - nextAll", - "id": 277, + "id": 311, "trigger": "jq.nextall" }, { "description": "jq - nextUntil", - "id": 278, + "id": 312, "trigger": "jq.nextuntil" }, { "description": "jq - next", - "id": 279, + "id": 313, "trigger": "jq.next" }, { "description": "jq - not", - "id": 280, + "id": 314, "trigger": "jq.not" }, { "description": "jq - parent", - "id": 281, + "id": 315, "trigger": "jq.parent" }, { "description": "jq - parentsUntil", - "id": 282, + "id": 316, "trigger": "jq.puntil" }, { "description": "jq - parents", - "id": 283, + "id": 317, "trigger": "jq.parents" }, { "description": "jq - prevAll", - "id": 284, + "id": 318, "trigger": "jq.prevall" }, { "description": "jq - prevUntil", - "id": 285, + "id": 319, "trigger": "jq.prevuntil" }, { "description": "jq - prev", - "id": 286, + "id": 320, "trigger": "jq.prev" }, { "description": "jq - siblings", - "id": 287, - "trigger": "jq.-ts" + "id": 321, + "trigger": "jq.ts" }, { "description": "jq - slice", - "id": 288, - "trigger": "jq.-tsl" + "id": 322, + "trigger": "jq.tsl" }, { "description": "jq - contains", - "id": 289, + "id": 323, "trigger": "jq.contains" }, { "description": "jq - jQuery each", - "id": 290, + "id": 324, "trigger": "jq.jeach" }, { "description": "jq - extend", - "id": 291, + "id": 325, "trigger": "jq.extend" }, { "description": "jq - fn.extend", - "id": 292, + "id": 326, "trigger": "jq.fnextend" }, { "description": "jq - globalEval", - "id": 293, + "id": 327, "trigger": "jq.geval" }, { "description": "jq - grep", - "id": 294, + "id": 328, "trigger": "jq.grep" }, { "description": "jq - inArray", - "id": 295, + "id": 329, "trigger": "jq.inarray" }, { "description": "jq - isEmptyObject", - "id": 296, + "id": 330, "trigger": "jq.ieobject" }, { "description": "jq - isFunction", - "id": 297, + "id": 331, "trigger": "jq.ifunction" }, { "description": "jq - isNumeric", - "id": 298, + "id": 332, "trigger": "jq.inumeric" }, { "description": "jq - isPlainObject", - "id": 299, + "id": 333, "trigger": "jq.ipobject" }, { "description": "jq - isWindow", - "id": 300, + "id": 334, "trigger": "jq.iwindow" }, { "description": "jq - isXMLDoc", - "id": 301, + "id": 335, "trigger": "jq.ixmldoc" }, { "description": "jq - makeArray", - "id": 302, + "id": 336, "trigger": "jq.marray" }, { "description": "jq - jQuery map", - "id": 303, + "id": 337, "trigger": "jq.jmap" }, { "description": "jq - merge", - "id": 304, + "id": 338, "trigger": "jq.merge" }, { "description": "jq - noop", - "id": 305, + "id": 339, "trigger": "jq.noop" }, { "description": "jq - now", - "id": 306, + "id": 340, "trigger": "jq.now" }, { "description": "jq - parseHTML", - "id": 307, + "id": 341, "trigger": "jq.parseh" }, { - "description": "jq - parseJSON", - "id": 308, - "trigger": "jq.parsej" + "description": "jq - parseJSON", + "id": 342, + "trigger": "jq.parsej" + }, + { + "description": "jq - parseXML", + "id": 343, + "trigger": "jq.parsex" + }, + { + "description": "jq - proxy", + "id": 344, + "trigger": "jq.proxy" + }, + { + "description": "jq - trim", + "id": 345, + "trigger": "jq.trim" + }, + { + "description": "jq - jQuery type", + "id": 346, + "trigger": "jq.jtype" + }, + { + "description": "jq - unique", + "id": 347, + "trigger": "jq.unique" + }, + { + "description": "jq - jQuery Boilerplate", + "id": 348, + "trigger": "jq.b" + }, + { + "description": "ES6 React.Component class", + "id": 349, + "trigger": "6rec" + }, + { + "description": "React createClass template", + "id": 350, + "trigger": "rec" + }, + { + "description": "React mixins", + "id": 351, + "trigger": "mix" + }, + { + "description": "ES6 React componentDidMount", + "id": 352, + "trigger": "6cd" + }, + { + "description": "ES6 React componentWillMount", + "id": 353, + "trigger": "6cw" + }, + { + "description": "React componentWillUnmount", + "id": 354, + "trigger": "6cwu" + }, + { + "description": "React componentDidMount", + "id": 355, + "trigger": "cd" + }, + { + "description": "React componentWillMount", + "id": 356, + "trigger": "cw" + }, + { + "description": "React componentWillUnmount", + "id": 357, + "trigger": "cwu" + }, + { + "description": "React unmountComponent at node", + "id": 358, + "trigger": "unm" + }, + { + "description": "ES6 React componentDidUpdate", + "id": 359, + "trigger": "6cdu" + }, + { + "description": "ES6 React componentWillReceiveProps", + "id": 360, + "trigger": "6cwr" + }, + { + "description": "ES6 React componentWillUpdate", + "id": 361, + "trigger": "6cwup" + }, + { + "description": "ES6 React shouldComponentUpdate", + "id": 362, + "trigger": "6scu" + }, + { + "description": "React componentDidUpdate", + "id": 363, + "trigger": "cdu" + }, + { + "description": "React componentWillReceiveProps", + "id": 364, + "trigger": "cwr" + }, + { + "description": "React componentWillUpdate", + "id": 365, + "trigger": "cwup" + }, + { + "description": "React shouldComponentUpdate", + "id": 366, + "trigger": "scu" + }, + { + "description": "React ChildContextTypes", + "id": 367, + "trigger": "ctt" + }, + { + "description": "React contextTypes", + "id": 368, + "trigger": "cty" + }, + { + "description": "React getChildContext", + "id": 369, + "trigger": "gc" + }, + { + "description": "React withContext", + "id": 370, + "trigger": "rwc" + }, + { + "description": "React.createElement()", + "id": 371, + "trigger": "rc" + }, + { + "description": "onBlur", + "id": 372, + "trigger": "onbl" + }, + { + "description": "onChange", + "id": 373, + "trigger": "onch" + }, + { + "description": "onClick", + "id": 374, + "trigger": "oncl" + }, + { + "description": "onContextMenu", + "id": 375, + "trigger": "oncm" + }, + { + "description": "onCopy", + "id": 376, + "trigger": "onco" + }, + { + "description": "onCut", + "id": 377, + "trigger": "onct" + }, + { + "description": "onDoubleClick", + "id": 378, + "trigger": "ondc" + }, + { + "description": "onDragEnd", + "id": 379, + "trigger": "onde" + }, + { + "description": "onDragEnter", + "id": 380, + "trigger": "onden" + }, + { + "description": "onDragExit", + "id": 381, + "trigger": "ondex" + }, + { + "description": "onDragLeave", + "id": 382, + "trigger": "ondl" + }, + { + "description": "onDragOver", + "id": 383, + "trigger": "ondo" + }, + { + "description": "onDragStart", + "id": 384, + "trigger": "onds" + }, + { + "description": "onDrop", + "id": 385, + "trigger": "ondr" + }, + { + "description": "onFocus", + "id": 386, + "trigger": "onfo" + }, + { + "description": "onInput", + "id": 387, + "trigger": "onin" + }, + { + "description": "onKeyDown", + "id": 388, + "trigger": "onkd" + }, + { + "description": "onKeyPress", + "id": 389, + "trigger": "onkp" + }, + { + "description": "onKeyUp", + "id": 390, + "trigger": "onku" + }, + { + "description": "onMouseDown", + "id": 391, + "trigger": "onmd" + }, + { + "description": "onMouseEnter", + "id": 392, + "trigger": "onme" + }, + { + "description": "onMouseLeave", + "id": 393, + "trigger": "onml" + }, + { + "description": "onMouseMove", + "id": 394, + "trigger": "onmm" + }, + { + "description": "onMouseOut", + "id": 395, + "trigger": "onmo" + }, + { + "description": "onMouseOver", + "id": 396, + "trigger": "onmov" + }, + { + "description": "onMouseUp", + "id": 397, + "trigger": "onmu" + }, + { + "description": "onPaste", + "id": 398, + "trigger": "onpa" + }, + { + "description": "onScroll", + "id": 399, + "trigger": "onsc" + }, + { + "description": "onSubmit", + "id": 400, + "trigger": "onsu" + }, + { + "description": "onTouchCancel", + "id": 401, + "trigger": "ontc" + }, + { + "description": "onTouchEnd", + "id": 402, + "trigger": "onte" + }, + { + "description": "onTouchMove", + "id": 403, + "trigger": "ontm" + }, + { + "description": "onTouchStart", + "id": 404, + "trigger": "onts" + }, + { + "description": "onWheel", + "id": 405, + "trigger": "onwh" + }, + { + "description": "React getDefaultProps", + "id": 406, + "trigger": "gd" + }, + { + "description": "React.findDOMNode", + "id": 407, + "trigger": "fdn" + }, + { + "description": "React getInitialState", + "id": 408, + "trigger": "gi" + }, + { + "description": "React JSX", + "id": 409, + "trigger": "jsx" + }, + { + "description": "React JSX script src", + "id": 410, + "trigger": "jsx:src" + }, + { + "description": "React JSX script type", + "id": 411, + "trigger": "jsxt" + }, + { + "description": "propTypes", + "id": 412, + "trigger": "pt" + }, + { + "description": "React.PropTypes", + "id": 413, + "trigger": "rp" + }, + { + "description": "React.PropTypes.array", + "id": 414, + "trigger": "rpa" + }, + { + "description": "React.PropTypes.arrayOf", + "id": 415, + "trigger": "rpao" + }, + { + "description": "React.PropTypes.boolean", + "id": 416, + "trigger": "rpb" + }, + { + "description": "React.PropTypes.element", + "id": 417, + "trigger": "rpe" + }, + { + "description": "React.PropTypes.func", + "id": 418, + "trigger": "rpf" + }, + { + "description": "React.PropTypes.instanceOf", + "id": 419, + "trigger": "rpi" + }, + { + "description": "React.PropTypes.number", + "id": 420, + "trigger": "rpn" + }, + { + "description": "React.PropTypes.object", + "id": 421, + "trigger": "rpobj" + }, + { + "description": "React.PropTypes.oneOf", + "id": 422, + "trigger": "rpo" + }, + { + "description": "React.PropTypes.oneOfType", + "id": 423, + "trigger": "rpot" + }, + { + "description": "React.PropTypes.shape", + "id": 424, + "trigger": "rpsh" + }, + { + "description": "React.PropTypes.string", + "id": 425, + "trigger": "rps" + }, + { + "description": "React.addons.classSet", + "id": 426, + "trigger": "raCS" + }, + { + "description": "React.addons.cloneWithProps", + "id": 427, + "trigger": "rclone" + }, + { + "description": "React.addons.CSSTransitionGroup", + "id": 428, + "trigger": "raCSS" + }, + { + "description": "React.addons.LinkedStateMixin", + "id": 429, + "trigger": "raL" + }, + { + "description": "this.linkState", + "id": 430, + "trigger": "thisl" + }, + { + "description": "valueLink", + "id": 431, + "trigger": "vl" + }, + { + "description": "React.addons.CSSTransitionGroup.transitionName", + "id": 432, + "trigger": "tn" + }, + { + "description": "React.DOM.a", + "id": 433, + "trigger": "Ra" + }, + { + "description": "React.DOM.abbr", + "id": 434, + "trigger": "Rabbr" + }, + { + "description": "React.DOM.address", + "id": 435, + "trigger": "Raddress" + }, + { + "description": "React.DOM.area", + "id": 436, + "trigger": "Rarea" + }, + { + "description": "React.DOM.article", + "id": 437, + "trigger": "Rarticle" + }, + { + "description": "React.DOM.aside", + "id": 438, + "trigger": "Raside" + }, + { + "description": "React.DOM.audio", + "id": 439, + "trigger": "Raudio" + }, + { + "description": "React.DOM.b", + "id": 440, + "trigger": "Rb" + }, + { + "description": "React.DOM.base", + "id": 441, + "trigger": "Rbase" + }, + { + "description": "React.DOM.bdi", + "id": 442, + "trigger": "Rbdi" + }, + { + "description": "React.DOM.bdo", + "id": 443, + "trigger": "Rbdo" + }, + { + "description": "React.DOM.big", + "id": 444, + "trigger": "Rbig" + }, + { + "description": "React.DOM.blockquote", + "id": 445, + "trigger": "Rblockquote" + }, + { + "description": "React.DOM.body", + "id": 446, + "trigger": "Rbody" + }, + { + "description": "React.DOM.br", + "id": 447, + "trigger": "Rbr" + }, + { + "description": "React.DOM.button", + "id": 448, + "trigger": "Rbutton" + }, + { + "description": "React.DOM.canvas", + "id": 449, + "trigger": "Rcanvas" + }, + { + "description": "React.DOM.caption", + "id": 450, + "trigger": "Rcaption" + }, + { + "description": "React.DOM.circle", + "id": 451, + "trigger": "Rcircle" + }, + { + "description": "React.DOM.cite", + "id": 452, + "trigger": "Rcite" + }, + { + "description": "React.DOM.code", + "id": 453, + "trigger": "Rcode" + }, + { + "description": "React.DOM.col", + "id": 454, + "trigger": "Rcol" + }, + { + "description": "React.DOM.colgroup", + "id": 455, + "trigger": "Rcolgroup" + }, + { + "description": "React.DOM.data", + "id": 456, + "trigger": "Rdata" + }, + { + "description": "React.DOM.datalist", + "id": 457, + "trigger": "Rdatalist" + }, + { + "description": "React.DOM.dd", + "id": 458, + "trigger": "Rdd" + }, + { + "description": "React.DOM.defs", + "id": 459, + "trigger": "Rdefs" + }, + { + "description": "React.DOM.del", + "id": 460, + "trigger": "Rdel" + }, + { + "description": "React.DOM.details", + "id": 461, + "trigger": "Rdetails" + }, + { + "description": "React.DOM.dfn", + "id": 462, + "trigger": "Rdfn" + }, + { + "description": "React.DOM.div", + "id": 463, + "trigger": "Rdiv" + }, + { + "description": "React.DOM.dl", + "id": 464, + "trigger": "Rdl" + }, + { + "description": "React.DOM.dt", + "id": 465, + "trigger": "Rdt" + }, + { + "description": "React.DOM.em", + "id": 466, + "trigger": "Rem" + }, + { + "description": "React.DOM.embed", + "id": 467, + "trigger": "Rembed" + }, + { + "description": "React.DOM.fieldset", + "id": 468, + "trigger": "Rfieldset" + }, + { + "description": "React.DOM.figcaption", + "id": 469, + "trigger": "Rfigcaption" + }, + { + "description": "React.DOM.figure", + "id": 470, + "trigger": "Rfigure" + }, + { + "description": "React.DOM.footer", + "id": 471, + "trigger": "Rfooter" + }, + { + "description": "React.DOM.form", + "id": 472, + "trigger": "Rform" + }, + { + "description": "React.DOM.g", + "id": 473, + "trigger": "Rg" + }, + { + "description": "React.DOM.h1", + "id": 474, + "trigger": "Rh1" + }, + { + "description": "React.DOM.h2", + "id": 475, + "trigger": "Rh2" + }, + { + "description": "React.DOM.h3", + "id": 476, + "trigger": "Rh3" + }, + { + "description": "React.DOM.h4", + "id": 477, + "trigger": "Rh4" + }, + { + "description": "React.DOM.h5", + "id": 478, + "trigger": "Rh5" + }, + { + "description": "React.DOM.h6", + "id": 479, + "trigger": "Rh6" + }, + { + "description": "React.DOM.head", + "id": 480, + "trigger": "Rhead" + }, + { + "description": "React.DOM.header", + "id": 481, + "trigger": "Rheader" + }, + { + "description": "React.DOM.hr", + "id": 482, + "trigger": "Rhr" + }, + { + "description": "React.DOM.html", + "id": 483, + "trigger": "Rhtml" + }, + { + "description": "React.DOM.i", + "id": 484, + "trigger": "Ri" + }, + { + "description": "React.DOM.iframe", + "id": 485, + "trigger": "Riframe" + }, + { + "description": "React.DOM.img", + "id": 486, + "trigger": "Rimg" + }, + { + "description": "React.DOM.input", + "id": 487, + "trigger": "Rinput" + }, + { + "description": "React.DOM.ins", + "id": 488, + "trigger": "Rins" + }, + { + "description": "React.DOM.kbd", + "id": 489, + "trigger": "Rkbd" + }, + { + "description": "React.DOM.keygen", + "id": 490, + "trigger": "Rkeygen" + }, + { + "description": "React.DOM.label", + "id": 491, + "trigger": "Rlabel" + }, + { + "description": "React.DOM.legend", + "id": 492, + "trigger": "Rlegend" + }, + { + "description": "React.DOM.li", + "id": 493, + "trigger": "Rli" + }, + { + "description": "React.DOM.line", + "id": 494, + "trigger": "Rline" + }, + { + "description": "React.DOM.linearGradient", + "id": 495, + "trigger": "RlinearGradient" + }, + { + "description": "React.DOM.link", + "id": 496, + "trigger": "Rlink" + }, + { + "description": "React.DOM.main", + "id": 497, + "trigger": "Rmain" + }, + { + "description": "React.DOM.map", + "id": 498, + "trigger": "Rmap" + }, + { + "description": "React.DOM.mark", + "id": 499, + "trigger": "Rmark" + }, + { + "description": "React.DOM.menu", + "id": 500, + "trigger": "Rmenu" + }, + { + "description": "React.DOM.menuitem", + "id": 501, + "trigger": "Rmenuitem" + }, + { + "description": "React.DOM.meta", + "id": 502, + "trigger": "Rmeta" + }, + { + "description": "React.DOM.meter", + "id": 503, + "trigger": "Rmeter" + }, + { + "description": "React.DOM.nav", + "id": 504, + "trigger": "Rnav" + }, + { + "description": "React.DOM.noscript", + "id": 505, + "trigger": "Rnoscript" + }, + { + "description": "React.DOM.object", + "id": 506, + "trigger": "Robject" + }, + { + "description": "React.DOM.ol", + "id": 507, + "trigger": "Rol" + }, + { + "description": "React.DOM.optgroup", + "id": 508, + "trigger": "Roptgroup" + }, + { + "description": "React.DOM.option", + "id": 509, + "trigger": "Roption" + }, + { + "description": "React.DOM.output", + "id": 510, + "trigger": "Routput" + }, + { + "description": "React.DOM.p", + "id": 511, + "trigger": "Rp" + }, + { + "description": "React.DOM.param", + "id": 512, + "trigger": "Rparam" + }, + { + "description": "React.DOM.path", + "id": 513, + "trigger": "Rpath" + }, + { + "description": "React.DOM.polygon", + "id": 514, + "trigger": "Rpolygon" + }, + { + "description": "React.DOM.polyline", + "id": 515, + "trigger": "Rpolyline" + }, + { + "description": "React.DOM.pre", + "id": 516, + "trigger": "Rpre" + }, + { + "description": "React.DOM.progress", + "id": 517, + "trigger": "Rprogress" + }, + { + "description": "React.DOM.q", + "id": 518, + "trigger": "Rq" + }, + { + "description": "React.DOM.radialGradient", + "id": 519, + "trigger": "RradialGradient" + }, + { + "description": "React.DOM.rect", + "id": 520, + "trigger": "Rrect" + }, + { + "description": "React.DOM.rp", + "id": 521, + "trigger": "Rrp" + }, + { + "description": "React.DOM.rt", + "id": 522, + "trigger": "Rrt" + }, + { + "description": "React.DOM.ruby", + "id": 523, + "trigger": "Rruby" + }, + { + "description": "React.DOM.s", + "id": 524, + "trigger": "Rs" + }, + { + "description": "React.DOM.samp", + "id": 525, + "trigger": "Rsamp" + }, + { + "description": "React.DOM.script", + "id": 526, + "trigger": "Rscript" + }, + { + "description": "React.DOM.section", + "id": 527, + "trigger": "Rsection" + }, + { + "description": "React.DOM.select", + "id": 528, + "trigger": "Rselect" + }, + { + "description": "React.DOM.small", + "id": 529, + "trigger": "Rsmall" + }, + { + "description": "React.DOM.source", + "id": 530, + "trigger": "Rsource" + }, + { + "description": "React.DOM.span", + "id": 531, + "trigger": "Rspan" + }, + { + "description": "React.DOM.stop", + "id": 532, + "trigger": "Rstop" + }, + { + "description": "React.DOM.strong", + "id": 533, + "trigger": "Rstrong" + }, + { + "description": "React.DOM.style", + "id": 534, + "trigger": "Rstyle" + }, + { + "description": "React.DOM.sub", + "id": 535, + "trigger": "Rsub" + }, + { + "description": "React.DOM.summary", + "id": 536, + "trigger": "Rsummary" + }, + { + "description": "React.DOM.sup", + "id": 537, + "trigger": "Rsup" + }, + { + "description": "React.DOM.svg", + "id": 538, + "trigger": "Rsvg" + }, + { + "description": "React.DOM.table", + "id": 539, + "trigger": "Rtable" + }, + { + "description": "React.DOM.tbody", + "id": 540, + "trigger": "Rtbody" + }, + { + "description": "React.DOM.td", + "id": 541, + "trigger": "Rtd" + }, + { + "description": "React.DOM.text", + "id": 542, + "trigger": "Rtext" + }, + { + "description": "React.DOM.textarea", + "id": 543, + "trigger": "Rtextarea" + }, + { + "description": "React.DOM.tfoot", + "id": 544, + "trigger": "Rtfoot" + }, + { + "description": "React.DOM.th", + "id": 545, + "trigger": "Rth" + }, + { + "description": "React.DOM.thead", + "id": 546, + "trigger": "Rthead" + }, + { + "description": "React.DOM.time", + "id": 547, + "trigger": "Rtime" + }, + { + "description": "React.DOM.title", + "id": 548, + "trigger": "Rtitle" + }, + { + "description": "React.DOM.tr", + "id": 549, + "trigger": "Rtr" + }, + { + "description": "React.DOM.track", + "id": 550, + "trigger": "Rtrack" + }, + { + "description": "React.DOM.u", + "id": 551, + "trigger": "Ru" + }, + { + "description": "React.DOM.ul", + "id": 552, + "trigger": "Rul" + }, + { + "description": "React.DOM.video", + "id": 553, + "trigger": "Rvideo" + }, + { + "description": "React.DOM.wbr", + "id": 554, + "trigger": "Rwbr" + }, + { + "description": "React.render", + "id": 555, + "trigger": "ren" + }, + { + "description": "React render with React.DOM", + "id": 556, + "trigger": "rren" + }, + { + "description": "React this.setProps", + "id": 557, + "trigger": "sp" }, { - "description": "jq - parseXML", - "id": 309, - "trigger": "jq.parsex" + "description": "React this.setState", + "id": 558, + "trigger": "ss" }, { - "description": "jq - proxy", - "id": 310, - "trigger": "jq.proxy" + "description": "React this.context", + "id": 559, + "trigger": "thisc" }, { - "description": "jq - trim", - "id": 311, - "trigger": "jq.trim" + "description": "React this.props", + "id": 560, + "trigger": "thisp" }, { - "description": "jq - jQuery type", - "id": 312, - "trigger": "jq.jtype" + "description": "React this.refs", + "id": 561, + "trigger": "thisr" }, { - "description": "jq - unique", - "id": 313, - "trigger": "jq.unique" + "description": "React this.state", + "id": 562, + "trigger": "thiss" }, { - "description": "jq - jQuery Boilerplate", - "id": 314, - "trigger": "jq.b" + "description": "React this.transferPropsTo", + "id": 563, + "trigger": "thistr" }, { "description": "jdp - Command", - "id": 315, + "id": 564, "trigger": "jdp.command" }, { "description": "jdp - Constructor", - "id": 316, + "id": 565, "trigger": "jdp.constructor" }, { "description": "jdp - Decorator", - "id": 317, + "id": 566, "trigger": "jdp.decorator" }, { "description": "jdp - Facade", - "id": 318, + "id": 567, "trigger": "jdp.facade" }, { "description": "jdp - Factory", - "id": 319, + "id": 568, "trigger": "jdp.factory" }, { "description": "jdp - Flyweight", - "id": 320, + "id": 569, "trigger": "jdp.flyweight" }, { "description": "jdp - Mediator", - "id": 321, + "id": 570, "trigger": "jdp.mediator" }, { "description": "jdp - Mixin", - "id": 322, + "id": 571, "trigger": "jdp.mixin" }, { "description": "jdp - Module", - "id": 323, + "id": 572, "trigger": "jdp.module" }, { "description": "jdp - Observer", - "id": 324, + "id": 573, "trigger": "jdp.observer" }, { "description": "jdp - Prototype", - "id": 325, + "id": 574, "trigger": "jdp.prototype" }, { "description": "jdp - Revealing Module", - "id": 326, + "id": 575, "trigger": "jdp.rmodule" }, { "description": "jdp - Singleton", - "id": 327, + "id": 576, "trigger": "jdp.singleton" }, { "description": "jumd - AMD Web Global", - "id": 328, + "id": 577, "trigger": "jumd.awg" }, { "description": "jumd - AMD Web", - "id": 329, + "id": 578, "trigger": "jumd.aw" }, { "description": "jumd - CommonJS Adapter", - "id": 330, + "id": 579, "trigger": "jumd.ca" }, { "description": "jumd - CommonJS Strict Global", - "id": 331, + "id": 580, "trigger": "jumd.csg" }, { "description": "jumd - CommonJS Strict", - "id": 332, + "id": 581, "trigger": "jumd.cs" }, { "description": "jumd - jQuery plugin", - "id": 333, + "id": 582, "trigger": "jumd.jp" }, { "description": "jumd - Node Adapter", - "id": 334, + "id": 583, "trigger": "jumd.na" }, { "description": "jumd - Return Exports Global", - "id": 335, + "id": 584, "trigger": "jumd.reg" }, { "description": "jumd - Return Exports", - "id": 336, + "id": 585, "trigger": "jumd.re" }, { "description": "tc - Expect to.be.a", - "id": 337, + "id": 586, "trigger": "tc.e.tba" }, { "description": "tc - Expect to.equal", - "id": 338, + "id": 587, "trigger": "tc.e.te" }, { "description": "tc - Expect to.have.length", - "id": 339, + "id": 588, "trigger": "tc.e.thl" }, { "description": "tc - Expect to.have.property", - "id": 340, + "id": 589, "trigger": "tc.e.thp" }, { "description": "tc - Should be.a", - "id": 341, + "id": 590, "trigger": "tc.s.ba" }, { "description": "tc - Should equal", - "id": 342, + "id": 591, "trigger": "tc.s.e" }, { "description": "tc - Should have.length", - "id": 343, + "id": 592, "trigger": "tc.s.hl" }, { "description": "tc - Should have.property", - "id": 344, + "id": 593, "trigger": "tc.s.hp" }, { "description": "tc - Assert equal", - "id": 345, + "id": 594, "trigger": "tc.a.e" }, { "description": "tc - Assert lengthOf", - "id": 346, + "id": 595, "trigger": "tc.a.lo" }, { "description": "tc - Assert typeOf", - "id": 347, + "id": 596, "trigger": "tc.a.to" }, { "description": "t - afterEach", - "id": 348, + "id": 597, "trigger": "t.aftereach" }, { "description": "t - after", - "id": 349, + "id": 598, "trigger": "t.after" }, { "description": "t - beforeEach", - "id": 350, + "id": 599, "trigger": "t.beforeeach" }, { "description": "t - before", - "id": 351, + "id": 600, "trigger": "t.before" }, { "description": "t - describe", - "id": 352, + "id": 601, "trigger": "t.describe" }, { "description": "t - it", - "id": 353, + "id": 602, "trigger": "t.it" }, { "description": "tj - Expect toBeCloseTo", - "id": 354, + "id": 603, "trigger": "tj.closeto" }, { "description": "tj - Expect toBeContain", - "id": 355, + "id": 604, "trigger": "tj.contain" }, { "description": "tj - Expect toBeDefined", - "id": 356, + "id": 605, "trigger": "tj.defined" }, { "description": "tj - Expect toBeFalsy", - "id": 357, + "id": 606, "trigger": "tj.falsy" }, { "description": "tj - Expect toBeGreaterThan", - "id": 358, + "id": 607, "trigger": "tj.greaterthan" }, { "description": "tj - Expect toBeLessThan", - "id": 359, + "id": 608, "trigger": "tj.lessthan" }, { "description": "tj - Expect toBeNaN", - "id": 360, + "id": 609, "trigger": "tj.nan" }, { "description": "tj - Expect toBeNull", - "id": 361, + "id": 610, "trigger": "tj.null" }, { "description": "tj - Expect toBeTruthy", - "id": 362, + "id": 611, "trigger": "tj.truthy" }, { "description": "tj - Expect toBeUndefined", - "id": 363, + "id": 612, "trigger": "tj.undefined" }, { "description": "tj - Expect toBe", - "id": 364, + "id": 613, "trigger": "tj.tobe" }, { "description": "tj - Expect toEqual", - "id": 365, + "id": 614, "trigger": "tj.equal" }, { "description": "tj - Expect toHaveBeenCalledTimes", - "id": 366, + "id": 615, "trigger": "tj.hbctimes" }, { "description": "tj - Expect toHaveBeenCalledWith", - "id": 367, + "id": 616, "trigger": "tj.hbcwith" }, { "description": "tj - Expect toHaveBeenCalled", - "id": 368, + "id": 617, "trigger": "tj.hbc" }, { "description": "tj - Expect toMatch", - "id": 369, + "id": 618, "trigger": "tj.match" }, { "description": "tj - Expect toThrowError", - "id": 370, + "id": 619, "trigger": "tj.throwerror" }, { "description": "tj - Expect toThrow", - "id": 371, + "id": 620, "trigger": "tj.throw" }, { "description": "tn - Assert deepEqual", - "id": 372, + "id": 621, "trigger": "tn.dequal" }, { "description": "tn - Assert deepStrictEqual", - "id": 373, + "id": 622, "trigger": "tn.dsequal" }, { "description": "tn - Assert doesNotThrow", - "id": 374, + "id": 623, "trigger": "tn.dnthrow" }, { "description": "tn - Assert equal", - "id": 375, + "id": 624, "trigger": "tn.equal" }, { "description": "tn - Assert fail", - "id": 376, + "id": 625, "trigger": "tn.fail" }, { "description": "tn - Assert ifError", - "id": 377, + "id": 626, "trigger": "tn.iferror" }, { "description": "tn - Assert notDeepEqual", - "id": 378, + "id": 627, "trigger": "tn.ndequal" }, { "description": "tn - Assert notDeepStrictEqual", - "id": 379, + "id": 628, "trigger": "tn.ndsequal" }, { "description": "tn - Assert notEqual", - "id": 380, + "id": 629, "trigger": "tn.nequal" }, { "description": "tn - Assert notStrictEqual", - "id": 381, + "id": 630, "trigger": "tn.nsequal" }, { "description": "tn - Assert ok", - "id": 382, + "id": 631, "trigger": "tn.ok" }, { "description": "tn - Assert strictEqual", - "id": 383, + "id": 632, "trigger": "tn.sequal" }, { "description": "tn - Assert throws", - "id": 384, + "id": 633, "trigger": "tn.throws" }, { "description": "tn - Assert", - "id": 385, + "id": 634, "trigger": "tn.a" }, + { + "description": "tq - Assert async", + "id": 635, + "trigger": "tq.async" + }, + { + "description": "tq - Assert deepEqual", + "id": 636, + "trigger": "tq.dequal" + }, + { + "description": "tq - Assert equal", + "id": 637, + "trigger": "tq.equal" + }, + { + "description": "tq - notDeepEqual", + "id": 638, + "trigger": "tq.ndequal" + }, + { + "description": "tq - notEqual", + "id": 639, + "trigger": "tq.nequal" + }, + { + "description": "tq - notOk", + "id": 640, + "trigger": "tq.nok" + }, + { + "description": "tq - notPropEqual", + "id": 641, + "trigger": "tq.npequal" + }, + { + "description": "tq - notStrictEqual", + "id": 642, + "trigger": "tq.nsequal" + }, + { + "description": "tq - ok", + "id": 643, + "trigger": "tq.ok" + }, + { + "description": "tq - propEqual", + "id": 644, + "trigger": "tq.pequal" + }, + { + "description": "tq - strictEqual", + "id": 645, + "trigger": "tq.sequal" + }, + { + "description": "tq - throws", + "id": 646, + "trigger": "tq.throws" + }, + { + "description": "tq - QUnit.begin", + "id": 647, + "trigger": "tq.begin" + }, + { + "description": "tq - QUnit.config", + "id": 648, + "trigger": "tq.config" + }, + { + "description": "tq - QUnit.done", + "id": 649, + "trigger": "tq.done" + }, + { + "description": "tq - QUnit.dump.parse", + "id": 650, + "trigger": "tq.dparse" + }, + { + "description": "tq - Expect", + "id": 651, + "trigger": "tq.expect" + }, + { + "description": "tq - QUnit.extend", + "id": 652, + "trigger": "tq.extend" + }, + { + "description": "tq - QUnit.log", + "id": 653, + "trigger": "tq.log" + }, + { + "description": "tq - QUnit.moduleDone", + "id": 654, + "trigger": "tq.mdone" + }, + { + "description": "tq - QUnit.moduleStart", + "id": 655, + "trigger": "tq.mstart" + }, + { + "description": "tq - QUnit.module", + "id": 656, + "trigger": "tq.module" + }, + { + "description": "tq - QUnit.only", + "id": 657, + "trigger": "tq.only" + }, + { + "description": "tq - push", + "id": 658, + "trigger": "tq.push" + }, + { + "description": "tq - QUnit.skip", + "id": 659, + "trigger": "tq.skip" + }, + { + "description": "tq - QUnit.stack", + "id": 660, + "trigger": "tq.stack" + }, + { + "description": "tq - QUnit.testDone", + "id": 661, + "trigger": "tq.tdone" + }, + { + "description": "tq - QUnit.testStart", + "id": 662, + "trigger": "tq.tstart" + }, + { + "description": "tq - Test", + "id": 663, + "trigger": "tq.test" + }, + { + "description": "ts - Assert alwaysCalledOn", + "id": 664, + "trigger": "ts.acon" + }, + { + "description": "ts - Assert alwaysCalledWithExactly", + "id": 665, + "trigger": "ts.acalledwe" + }, + { + "description": "ts - Assert alwaysCalledWithMatch", + "id": 666, + "trigger": "ts.acalledwm" + }, + { + "description": "ts - Assert alwaysCalledWith", + "id": 667, + "trigger": "ts.acalledw" + }, + { + "description": "ts - Assert alwaysThrew", + "id": 668, + "trigger": "ts.athrew" + }, + { + "description": "ts - Assert callCount", + "id": 669, + "trigger": "ts.ccount" + }, + { + "description": "ts - Assert callOrder", + "id": 670, + "trigger": "ts.corder" + }, + { + "description": "ts - Assert calledOn", + "id": 671, + "trigger": "ts.con" + }, + { + "description": "ts - Assert calledOnce", + "id": 672, + "trigger": "ts.calledo" + }, + { + "description": "ts - Assert calledThrice", + "id": 673, + "trigger": "ts.calledth" + }, + { + "description": "ts - Assert calledTwice", + "id": 674, + "trigger": "ts.calledt" + }, + { + "description": "ts - Assert calledWithExactly", + "id": 675, + "trigger": "ts.calledwe" + }, + { + "description": "ts - Assert calledWithMatch", + "id": 676, + "trigger": "ts.calledwm" + }, + { + "description": "ts - Assert calledWith", + "id": 677, + "trigger": "ts.calledw" + }, + { + "description": "ts - Assert called", + "id": 678, + "trigger": "ts.called" + }, + { + "description": "ts - Assert expose", + "id": 679, + "trigger": "ts.expose" + }, + { + "description": "ts - Assert failException", + "id": 680, + "trigger": "ts.faile" + }, + { + "description": "ts - Assert fail", + "id": 681, + "trigger": "ts.afail" + }, + { + "description": "ts - Assert neverCalledWithMatch", + "id": 682, + "trigger": "ts.ncalledwm" + }, + { + "description": "ts - Assert neverCalledWith", + "id": 683, + "trigger": "ts.ncalledw" + }, + { + "description": "ts - Assert notCalled", + "id": 684, + "trigger": "ts.ncalled" + }, + { + "description": "ts - Assert pass", + "id": 685, + "trigger": "ts.pass" + }, + { + "description": "ts - Assert threw", + "id": 686, + "trigger": "ts.threw" + }, { "description": "j - if else", - "id": 386, + "id": 687, "trigger": "j.ifelse" }, { "description": "j - switch", - "id": 387, + "id": 688, "trigger": "j.switch" }, { "description": "j - console.dir", - "id": 388, + "id": 689, "trigger": "j.cd" }, { "description": "j - console.error", - "id": 389, + "id": 690, "trigger": "j.ce" }, { "description": "j - console.info", - "id": 390, + "id": 691, "trigger": "j.ci" }, { "description": "j - console.log", - "id": 391, + "id": 692, "trigger": "j.cl" }, { "description": "j - console.warn", - "id": 392, + "id": 693, "trigger": "j.cw" }, { "description": "j - addEventListener", - "id": 393, - "trigger": "j.-ael" + "id": 694, + "trigger": "j.ael" }, { "description": "j - appendChild", - "id": 394, + "id": 695, "trigger": "j.ac" }, { "description": "j - classList.add", - "id": 395, + "id": 696, "trigger": "j.cla" }, { "description": "j - classList.remove", - "id": 396, + "id": 697, "trigger": "j.clr" }, { "description": "j - classList.toggle", - "id": 397, + "id": 698, "trigger": "j.clt" }, { "description": "j - createDocumentFragment", - "id": 398, + "id": 699, "trigger": "j.cdf" }, { "description": "j - createElement", - "id": 399, + "id": 700, "trigger": "j.cel" }, { "description": "j - getAttribute", - "id": 400, + "id": 701, "trigger": "j.gattr" }, { "description": "j - getElementById", - "id": 401, + "id": 702, "trigger": "j.gid" }, { "description": "j - getElementsByClassName", - "id": 402, + "id": 703, "trigger": "j.gclass" }, { "description": "j - getElementsByTagName", - "id": 403, + "id": 704, "trigger": "j.gtag" }, { "description": "j - innerHTML", - "id": 404, + "id": 705, "trigger": "j.ih" }, { "description": "j - querySelectorAll", - "id": 405, + "id": 706, "trigger": "j.qsa" }, { "description": "j - querySelector", - "id": 406, + "id": 707, "trigger": "j.qs" }, { "description": "j - removeAttribute", - "id": 407, + "id": 708, "trigger": "j.rattr" }, { "description": "j - removeChild", - "id": 408, + "id": 709, "trigger": "j.rc" }, { "description": "j - setAttribute", - "id": 409, + "id": 710, "trigger": "j.sattr" }, { "description": "j - textContent", - "id": 410, + "id": 711, "trigger": "j.tc" }, { "description": "j - Anonymous Function", - "id": 411, + "id": 712, "trigger": "j.afn" }, { "description": "j - Function apply", - "id": 412, + "id": 713, "trigger": "j.apply" }, { "description": "j - Function call", - "id": 413, + "id": 714, "trigger": "j.call" }, { "description": "j - Immediately-invoked function expression", - "id": 414, - "trigger": "j.-iife" + "id": 715, + "trigger": "j.iife" }, { "description": "j - Prototype", - "id": 415, + "id": 716, "trigger": "j.prot" }, { "description": "j - Function", - "id": 416, + "id": 717, "trigger": "j.fn" }, { "description": "j - JSON.parse", - "id": 417, + "id": 718, "trigger": "j.jsonp" }, { "description": "j - JSON.stringify", - "id": 418, + "id": 719, "trigger": "j.jsons" }, { "description": "j - do while", - "id": 419, + "id": 720, "trigger": "j.dowhile" }, { "description": "j - forEach", - "id": 420, + "id": 721, "trigger": "j.fore" }, { "description": "j - for in", - "id": 421, + "id": 722, "trigger": "j.fori" }, { "description": "j - for", - "id": 422, + "id": 723, "trigger": "j.for" }, { "description": "j - while", - "id": 423, + "id": 724, "trigger": "j.while" }, { "description": "j - setInterval", - "id": 424, + "id": 725, "trigger": "j.sinterval" }, { "description": "j - setTimeout", - "id": 425, + "id": 726, "trigger": "j.stimeout" }, + { + "description": "r - Brazilian CNPJ", + "id": 727, + "trigger": "r.bcnpj" + }, + { + "description": "r - Brazilian CPF/CNPJ", + "id": 728, + "trigger": "r.bcpfcnpj" + }, + { + "description": "r - Brazilian CPF", + "id": 729, + "trigger": "r.bcpf" + }, + { + "description": "r - Brazilian Phone", + "id": 730, + "trigger": "r.bphone" + }, + { + "description": "r - E-mail", + "id": 731, + "trigger": "r.email" + }, { "description": "sm - Action", - "id": 426, + "id": 732, "trigger": "sm.action" }, { "description": "sm - Organization", - "id": 427, + "id": 733, "trigger": "sm.org" }, { "description": "jsonld - Logotype", - "id": 428, + "id": 734, "trigger": "z.jsonld" }, { "description": "microdata - Organization", - "id": 429, + "id": 735, "trigger": "z.microdata" }, { "description": "microdata - Article", - "id": 430, + "id": 736, "trigger": "z.microdata" }, { "description": "microdata - Book", - "id": 431, + "id": 737, "trigger": "z.microdata" }, { "description": "microdata - Game", - "id": 432, + "id": 738, "trigger": "z.microdata" }, { "description": "microdata - WebPage", - "id": 433, + "id": 739, "trigger": "z.microdata" }, { "description": "rdfa - Breadcrumb", - "id": 434, + "id": 740, "trigger": "z.rdfa" } ] \ No newline at end of file From 52b6f528b366d63ba6c2bc17c60564a515e0e5ba Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 06:47:01 -0200 Subject: [PATCH 063/114] add: mocha snippets files --- snippets/js/tests/README.md | 11 +++- snippets/js/tests/mocha/README.md | 62 ++++++++++++++++++- .../tests/mocha/mocha-config.sublime-snippet | 13 ++++ .../tests/mocha/mocha-globals.sublime-snippet | 7 +++ .../js/tests/mocha/mocha-grep.sublime-snippet | 7 +++ .../tests/mocha/mocha-growl.sublime-snippet | 7 +++ .../mocha/mocha-ignore-leaks.sublime-snippet | 7 +++ .../tests/mocha/mocha-invert.sublime-snippet | 7 +++ .../mocha/mocha-reporter.sublime-snippet | 7 +++ .../js/tests/mocha/mocha-run.sublime-snippet | 7 +++ .../tests/mocha/mocha-setup.sublime-snippet | 7 +++ .../js/tests/mocha/mocha-ui.sublime-snippet | 7 +++ 12 files changed, 147 insertions(+), 2 deletions(-) create mode 100644 snippets/js/tests/mocha/mocha-config.sublime-snippet create mode 100644 snippets/js/tests/mocha/mocha-globals.sublime-snippet create mode 100644 snippets/js/tests/mocha/mocha-grep.sublime-snippet create mode 100644 snippets/js/tests/mocha/mocha-growl.sublime-snippet create mode 100644 snippets/js/tests/mocha/mocha-ignore-leaks.sublime-snippet create mode 100644 snippets/js/tests/mocha/mocha-invert.sublime-snippet create mode 100644 snippets/js/tests/mocha/mocha-reporter.sublime-snippet create mode 100644 snippets/js/tests/mocha/mocha-run.sublime-snippet create mode 100644 snippets/js/tests/mocha/mocha-setup.sublime-snippet create mode 100644 snippets/js/tests/mocha/mocha-ui.sublime-snippet diff --git a/snippets/js/tests/README.md b/snippets/js/tests/README.md index ffbf874..4fb464c 100644 --- a/snippets/js/tests/README.md +++ b/snippets/js/tests/README.md @@ -43,7 +43,16 @@ - toThrowError - toThrow - [Mocha](mocha/) - - + - config + - globals + - grep + - growl + - ignoreLeaks + - invert + - reporter + - run + - setup + - ui - [Node](node/) - assert - ok diff --git a/snippets/js/tests/mocha/README.md b/snippets/js/tests/mocha/README.md index 6c7bcb8..3cef811 100644 --- a/snippets/js/tests/mocha/README.md +++ b/snippets/js/tests/mocha/README.md @@ -2,8 +2,68 @@ ## Prefix `tm.*` -### [tm.] +### [tm.config] config ```javascript +${1:var} ${2:mocha} = new ${3:Mocha}({ + ${4:ui: ${5:'tdd'},} + ${6:grep: ${7:''},} + ${7:timeout: ${8:''},} + ${9:bail: ${10:''},} + ${11:reporter: ${12:'list'}} +}); +``` + +### [tm.globals] globals + +```javascript +mocha.globals(${1}); +``` + +### [tm.grep] grep + +```javascript +mocha.grep(${1}); +``` + +### [tm.growl] growl + +```javascript +mocha.growl(${1}); +``` + +### [tm.ileaks] ignoreLeaks + +```javascript +mocha.ignoreLeaks(${1}); +``` + +### [tm.invert] invert +```javascript +mocha.invert(${1}); +``` + +### [tm.reporter] reporter + +```javascript +mocha.reporter(${1:list}).run(); +``` + +### [tm.run] run + +```javascript +mocha.run(); +``` + +### [tm.setup] setup + +```javascript +mocha.setup(${1}); +``` + +### [tm.ui] ui + +```javascript +mocha.ui(${1:tdd}).run(); ``` diff --git a/snippets/js/tests/mocha/mocha-config.sublime-snippet b/snippets/js/tests/mocha/mocha-config.sublime-snippet new file mode 100644 index 0000000..50dd362 --- /dev/null +++ b/snippets/js/tests/mocha/mocha-config.sublime-snippet @@ -0,0 +1,13 @@ + + + tm.config + tm - config + diff --git a/snippets/js/tests/mocha/mocha-globals.sublime-snippet b/snippets/js/tests/mocha/mocha-globals.sublime-snippet new file mode 100644 index 0000000..74cbd85 --- /dev/null +++ b/snippets/js/tests/mocha/mocha-globals.sublime-snippet @@ -0,0 +1,7 @@ + + + tm.globals + tm - globals + diff --git a/snippets/js/tests/mocha/mocha-grep.sublime-snippet b/snippets/js/tests/mocha/mocha-grep.sublime-snippet new file mode 100644 index 0000000..1218bc2 --- /dev/null +++ b/snippets/js/tests/mocha/mocha-grep.sublime-snippet @@ -0,0 +1,7 @@ + + + tm.grep + tm - grep + diff --git a/snippets/js/tests/mocha/mocha-growl.sublime-snippet b/snippets/js/tests/mocha/mocha-growl.sublime-snippet new file mode 100644 index 0000000..2c5deca --- /dev/null +++ b/snippets/js/tests/mocha/mocha-growl.sublime-snippet @@ -0,0 +1,7 @@ + + + tm.growl + tm - growl + diff --git a/snippets/js/tests/mocha/mocha-ignore-leaks.sublime-snippet b/snippets/js/tests/mocha/mocha-ignore-leaks.sublime-snippet new file mode 100644 index 0000000..0a7d950 --- /dev/null +++ b/snippets/js/tests/mocha/mocha-ignore-leaks.sublime-snippet @@ -0,0 +1,7 @@ + + + tm.ileaks + tm - ignoreLeaks + diff --git a/snippets/js/tests/mocha/mocha-invert.sublime-snippet b/snippets/js/tests/mocha/mocha-invert.sublime-snippet new file mode 100644 index 0000000..0b813ed --- /dev/null +++ b/snippets/js/tests/mocha/mocha-invert.sublime-snippet @@ -0,0 +1,7 @@ + + + tm.invert + tm - invert + diff --git a/snippets/js/tests/mocha/mocha-reporter.sublime-snippet b/snippets/js/tests/mocha/mocha-reporter.sublime-snippet new file mode 100644 index 0000000..2d9ca7e --- /dev/null +++ b/snippets/js/tests/mocha/mocha-reporter.sublime-snippet @@ -0,0 +1,7 @@ + + + tm.reporter + tm - reporter + diff --git a/snippets/js/tests/mocha/mocha-run.sublime-snippet b/snippets/js/tests/mocha/mocha-run.sublime-snippet new file mode 100644 index 0000000..2d34c3c --- /dev/null +++ b/snippets/js/tests/mocha/mocha-run.sublime-snippet @@ -0,0 +1,7 @@ + + + tm.run + tm - run + diff --git a/snippets/js/tests/mocha/mocha-setup.sublime-snippet b/snippets/js/tests/mocha/mocha-setup.sublime-snippet new file mode 100644 index 0000000..8a9d407 --- /dev/null +++ b/snippets/js/tests/mocha/mocha-setup.sublime-snippet @@ -0,0 +1,7 @@ + + + tm.setup + tm - setup + diff --git a/snippets/js/tests/mocha/mocha-ui.sublime-snippet b/snippets/js/tests/mocha/mocha-ui.sublime-snippet new file mode 100644 index 0000000..3c3233a --- /dev/null +++ b/snippets/js/tests/mocha/mocha-ui.sublime-snippet @@ -0,0 +1,7 @@ + + + tm.ui + tm - ui + From a121bb722916fa0307acec730c76feade9834fc9 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 06:47:46 -0200 Subject: [PATCH 064/114] add: js statements snippets --- snippets/js/vanilla/README.md | 3 +++ snippets/js/vanilla/statements/README.md | 13 +++++++++++++ .../statements/js-statements-new.sublime-snippet | 7 +++++++ .../js-statements-require.sublime-snippet | 7 +++++++ 4 files changed, 30 insertions(+) create mode 100644 snippets/js/vanilla/statements/README.md create mode 100644 snippets/js/vanilla/statements/js-statements-new.sublime-snippet create mode 100644 snippets/js/vanilla/statements/js-statements-require.sublime-snippet diff --git a/snippets/js/vanilla/README.md b/snippets/js/vanilla/README.md index 2eccf79..e435b07 100644 --- a/snippets/js/vanilla/README.md +++ b/snippets/js/vanilla/README.md @@ -44,6 +44,9 @@ - forEach - for in - for +- [Statements](statements/) + - new + - require - [Timer](timer/) - setInterval - setTimeout diff --git a/snippets/js/vanilla/statements/README.md b/snippets/js/vanilla/statements/README.md new file mode 100644 index 0000000..ca24948 --- /dev/null +++ b/snippets/js/vanilla/statements/README.md @@ -0,0 +1,13 @@ +## JavaScript Statements Snippets + +### [j.new] new + +```javascript +${1:var} ${2:me} = new ${3:me}(${4}); +``` + +### [j.require] require + +```javascript +${1:var} ${2:me} = require('${3:me}'); +``` diff --git a/snippets/js/vanilla/statements/js-statements-new.sublime-snippet b/snippets/js/vanilla/statements/js-statements-new.sublime-snippet new file mode 100644 index 0000000..15580ba --- /dev/null +++ b/snippets/js/vanilla/statements/js-statements-new.sublime-snippet @@ -0,0 +1,7 @@ + + + j.new + j - New + diff --git a/snippets/js/vanilla/statements/js-statements-require.sublime-snippet b/snippets/js/vanilla/statements/js-statements-require.sublime-snippet new file mode 100644 index 0000000..6670361 --- /dev/null +++ b/snippets/js/vanilla/statements/js-statements-require.sublime-snippet @@ -0,0 +1,7 @@ + + + j.require + j - Require + From 3c7e09833a7644ea0c26fdbba90bd32510f1295f Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 07:55:22 -0200 Subject: [PATCH 065/114] add: es2015 snippets folder --- snippets/js/es6/README.md | 3 +++ snippets/js/es6/arrows/README.md | 7 +++++++ snippets/js/es6/binary-and-octal-literals/README.md | 7 +++++++ snippets/js/es6/classes/README.md | 7 +++++++ snippets/js/es6/default-rest-spread/README.md | 7 +++++++ snippets/js/es6/destructuring/README.md | 7 +++++++ snippets/js/es6/enhanced-object-literals/README.md | 7 +++++++ snippets/js/es6/generators/README.md | 7 +++++++ snippets/js/es6/iterators-for-of/README.md | 7 +++++++ snippets/js/es6/let-const/README.md | 7 +++++++ snippets/js/es6/map-set-weakmap-weakset/README.md | 7 +++++++ .../js/es6/math-number-string-array-object-apis/README.md | 7 +++++++ snippets/js/es6/module-loaders/README.md | 7 +++++++ snippets/js/es6/modules/README.md | 7 +++++++ snippets/js/es6/promises/README.md | 7 +++++++ snippets/js/es6/proxies/README.md | 7 +++++++ snippets/js/es6/reflect-api/README.md | 7 +++++++ snippets/js/es6/subclassable-built-ins/README.md | 7 +++++++ snippets/js/es6/symbols/README.md | 7 +++++++ snippets/js/es6/tail-calls/README.md | 7 +++++++ snippets/js/es6/template-strings/README.md | 7 +++++++ snippets/js/es6/unicode/README.md | 7 +++++++ snippets/regex/README.md | 2 +- 23 files changed, 151 insertions(+), 1 deletion(-) create mode 100644 snippets/js/es6/README.md create mode 100644 snippets/js/es6/arrows/README.md create mode 100644 snippets/js/es6/binary-and-octal-literals/README.md create mode 100644 snippets/js/es6/classes/README.md create mode 100644 snippets/js/es6/default-rest-spread/README.md create mode 100644 snippets/js/es6/destructuring/README.md create mode 100644 snippets/js/es6/enhanced-object-literals/README.md create mode 100644 snippets/js/es6/generators/README.md create mode 100644 snippets/js/es6/iterators-for-of/README.md create mode 100644 snippets/js/es6/let-const/README.md create mode 100644 snippets/js/es6/map-set-weakmap-weakset/README.md create mode 100644 snippets/js/es6/math-number-string-array-object-apis/README.md create mode 100644 snippets/js/es6/module-loaders/README.md create mode 100644 snippets/js/es6/modules/README.md create mode 100644 snippets/js/es6/promises/README.md create mode 100644 snippets/js/es6/proxies/README.md create mode 100644 snippets/js/es6/reflect-api/README.md create mode 100644 snippets/js/es6/subclassable-built-ins/README.md create mode 100644 snippets/js/es6/symbols/README.md create mode 100644 snippets/js/es6/tail-calls/README.md create mode 100644 snippets/js/es6/template-strings/README.md create mode 100644 snippets/js/es6/unicode/README.md diff --git a/snippets/js/es6/README.md b/snippets/js/es6/README.md new file mode 100644 index 0000000..5aca3a5 --- /dev/null +++ b/snippets/js/es6/README.md @@ -0,0 +1,3 @@ +# ECMA Script 2015 Snippets + +- [](/) diff --git a/snippets/js/es6/arrows/README.md b/snippets/js/es6/arrows/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/arrows/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/binary-and-octal-literals/README.md b/snippets/js/es6/binary-and-octal-literals/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/binary-and-octal-literals/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/classes/README.md b/snippets/js/es6/classes/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/classes/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/default-rest-spread/README.md b/snippets/js/es6/default-rest-spread/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/default-rest-spread/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/destructuring/README.md b/snippets/js/es6/destructuring/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/destructuring/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/enhanced-object-literals/README.md b/snippets/js/es6/enhanced-object-literals/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/enhanced-object-literals/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/generators/README.md b/snippets/js/es6/generators/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/generators/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/iterators-for-of/README.md b/snippets/js/es6/iterators-for-of/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/iterators-for-of/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/let-const/README.md b/snippets/js/es6/let-const/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/let-const/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/map-set-weakmap-weakset/README.md b/snippets/js/es6/map-set-weakmap-weakset/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/map-set-weakmap-weakset/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/math-number-string-array-object-apis/README.md b/snippets/js/es6/math-number-string-array-object-apis/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/math-number-string-array-object-apis/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/module-loaders/README.md b/snippets/js/es6/module-loaders/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/module-loaders/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/modules/README.md b/snippets/js/es6/modules/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/modules/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/promises/README.md b/snippets/js/es6/promises/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/promises/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/proxies/README.md b/snippets/js/es6/proxies/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/proxies/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/reflect-api/README.md b/snippets/js/es6/reflect-api/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/reflect-api/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/subclassable-built-ins/README.md b/snippets/js/es6/subclassable-built-ins/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/subclassable-built-ins/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/symbols/README.md b/snippets/js/es6/symbols/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/symbols/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/tail-calls/README.md b/snippets/js/es6/tail-calls/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/tail-calls/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/template-strings/README.md b/snippets/js/es6/template-strings/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/template-strings/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/js/es6/unicode/README.md b/snippets/js/es6/unicode/README.md new file mode 100644 index 0000000..e8e7671 --- /dev/null +++ b/snippets/js/es6/unicode/README.md @@ -0,0 +1,7 @@ +## ECMA Script 2015 Snippets + +### [je.] parse + +```javascript + +``` diff --git a/snippets/regex/README.md b/snippets/regex/README.md index 7a61bbb..05cf593 100644 --- a/snippets/regex/README.md +++ b/snippets/regex/README.md @@ -18,7 +18,7 @@ (\d{2}\.\d{3}\.\d{3}\/\d{4}\-\d{2})|(\d{3}\.\d{3}\.\d{3}\-\d{2}) ``` -### [r.bcpf] CPF +### [r.bcpf] Brazilian CPF **allow:** xxx.xxx.xxx-xx | xxxxxxxxxxxx From d25fa94806b831e35e7c4d806eda2386f2dabf7e Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 08:55:46 -0200 Subject: [PATCH 066/114] update: readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c3e33c0..e70eb9f 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,11 @@ ## Install -If you already have the [Package Control](http://wbond.net/sublime_packages/package_control) installed , just search for ***Front-end Project Snippets***. If you have not installed in the sublime, you can do it [here](http://wbond.net/sublime_packages/package_control/installation). +If you already have the [Package Control](http://wbond.net/sublime_packages/package_control) installed , just search for ***Front-end Project Snippets***. If you have not installed in the Sublime, you can do it [here](http://wbond.net/sublime_packages/package_control/installation). -You can manually download the package and place it within your `Packages` directory. It will work, but will not be updated automatically. +You can manually download the package and place it within your `Packages` directory. It will work, but it will not be automatically updated. -You can see all installed snippets in `Tools > Snippets...`, in the sublime text. +You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text. ## Snippets and prefixes/keys From 341f5c5e338b70c1a1a5cdc9e600fbd110980125 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 09:03:20 -0200 Subject: [PATCH 067/114] add: reactjs snippets folders --- snippets/js/libraries/react/README.md | 3 +++ snippets/js/libraries/react/component/README.md | 7 +++++++ snippets/js/libraries/react/lifecycle/README.md | 7 +++++++ snippets/js/libraries/react/misc/README.md | 7 +++++++ snippets/js/libraries/react/prop-types/README.md | 7 +++++++ snippets/js/libraries/react/react-dom/README.md | 7 +++++++ snippets/js/libraries/react/spec/README.md | 7 +++++++ snippets/js/libraries/react/test-utils/README.md | 7 +++++++ snippets/js/libraries/react/top-level/README.md | 7 +++++++ 9 files changed, 59 insertions(+) create mode 100644 snippets/js/libraries/react/README.md create mode 100644 snippets/js/libraries/react/component/README.md create mode 100644 snippets/js/libraries/react/lifecycle/README.md create mode 100644 snippets/js/libraries/react/misc/README.md create mode 100644 snippets/js/libraries/react/prop-types/README.md create mode 100644 snippets/js/libraries/react/react-dom/README.md create mode 100644 snippets/js/libraries/react/spec/README.md create mode 100644 snippets/js/libraries/react/test-utils/README.md create mode 100644 snippets/js/libraries/react/top-level/README.md diff --git a/snippets/js/libraries/react/README.md b/snippets/js/libraries/react/README.md new file mode 100644 index 0000000..fc9a7c1 --- /dev/null +++ b/snippets/js/libraries/react/README.md @@ -0,0 +1,3 @@ +# ReactJS Snippets + +- [](/) diff --git a/snippets/js/libraries/react/component/README.md b/snippets/js/libraries/react/component/README.md new file mode 100644 index 0000000..05385a4 --- /dev/null +++ b/snippets/js/libraries/react/component/README.md @@ -0,0 +1,7 @@ +## ReactJS Snippets + +### [jr.] parse + +```javascript + +``` diff --git a/snippets/js/libraries/react/lifecycle/README.md b/snippets/js/libraries/react/lifecycle/README.md new file mode 100644 index 0000000..05385a4 --- /dev/null +++ b/snippets/js/libraries/react/lifecycle/README.md @@ -0,0 +1,7 @@ +## ReactJS Snippets + +### [jr.] parse + +```javascript + +``` diff --git a/snippets/js/libraries/react/misc/README.md b/snippets/js/libraries/react/misc/README.md new file mode 100644 index 0000000..05385a4 --- /dev/null +++ b/snippets/js/libraries/react/misc/README.md @@ -0,0 +1,7 @@ +## ReactJS Snippets + +### [jr.] parse + +```javascript + +``` diff --git a/snippets/js/libraries/react/prop-types/README.md b/snippets/js/libraries/react/prop-types/README.md new file mode 100644 index 0000000..05385a4 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/README.md @@ -0,0 +1,7 @@ +## ReactJS Snippets + +### [jr.] parse + +```javascript + +``` diff --git a/snippets/js/libraries/react/react-dom/README.md b/snippets/js/libraries/react/react-dom/README.md new file mode 100644 index 0000000..05385a4 --- /dev/null +++ b/snippets/js/libraries/react/react-dom/README.md @@ -0,0 +1,7 @@ +## ReactJS Snippets + +### [jr.] parse + +```javascript + +``` diff --git a/snippets/js/libraries/react/spec/README.md b/snippets/js/libraries/react/spec/README.md new file mode 100644 index 0000000..05385a4 --- /dev/null +++ b/snippets/js/libraries/react/spec/README.md @@ -0,0 +1,7 @@ +## ReactJS Snippets + +### [jr.] parse + +```javascript + +``` diff --git a/snippets/js/libraries/react/test-utils/README.md b/snippets/js/libraries/react/test-utils/README.md new file mode 100644 index 0000000..05385a4 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/README.md @@ -0,0 +1,7 @@ +## ReactJS Snippets + +### [jr.] parse + +```javascript + +``` diff --git a/snippets/js/libraries/react/top-level/README.md b/snippets/js/libraries/react/top-level/README.md new file mode 100644 index 0000000..05385a4 --- /dev/null +++ b/snippets/js/libraries/react/top-level/README.md @@ -0,0 +1,7 @@ +## ReactJS Snippets + +### [jr.] parse + +```javascript + +``` From 310fd5b53494fa5b9d5ff8a0c6d7f05e2f6e7abe Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 15:54:58 -0200 Subject: [PATCH 068/114] add: reactjs snippets --- ...act-component-force-update.sublime-snippet | 7 ++++++ ...react-component-is-mounted.sublime-snippet | 7 ++++++ ...ct-component-replace-props.sublime-snippet | 7 ++++++ ...ct-component-replace-state.sublime-snippet | 7 ++++++ .../react-component-set-props.sublime-snippet | 7 ++++++ .../react-component-set-state.sublime-snippet | 7 ++++++ .../react/events/onBlur.sublime-snippet | 8 +++++++ .../react/events/onChange.sublime-snippet | 8 +++++++ .../react/events/onClick.sublime-snippet | 8 +++++++ .../events/onContextMenu.sublime-snippet | 8 +++++++ .../react/events/onCopy.sublime-snippet | 8 +++++++ .../react/events/onCut.sublime-snippet | 8 +++++++ .../events/onDoubleClick.sublime-snippet | 8 +++++++ .../react/events/onDragEnd.sublime-snippet | 8 +++++++ .../react/events/onDragEnter.sublime-snippet | 8 +++++++ .../react/events/onDragExit.sublime-snippet | 8 +++++++ .../react/events/onDragLeave.sublime-snippet | 8 +++++++ .../react/events/onDragOver.sublime-snippet | 8 +++++++ .../react/events/onDragStart.sublime-snippet | 8 +++++++ .../react/events/onDrop.sublime-snippet | 8 +++++++ .../react/events/onFocus.sublime-snippet | 8 +++++++ .../react/events/onInput.sublime-snippet | 8 +++++++ .../react/events/onKeyDown.sublime-snippet | 8 +++++++ .../react/events/onKeyPress.sublime-snippet | 8 +++++++ .../react/events/onKeyUp.sublime-snippet | 8 +++++++ .../react/events/onMouseDown.sublime-snippet | 8 +++++++ .../react/events/onMouseEnter.sublime-snippet | 8 +++++++ .../react/events/onMouseLeave.sublime-snippet | 8 +++++++ .../react/events/onMouseMove.sublime-snippet | 8 +++++++ .../react/events/onMouseOut.sublime-snippet | 8 +++++++ .../react/events/onMouseOver.sublime-snippet | 8 +++++++ .../react/events/onMouseUp.sublime-snippet | 8 +++++++ .../react/events/onPaste.sublime-snippet | 8 +++++++ .../react/events/onScroll.sublime-snippet | 8 +++++++ .../react/events/onSubmit.sublime-snippet | 8 +++++++ .../events/onTouchCancel.sublime-snippet | 8 +++++++ .../react/events/onTouchEnd.sublime-snippet | 8 +++++++ .../react/events/onTouchMove.sublime-snippet | 8 +++++++ .../react/events/onTouchStart.sublime-snippet | 8 +++++++ .../react/events/onWheel.sublime-snippet | 8 +++++++ ...ecycle-component-did-mount.sublime-snippet | 10 +++++++++ ...cycle-component-did-update.sublime-snippet | 9 ++++++++ ...cycle-component-will-mount.sublime-snippet | 9 ++++++++ ...mponent-will-receive-props.sublime-snippet | 9 ++++++++ ...cle-component-will-unmount.sublime-snippet | 9 ++++++++ ...ycle-component-will-update.sublime-snippet | 10 +++++++++ ...le-should-component-update.sublime-snippet | 9 ++++++++ .../react-prop-types-any.sublime-snippet | 9 ++++++++ .../react-prop-types-array-of.sublime-snippet | 10 +++++++++ .../react-prop-types-array.sublime-snippet | 10 +++++++++ .../react-prop-types-bool.sublime-snippet | 10 +++++++++ .../react-prop-types-element.sublime-snippet | 10 +++++++++ .../react-prop-types-func.sublime-snippet | 10 +++++++++ ...act-prop-types-instance-of.sublime-snippet | 10 +++++++++ .../react-prop-types-node.sublime-snippet | 10 +++++++++ .../react-prop-types-number.sublime-snippet | 10 +++++++++ ...react-prop-types-object-of.sublime-snippet | 10 +++++++++ .../react-prop-types-object.sublime-snippet | 10 +++++++++ ...act-prop-types-one-of-type.sublime-snippet | 17 ++++++++++++++ .../react-prop-types-one-of.sublime-snippet | 10 +++++++++ .../react-prop-types-shape.sublime-snippet | 22 +++++++++++++++++++ .../react-prop-types-string.sublime-snippet | 10 +++++++++ ...ct-react-dom-find-dom-node.sublime-snippet | 7 ++++++ ...t-dom-render-static-markup.sublime-snippet | 7 ++++++ ...react-dom-render-to-string.sublime-snippet | 7 ++++++ .../react-react-dom-render.sublime-snippet | 7 ++++++ ...-unmount-component-at-node.sublime-snippet | 7 ++++++ .../react-spec-display-name.sublime-snippet | 7 ++++++ ...act-spec-get-default-props.sublime-snippet | 9 ++++++++ ...eact-spec-getInitial-state.sublime-snippet | 9 ++++++++ .../spec/react-spec-mixins.sublime-snippet | 7 ++++++ .../react-spec-prop-types.sublime-snippet | 9 ++++++++ .../spec/react-spec-render.sublime-snippet | 9 ++++++++ .../spec/react-spec-statics.sublime-snippet | 11 ++++++++++ ...t-top-level-children-count.sublime-snippet | 7 ++++++ ...op-level-children-for-each.sublime-snippet | 9 ++++++++ ...act-top-level-children-map.sublime-snippet | 10 +++++++++ ...ct-top-level-clone-element.sublime-snippet | 7 ++++++ .../react-top-level-component.sublime-snippet | 11 ++++++++++ ...act-top-level-create-class.sublime-snippet | 11 ++++++++++ ...t-top-level-create-element.sublime-snippet | 7 ++++++ ...t-top-level-create-factory.sublime-snippet | 7 ++++++ ...top-level-is-valid-element.sublime-snippet | 7 ++++++ 83 files changed, 719 insertions(+) create mode 100644 snippets/js/libraries/react/component/react-component-force-update.sublime-snippet create mode 100644 snippets/js/libraries/react/component/react-component-is-mounted.sublime-snippet create mode 100644 snippets/js/libraries/react/component/react-component-replace-props.sublime-snippet create mode 100644 snippets/js/libraries/react/component/react-component-replace-state.sublime-snippet create mode 100644 snippets/js/libraries/react/component/react-component-set-props.sublime-snippet create mode 100644 snippets/js/libraries/react/component/react-component-set-state.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onBlur.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onChange.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onClick.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onContextMenu.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onCopy.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onCut.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onDoubleClick.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onDragEnd.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onDragEnter.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onDragExit.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onDragLeave.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onDragOver.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onDragStart.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onDrop.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onFocus.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onInput.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onKeyDown.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onKeyPress.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onKeyUp.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onMouseDown.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onMouseEnter.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onMouseLeave.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onMouseMove.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onMouseOut.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onMouseOver.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onMouseUp.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onPaste.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onScroll.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onSubmit.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onTouchCancel.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onTouchEnd.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onTouchMove.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onTouchStart.sublime-snippet create mode 100644 snippets/js/libraries/react/events/onWheel.sublime-snippet create mode 100644 snippets/js/libraries/react/lifecycle/react-lifecycle-component-did-mount.sublime-snippet create mode 100644 snippets/js/libraries/react/lifecycle/react-lifecycle-component-did-update.sublime-snippet create mode 100644 snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-mount.sublime-snippet create mode 100644 snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-receive-props.sublime-snippet create mode 100644 snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-unmount.sublime-snippet create mode 100644 snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-update.sublime-snippet create mode 100644 snippets/js/libraries/react/lifecycle/react-lifecycle-should-component-update.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-any.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-array-of.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-array.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-bool.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-element.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-func.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-instance-of.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-node.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-number.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-object-of.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-object.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-one-of-type.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-one-of.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-shape.sublime-snippet create mode 100644 snippets/js/libraries/react/prop-types/react-prop-types-string.sublime-snippet create mode 100644 snippets/js/libraries/react/react-dom/react-react-dom-find-dom-node.sublime-snippet create mode 100644 snippets/js/libraries/react/react-dom/react-react-dom-render-static-markup.sublime-snippet create mode 100644 snippets/js/libraries/react/react-dom/react-react-dom-render-to-string.sublime-snippet create mode 100644 snippets/js/libraries/react/react-dom/react-react-dom-render.sublime-snippet create mode 100644 snippets/js/libraries/react/react-dom/react-react-dom-unmount-component-at-node.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/react-spec-display-name.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/react-spec-get-default-props.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/react-spec-getInitial-state.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/react-spec-mixins.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/react-spec-prop-types.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/react-spec-render.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/react-spec-statics.sublime-snippet create mode 100644 snippets/js/libraries/react/top-level/react-top-level-children-count.sublime-snippet create mode 100644 snippets/js/libraries/react/top-level/react-top-level-children-for-each.sublime-snippet create mode 100644 snippets/js/libraries/react/top-level/react-top-level-children-map.sublime-snippet create mode 100644 snippets/js/libraries/react/top-level/react-top-level-clone-element.sublime-snippet create mode 100644 snippets/js/libraries/react/top-level/react-top-level-component.sublime-snippet create mode 100644 snippets/js/libraries/react/top-level/react-top-level-create-class.sublime-snippet create mode 100644 snippets/js/libraries/react/top-level/react-top-level-create-element.sublime-snippet create mode 100644 snippets/js/libraries/react/top-level/react-top-level-create-factory.sublime-snippet create mode 100644 snippets/js/libraries/react/top-level/react-top-level-is-valid-element.sublime-snippet diff --git a/snippets/js/libraries/react/component/react-component-force-update.sublime-snippet b/snippets/js/libraries/react/component/react-component-force-update.sublime-snippet new file mode 100644 index 0000000..f9449fe --- /dev/null +++ b/snippets/js/libraries/react/component/react-component-force-update.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.fupdate + jr - forceUpdate + diff --git a/snippets/js/libraries/react/component/react-component-is-mounted.sublime-snippet b/snippets/js/libraries/react/component/react-component-is-mounted.sublime-snippet new file mode 100644 index 0000000..efb40d3 --- /dev/null +++ b/snippets/js/libraries/react/component/react-component-is-mounted.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.imounted + jr - isMounted + diff --git a/snippets/js/libraries/react/component/react-component-replace-props.sublime-snippet b/snippets/js/libraries/react/component/react-component-replace-props.sublime-snippet new file mode 100644 index 0000000..bb9642d --- /dev/null +++ b/snippets/js/libraries/react/component/react-component-replace-props.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.rprops + jr - replaceProps + diff --git a/snippets/js/libraries/react/component/react-component-replace-state.sublime-snippet b/snippets/js/libraries/react/component/react-component-replace-state.sublime-snippet new file mode 100644 index 0000000..04ebb1c --- /dev/null +++ b/snippets/js/libraries/react/component/react-component-replace-state.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.rstate + jr - replaceState + diff --git a/snippets/js/libraries/react/component/react-component-set-props.sublime-snippet b/snippets/js/libraries/react/component/react-component-set-props.sublime-snippet new file mode 100644 index 0000000..95006ec --- /dev/null +++ b/snippets/js/libraries/react/component/react-component-set-props.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.sprops + jr - setProps + diff --git a/snippets/js/libraries/react/component/react-component-set-state.sublime-snippet b/snippets/js/libraries/react/component/react-component-set-state.sublime-snippet new file mode 100644 index 0000000..7639522 --- /dev/null +++ b/snippets/js/libraries/react/component/react-component-set-state.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.setstate + jr - setState + diff --git a/snippets/js/libraries/react/events/onBlur.sublime-snippet b/snippets/js/libraries/react/events/onBlur.sublime-snippet new file mode 100644 index 0000000..88dd12b --- /dev/null +++ b/snippets/js/libraries/react/events/onBlur.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onbl +jr - onBlur + diff --git a/snippets/js/libraries/react/events/onChange.sublime-snippet b/snippets/js/libraries/react/events/onChange.sublime-snippet new file mode 100644 index 0000000..a62f232 --- /dev/null +++ b/snippets/js/libraries/react/events/onChange.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onch +jr - onChange + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onClick.sublime-snippet b/snippets/js/libraries/react/events/onClick.sublime-snippet new file mode 100644 index 0000000..b61296b --- /dev/null +++ b/snippets/js/libraries/react/events/onClick.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.oncl +jr - onClick + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onContextMenu.sublime-snippet b/snippets/js/libraries/react/events/onContextMenu.sublime-snippet new file mode 100644 index 0000000..c57d324 --- /dev/null +++ b/snippets/js/libraries/react/events/onContextMenu.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.oncm +jr - onContextMenu + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onCopy.sublime-snippet b/snippets/js/libraries/react/events/onCopy.sublime-snippet new file mode 100644 index 0000000..a3c757a --- /dev/null +++ b/snippets/js/libraries/react/events/onCopy.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onco +jr - onCopy + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onCut.sublime-snippet b/snippets/js/libraries/react/events/onCut.sublime-snippet new file mode 100644 index 0000000..dde9bed --- /dev/null +++ b/snippets/js/libraries/react/events/onCut.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onct +jr - onCut + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onDoubleClick.sublime-snippet b/snippets/js/libraries/react/events/onDoubleClick.sublime-snippet new file mode 100644 index 0000000..98b1e64 --- /dev/null +++ b/snippets/js/libraries/react/events/onDoubleClick.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.ondc +jr - onDoubleClick + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onDragEnd.sublime-snippet b/snippets/js/libraries/react/events/onDragEnd.sublime-snippet new file mode 100644 index 0000000..0d83a54 --- /dev/null +++ b/snippets/js/libraries/react/events/onDragEnd.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onde +jr - onDragEnd + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onDragEnter.sublime-snippet b/snippets/js/libraries/react/events/onDragEnter.sublime-snippet new file mode 100644 index 0000000..80bcf22 --- /dev/null +++ b/snippets/js/libraries/react/events/onDragEnter.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onden +jr - onDragEnter + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onDragExit.sublime-snippet b/snippets/js/libraries/react/events/onDragExit.sublime-snippet new file mode 100644 index 0000000..dbfd795 --- /dev/null +++ b/snippets/js/libraries/react/events/onDragExit.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.ondex +jr - onDragExit + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onDragLeave.sublime-snippet b/snippets/js/libraries/react/events/onDragLeave.sublime-snippet new file mode 100644 index 0000000..396980b --- /dev/null +++ b/snippets/js/libraries/react/events/onDragLeave.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.ondl +jr - onDragLeave + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onDragOver.sublime-snippet b/snippets/js/libraries/react/events/onDragOver.sublime-snippet new file mode 100644 index 0000000..44b5d3b --- /dev/null +++ b/snippets/js/libraries/react/events/onDragOver.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.ondo +jr - onDragOver + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onDragStart.sublime-snippet b/snippets/js/libraries/react/events/onDragStart.sublime-snippet new file mode 100644 index 0000000..89847fd --- /dev/null +++ b/snippets/js/libraries/react/events/onDragStart.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onds +jr - onDragStart + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onDrop.sublime-snippet b/snippets/js/libraries/react/events/onDrop.sublime-snippet new file mode 100644 index 0000000..dec11c1 --- /dev/null +++ b/snippets/js/libraries/react/events/onDrop.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.ondr +jr - onDrop + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onFocus.sublime-snippet b/snippets/js/libraries/react/events/onFocus.sublime-snippet new file mode 100644 index 0000000..fca5c39 --- /dev/null +++ b/snippets/js/libraries/react/events/onFocus.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onfo +jr - onFocus + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onInput.sublime-snippet b/snippets/js/libraries/react/events/onInput.sublime-snippet new file mode 100644 index 0000000..aec31ec --- /dev/null +++ b/snippets/js/libraries/react/events/onInput.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onin +jr - onInput + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onKeyDown.sublime-snippet b/snippets/js/libraries/react/events/onKeyDown.sublime-snippet new file mode 100644 index 0000000..3107b38 --- /dev/null +++ b/snippets/js/libraries/react/events/onKeyDown.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onkd +jr - onKeyDown + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onKeyPress.sublime-snippet b/snippets/js/libraries/react/events/onKeyPress.sublime-snippet new file mode 100644 index 0000000..883ddcb --- /dev/null +++ b/snippets/js/libraries/react/events/onKeyPress.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onkp +jr - onKeyPress + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onKeyUp.sublime-snippet b/snippets/js/libraries/react/events/onKeyUp.sublime-snippet new file mode 100644 index 0000000..5ab1d8a --- /dev/null +++ b/snippets/js/libraries/react/events/onKeyUp.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onku +jr - onKeyUp + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onMouseDown.sublime-snippet b/snippets/js/libraries/react/events/onMouseDown.sublime-snippet new file mode 100644 index 0000000..8914352 --- /dev/null +++ b/snippets/js/libraries/react/events/onMouseDown.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onmd +jr - onMouseDown + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onMouseEnter.sublime-snippet b/snippets/js/libraries/react/events/onMouseEnter.sublime-snippet new file mode 100644 index 0000000..95d20ff --- /dev/null +++ b/snippets/js/libraries/react/events/onMouseEnter.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onme +jr - onMouseEnter + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onMouseLeave.sublime-snippet b/snippets/js/libraries/react/events/onMouseLeave.sublime-snippet new file mode 100644 index 0000000..70106ae --- /dev/null +++ b/snippets/js/libraries/react/events/onMouseLeave.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onml +jr - onMouseLeave + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onMouseMove.sublime-snippet b/snippets/js/libraries/react/events/onMouseMove.sublime-snippet new file mode 100644 index 0000000..ea96e71 --- /dev/null +++ b/snippets/js/libraries/react/events/onMouseMove.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onmm +jr - onMouseMove + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onMouseOut.sublime-snippet b/snippets/js/libraries/react/events/onMouseOut.sublime-snippet new file mode 100644 index 0000000..656364e --- /dev/null +++ b/snippets/js/libraries/react/events/onMouseOut.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onmo +jr - onMouseOut + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onMouseOver.sublime-snippet b/snippets/js/libraries/react/events/onMouseOver.sublime-snippet new file mode 100644 index 0000000..705ec72 --- /dev/null +++ b/snippets/js/libraries/react/events/onMouseOver.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onmov +jr - onMouseOver + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onMouseUp.sublime-snippet b/snippets/js/libraries/react/events/onMouseUp.sublime-snippet new file mode 100644 index 0000000..80fab22 --- /dev/null +++ b/snippets/js/libraries/react/events/onMouseUp.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onmu +jr - onMouseUp + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onPaste.sublime-snippet b/snippets/js/libraries/react/events/onPaste.sublime-snippet new file mode 100644 index 0000000..f0c7c7c --- /dev/null +++ b/snippets/js/libraries/react/events/onPaste.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onpa +jr - onPaste + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onScroll.sublime-snippet b/snippets/js/libraries/react/events/onScroll.sublime-snippet new file mode 100644 index 0000000..33c8b90 --- /dev/null +++ b/snippets/js/libraries/react/events/onScroll.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onsc +jr - onScroll + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onSubmit.sublime-snippet b/snippets/js/libraries/react/events/onSubmit.sublime-snippet new file mode 100644 index 0000000..4f6c828 --- /dev/null +++ b/snippets/js/libraries/react/events/onSubmit.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onsu +jr - onSubmit + diff --git a/snippets/js/libraries/react/events/onTouchCancel.sublime-snippet b/snippets/js/libraries/react/events/onTouchCancel.sublime-snippet new file mode 100644 index 0000000..1b8e3cc --- /dev/null +++ b/snippets/js/libraries/react/events/onTouchCancel.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.ontc +jr - onTouchCancel + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onTouchEnd.sublime-snippet b/snippets/js/libraries/react/events/onTouchEnd.sublime-snippet new file mode 100644 index 0000000..78fcc6c --- /dev/null +++ b/snippets/js/libraries/react/events/onTouchEnd.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onte +jr - onTouchEnd + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onTouchMove.sublime-snippet b/snippets/js/libraries/react/events/onTouchMove.sublime-snippet new file mode 100644 index 0000000..77b7285 --- /dev/null +++ b/snippets/js/libraries/react/events/onTouchMove.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.ontm +jr - onTouchMove + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onTouchStart.sublime-snippet b/snippets/js/libraries/react/events/onTouchStart.sublime-snippet new file mode 100644 index 0000000..569e81b --- /dev/null +++ b/snippets/js/libraries/react/events/onTouchStart.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onts +jr - onTouchStart + \ No newline at end of file diff --git a/snippets/js/libraries/react/events/onWheel.sublime-snippet b/snippets/js/libraries/react/events/onWheel.sublime-snippet new file mode 100644 index 0000000..cb10463 --- /dev/null +++ b/snippets/js/libraries/react/events/onWheel.sublime-snippet @@ -0,0 +1,8 @@ + + + +jr.onwh +jr - onWheel + diff --git a/snippets/js/libraries/react/lifecycle/react-lifecycle-component-did-mount.sublime-snippet b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-did-mount.sublime-snippet new file mode 100644 index 0000000..8e17855 --- /dev/null +++ b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-did-mount.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.cdmount + jr - componentDidMount + diff --git a/snippets/js/libraries/react/lifecycle/react-lifecycle-component-did-update.sublime-snippet b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-did-update.sublime-snippet new file mode 100644 index 0000000..4b879b5 --- /dev/null +++ b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-did-update.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.cdupdate + jr - componentDidUpdate + diff --git a/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-mount.sublime-snippet b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-mount.sublime-snippet new file mode 100644 index 0000000..4d997e3 --- /dev/null +++ b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-mount.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.cwmount + jr - componentWillMount + diff --git a/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-receive-props.sublime-snippet b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-receive-props.sublime-snippet new file mode 100644 index 0000000..1236cb1 --- /dev/null +++ b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-receive-props.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.cwrprops + jr - componentWillReceiveProps + diff --git a/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-unmount.sublime-snippet b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-unmount.sublime-snippet new file mode 100644 index 0000000..9e09e64 --- /dev/null +++ b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-unmount.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.cwunmount + jr - componentWillUnmount + diff --git a/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-update.sublime-snippet b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-update.sublime-snippet new file mode 100644 index 0000000..9f21882 --- /dev/null +++ b/snippets/js/libraries/react/lifecycle/react-lifecycle-component-will-update.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.cwupdate + jr - componentWillUpdate + diff --git a/snippets/js/libraries/react/lifecycle/react-lifecycle-should-component-update.sublime-snippet b/snippets/js/libraries/react/lifecycle/react-lifecycle-should-component-update.sublime-snippet new file mode 100644 index 0000000..92a092e --- /dev/null +++ b/snippets/js/libraries/react/lifecycle/react-lifecycle-should-component-update.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.scupdate + jr - shouldComponentUpdate + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-any.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-any.sublime-snippet new file mode 100644 index 0000000..71feb57 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-any.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.ptany + jr - PropTypes.any + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-array-of.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-array-of.sublime-snippet new file mode 100644 index 0000000..3d48c9b --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-array-of.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptarrayof + jr - PropTypes.arrayOf + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-array.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-array.sublime-snippet new file mode 100644 index 0000000..eba8634 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-array.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptarray + jr - PropTypes.array + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-bool.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-bool.sublime-snippet new file mode 100644 index 0000000..2161b53 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-bool.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptbool + jr - PropTypes.bool + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-element.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-element.sublime-snippet new file mode 100644 index 0000000..f676eff --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-element.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptelement + jr - PropTypes.element + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-func.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-func.sublime-snippet new file mode 100644 index 0000000..525de6e --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-func.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptfunc + jr - PropTypes.func + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-instance-of.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-instance-of.sublime-snippet new file mode 100644 index 0000000..0b17b35 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-instance-of.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptiof + jr - PropTypes.instanceOf + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-node.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-node.sublime-snippet new file mode 100644 index 0000000..7b37b2f --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-node.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptnode + jr - PropTypes.node + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-number.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-number.sublime-snippet new file mode 100644 index 0000000..c33a687 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-number.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptnumber + jr - PropTypes.number + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-object-of.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-object-of.sublime-snippet new file mode 100644 index 0000000..8b485f2 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-object-of.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptobjectof + jr - PropTypes.objectOf + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-object.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-object.sublime-snippet new file mode 100644 index 0000000..88b9550 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-object.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptobject + jr - PropTypes.object + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-one-of-type.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-one-of-type.sublime-snippet new file mode 100644 index 0000000..4f69317 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-one-of-type.sublime-snippet @@ -0,0 +1,17 @@ + + + jr.ptootype + jr - PropTypes.oneOfType + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-one-of.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-one-of.sublime-snippet new file mode 100644 index 0000000..849a76b --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-one-of.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptoneof + jr - PropTypes.oneOf + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-shape.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-shape.sublime-snippet new file mode 100644 index 0000000..f0bac2c --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-shape.sublime-snippet @@ -0,0 +1,22 @@ + + + jr.ptshape + jr - PropTypes.shape + diff --git a/snippets/js/libraries/react/prop-types/react-prop-types-string.sublime-snippet b/snippets/js/libraries/react/prop-types/react-prop-types-string.sublime-snippet new file mode 100644 index 0000000..45f8454 --- /dev/null +++ b/snippets/js/libraries/react/prop-types/react-prop-types-string.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptstring + jr - PropTypes.string + diff --git a/snippets/js/libraries/react/react-dom/react-react-dom-find-dom-node.sublime-snippet b/snippets/js/libraries/react/react-dom/react-react-dom-find-dom-node.sublime-snippet new file mode 100644 index 0000000..fe0c194 --- /dev/null +++ b/snippets/js/libraries/react/react-dom/react-react-dom-find-dom-node.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.fdnode + jr - findDOMNode + diff --git a/snippets/js/libraries/react/react-dom/react-react-dom-render-static-markup.sublime-snippet b/snippets/js/libraries/react/react-dom/react-react-dom-render-static-markup.sublime-snippet new file mode 100644 index 0000000..ebb9e9a --- /dev/null +++ b/snippets/js/libraries/react/react-dom/react-react-dom-render-static-markup.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.rsmarkup + jr - renderStaticMarkup + diff --git a/snippets/js/libraries/react/react-dom/react-react-dom-render-to-string.sublime-snippet b/snippets/js/libraries/react/react-dom/react-react-dom-render-to-string.sublime-snippet new file mode 100644 index 0000000..b779b05 --- /dev/null +++ b/snippets/js/libraries/react/react-dom/react-react-dom-render-to-string.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.rtstring + jr - renderToString + diff --git a/snippets/js/libraries/react/react-dom/react-react-dom-render.sublime-snippet b/snippets/js/libraries/react/react-dom/react-react-dom-render.sublime-snippet new file mode 100644 index 0000000..c546d02 --- /dev/null +++ b/snippets/js/libraries/react/react-dom/react-react-dom-render.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.render + jr - render + diff --git a/snippets/js/libraries/react/react-dom/react-react-dom-unmount-component-at-node.sublime-snippet b/snippets/js/libraries/react/react-dom/react-react-dom-unmount-component-at-node.sublime-snippet new file mode 100644 index 0000000..d2d38bc --- /dev/null +++ b/snippets/js/libraries/react/react-dom/react-react-dom-unmount-component-at-node.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.ucanode + jr - unmountComponentAtNode + diff --git a/snippets/js/libraries/react/spec/react-spec-display-name.sublime-snippet b/snippets/js/libraries/react/spec/react-spec-display-name.sublime-snippet new file mode 100644 index 0000000..c823caf --- /dev/null +++ b/snippets/js/libraries/react/spec/react-spec-display-name.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.dname + jr - displayName + diff --git a/snippets/js/libraries/react/spec/react-spec-get-default-props.sublime-snippet b/snippets/js/libraries/react/spec/react-spec-get-default-props.sublime-snippet new file mode 100644 index 0000000..830b1c7 --- /dev/null +++ b/snippets/js/libraries/react/spec/react-spec-get-default-props.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.gdprops + jr - getDefaultProps + diff --git a/snippets/js/libraries/react/spec/react-spec-getInitial-state.sublime-snippet b/snippets/js/libraries/react/spec/react-spec-getInitial-state.sublime-snippet new file mode 100644 index 0000000..0bf5112 --- /dev/null +++ b/snippets/js/libraries/react/spec/react-spec-getInitial-state.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.gistate + jr - getInitialState + diff --git a/snippets/js/libraries/react/spec/react-spec-mixins.sublime-snippet b/snippets/js/libraries/react/spec/react-spec-mixins.sublime-snippet new file mode 100644 index 0000000..963015b --- /dev/null +++ b/snippets/js/libraries/react/spec/react-spec-mixins.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.mixins + jr - mixins + diff --git a/snippets/js/libraries/react/spec/react-spec-prop-types.sublime-snippet b/snippets/js/libraries/react/spec/react-spec-prop-types.sublime-snippet new file mode 100644 index 0000000..3f110e8 --- /dev/null +++ b/snippets/js/libraries/react/spec/react-spec-prop-types.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.ptypes + jr - propTypes + diff --git a/snippets/js/libraries/react/spec/react-spec-render.sublime-snippet b/snippets/js/libraries/react/spec/react-spec-render.sublime-snippet new file mode 100644 index 0000000..99551c6 --- /dev/null +++ b/snippets/js/libraries/react/spec/react-spec-render.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.srender + jr - render + diff --git a/snippets/js/libraries/react/spec/react-spec-statics.sublime-snippet b/snippets/js/libraries/react/spec/react-spec-statics.sublime-snippet new file mode 100644 index 0000000..a37751f --- /dev/null +++ b/snippets/js/libraries/react/spec/react-spec-statics.sublime-snippet @@ -0,0 +1,11 @@ + + + jr.statics + jr - statics + diff --git a/snippets/js/libraries/react/top-level/react-top-level-children-count.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-children-count.sublime-snippet new file mode 100644 index 0000000..8956417 --- /dev/null +++ b/snippets/js/libraries/react/top-level/react-top-level-children-count.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.ccount + jr - Children.count + diff --git a/snippets/js/libraries/react/top-level/react-top-level-children-for-each.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-children-for-each.sublime-snippet new file mode 100644 index 0000000..ea83885 --- /dev/null +++ b/snippets/js/libraries/react/top-level/react-top-level-children-for-each.sublime-snippet @@ -0,0 +1,9 @@ + + { + ${1:console.log(child + ' at index: ' + i);} +}) +]]> + jr.cfeach + jr - children.forEach + diff --git a/snippets/js/libraries/react/top-level/react-top-level-children-map.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-children-map.sublime-snippet new file mode 100644 index 0000000..906f2a1 --- /dev/null +++ b/snippets/js/libraries/react/top-level/react-top-level-children-map.sublime-snippet @@ -0,0 +1,10 @@ + + { + ${1} + return child; +}) +]]> + jr.cmap + jr - children.map + diff --git a/snippets/js/libraries/react/top-level/react-top-level-clone-element.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-clone-element.sublime-snippet new file mode 100644 index 0000000..1a0ca69 --- /dev/null +++ b/snippets/js/libraries/react/top-level/react-top-level-clone-element.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.cloneelement + jr - cloneElement + diff --git a/snippets/js/libraries/react/top-level/react-top-level-component.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-component.sublime-snippet new file mode 100644 index 0000000..2b1d2d2 --- /dev/null +++ b/snippets/js/libraries/react/top-level/react-top-level-component.sublime-snippet @@ -0,0 +1,11 @@ + + + jr.component + jr - component + diff --git a/snippets/js/libraries/react/top-level/react-top-level-create-class.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-create-class.sublime-snippet new file mode 100644 index 0000000..87ac8e8 --- /dev/null +++ b/snippets/js/libraries/react/top-level/react-top-level-create-class.sublime-snippet @@ -0,0 +1,11 @@ + + + jr.cclass + jr - createClass + diff --git a/snippets/js/libraries/react/top-level/react-top-level-create-element.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-create-element.sublime-snippet new file mode 100644 index 0000000..887632a --- /dev/null +++ b/snippets/js/libraries/react/top-level/react-top-level-create-element.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.celement + jr - createElement + diff --git a/snippets/js/libraries/react/top-level/react-top-level-create-factory.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-create-factory.sublime-snippet new file mode 100644 index 0000000..1a2689b --- /dev/null +++ b/snippets/js/libraries/react/top-level/react-top-level-create-factory.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.cfactory + jr - createFactory + diff --git a/snippets/js/libraries/react/top-level/react-top-level-is-valid-element.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-is-valid-element.sublime-snippet new file mode 100644 index 0000000..4463e1a --- /dev/null +++ b/snippets/js/libraries/react/top-level/react-top-level-is-valid-element.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.ivelement + jr - isValidElement + From 33cc34eef4e5ecb9cdc736f6830d87993bc3f7d2 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 28 Jan 2016 16:42:04 -0200 Subject: [PATCH 069/114] add: react and es6 snippets --- README.md | 1 + .../js/es6/arrows/es6-arrows.sublime-snippet | 7 ++++ .../js/es6/classes/es6-class.sublime-snippet | 13 +++++++ .../README.md | 0 .../es6/collections/es6-map.sublime-snippet | 7 ++++ .../es6/collections/es6-set.sublime-snippet | 7 ++++ .../collections/es6-weak-map.sublime-snippet | 7 ++++ .../collections/es6-weak-set.sublime-snippet | 7 ++++ snippets/js/es6/destructuring/README.md | 7 ---- .../es6-object-literal.sublime-snippet | 13 +++++++ .../generators/es6-generators.sublime-snippet | 17 +++++++++ snippets/js/es6/iterators-for-of/README.md | 7 ---- snippets/js/es6/let-const/README.md | 7 ---- .../{default-rest-spread => let}/README.md | 0 .../js/es6/let/es6-let-for.sublime-snippet | 17 +++++++++ snippets/js/es6/let/es6-let.sublime-snippet | 7 ++++ .../js/es6/map-set-weakmap-weakset/README.md | 7 ---- .../es6.sublime-snippet | 28 +++++++++++++++ snippets/js/es6/module-loaders/README.md | 7 ---- .../es6-dynamic-import.sublime-snippet | 10 ++++++ .../es6-export-function.sublime-snippet | 10 ++++++ .../es6-export-variable.sublime-snippet | 8 +++++ .../js/es6/modules/es6-import.sublime-snippet | 8 +++++ .../modules/es6-loader-class.sublime-snippet | 10 ++++++ .../modules/es6-system-get.sublime-snippet | 8 +++++ .../modules/es6-system-set.sublime-snippet | 9 +++++ .../es6/promises/es6-promise.sublime-snippet | 10 ++++++ .../js/es6/proxies/es6-proxy.sublime-snippet | 8 +++++ .../es6-reflect-apply.sublime-snippet | 8 +++++ .../es6-reflect-construct.sublime-snippet | 8 +++++ ...es6-reflect-defineProperty.sublime-snippet | 8 +++++ ...es6-reflect-deleteProperty.sublime-snippet | 8 +++++ .../es6-reflect-enumerate.sublime-snippet | 8 +++++ .../es6-reflect-get.sublime-snippet | 8 +++++ ...es6-reflect-getOwnProperty.sublime-snippet | 8 +++++ ...es6-reflect-getPrototypeOf.sublime-snippet | 8 +++++ .../es6-reflect-has.sublime-snippet | 8 +++++ .../es6-reflect-isExtensible.sublime-snippet | 8 +++++ .../es6-reflect-ownKeys.sublime-snippet | 8 +++++ ...-reflect-preventExtensions.sublime-snippet | 8 +++++ .../es6-reflect-set.sublime-snippet | 8 +++++ ...es6-reflect-setPrototypeOf.sublime-snippet | 8 +++++ .../js/es6/subclassable-built-ins/README.md | 7 ---- snippets/js/es6/symbols/README.md | 7 ---- snippets/js/es6/tail-calls/README.md | 7 ---- .../es6-template-string.sublime-snippet | 8 +++++ snippets/js/es6/unicode/README.md | 7 ---- snippets/js/libraries/react/misc/README.md | 7 ---- ...-find-all-in-rendered-tree.sublime-snippet | 23 ++++++++++++ ...ndered-component-with-type.sublime-snippet | 29 +++++++++++++++ ...d-dom-component-with-class.sublime-snippet | 28 +++++++++++++++ ...red-dom-component-with-tag.sublime-snippet | 28 +++++++++++++++ ...posite-component-with-type.sublime-snippet | 22 ++++++++++++ ...ils-is-composite-component.sublime-snippet | 13 +++++++ ...est-utils-is-dom-component.sublime-snippet | 11 ++++++ ...t-utils-is-element-of-type.sublime-snippet | 15 ++++++++ ...eact-test-utils-is-element.sublime-snippet | 7 ++++ ...-test-utils-mock-component.sublime-snippet | 7 ++++ ...utils-render-into-document.sublime-snippet | 9 +++++ ...dered-components-with-type.sublime-snippet | 35 +++++++++++++++++++ ...-dom-components-with-class.sublime-snippet | 29 +++++++++++++++ ...ed-dom-components-with-tag.sublime-snippet | 23 ++++++++++++ ...ls-shallow-rendering-basic.sublime-snippet | 17 +++++++++ ...llow-rendering-child-count.sublime-snippet | 17 +++++++++ ...w-rendering-child-equality.sublime-snippet | 21 +++++++++++ ...s-shallow-rendering-events.sublime-snippet | 15 ++++++++ ...ls-shallow-rendering-props.sublime-snippet | 13 +++++++ ...ow-rendering-state-changes.sublime-snippet | 22 ++++++++++++ ...ils-shallow-rendering-type.sublime-snippet | 13 +++++++ ...-test-utils-simulate-basic.sublime-snippet | 11 ++++++ ...t-utils-simulate-with-data.sublime-snippet | 15 ++++++++ 71 files changed, 755 insertions(+), 70 deletions(-) create mode 100644 snippets/js/es6/arrows/es6-arrows.sublime-snippet create mode 100644 snippets/js/es6/classes/es6-class.sublime-snippet rename snippets/js/es6/{binary-and-octal-literals => collections}/README.md (100%) create mode 100644 snippets/js/es6/collections/es6-map.sublime-snippet create mode 100644 snippets/js/es6/collections/es6-set.sublime-snippet create mode 100644 snippets/js/es6/collections/es6-weak-map.sublime-snippet create mode 100644 snippets/js/es6/collections/es6-weak-set.sublime-snippet delete mode 100644 snippets/js/es6/destructuring/README.md create mode 100644 snippets/js/es6/enhanced-object-literals/es6-object-literal.sublime-snippet create mode 100644 snippets/js/es6/generators/es6-generators.sublime-snippet delete mode 100644 snippets/js/es6/iterators-for-of/README.md delete mode 100644 snippets/js/es6/let-const/README.md rename snippets/js/es6/{default-rest-spread => let}/README.md (100%) create mode 100644 snippets/js/es6/let/es6-let-for.sublime-snippet create mode 100644 snippets/js/es6/let/es6-let.sublime-snippet delete mode 100644 snippets/js/es6/map-set-weakmap-weakset/README.md create mode 100644 snippets/js/es6/math-number-string-array-object-apis/es6.sublime-snippet delete mode 100644 snippets/js/es6/module-loaders/README.md create mode 100644 snippets/js/es6/modules/es6-dynamic-import.sublime-snippet create mode 100644 snippets/js/es6/modules/es6-export-function.sublime-snippet create mode 100644 snippets/js/es6/modules/es6-export-variable.sublime-snippet create mode 100644 snippets/js/es6/modules/es6-import.sublime-snippet create mode 100644 snippets/js/es6/modules/es6-loader-class.sublime-snippet create mode 100644 snippets/js/es6/modules/es6-system-get.sublime-snippet create mode 100644 snippets/js/es6/modules/es6-system-set.sublime-snippet create mode 100644 snippets/js/es6/promises/es6-promise.sublime-snippet create mode 100644 snippets/js/es6/proxies/es6-proxy.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-apply.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-construct.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-defineProperty.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-deleteProperty.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-enumerate.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-get.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-getOwnProperty.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-getPrototypeOf.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-has.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-isExtensible.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-ownKeys.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-preventExtensions.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-set.sublime-snippet create mode 100644 snippets/js/es6/reflect-api/es6-reflect-setPrototypeOf.sublime-snippet delete mode 100644 snippets/js/es6/subclassable-built-ins/README.md delete mode 100644 snippets/js/es6/symbols/README.md delete mode 100644 snippets/js/es6/tail-calls/README.md create mode 100644 snippets/js/es6/template-strings/es6-template-string.sublime-snippet delete mode 100644 snippets/js/es6/unicode/README.md delete mode 100644 snippets/js/libraries/react/misc/README.md create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-find-all-in-rendered-tree.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-component-with-type.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-class.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-tag.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component-with-type.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-is-dom-component.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-is-element-of-type.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-is-element.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-mock-component.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-render-into-document.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-components-with-type.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-class.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-tag.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-basic.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-count.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-equality.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-events.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-props.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-state-changes.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-type.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-simulate-basic.sublime-snippet create mode 100644 snippets/js/libraries/react/test-utils/react-test-utils-simulate-with-data.sublime-snippet diff --git a/README.md b/README.md index e70eb9f..c514eff 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text * (JS Design Patterns) [https://addyosmani.com/resources/essentialjsdesignpatterns/book/](https://addyosmani.com/resources/essentialjsdesignpatterns/book/) * (Node.js Assert) [https://nodejs.org/api/assert.html](https://nodejs.org/api/assert.html) * (Jasmine) [http://jasmine.github.io/2.0/introduction.html](http://jasmine.github.io/2.0/introduction.html) +* (ReactJS cheatsheet) [http://reactcheatsheet.com/](http://reactcheatsheet.com/) ## Contributing diff --git a/snippets/js/es6/arrows/es6-arrows.sublime-snippet b/snippets/js/es6/arrows/es6-arrows.sublime-snippet new file mode 100644 index 0000000..ef64479 --- /dev/null +++ b/snippets/js/es6/arrows/es6-arrows.sublime-snippet @@ -0,0 +1,7 @@ + + ${2:function} +]]> + je.arrow + je - ES6 Arrow Function + diff --git a/snippets/js/es6/classes/es6-class.sublime-snippet b/snippets/js/es6/classes/es6-class.sublime-snippet new file mode 100644 index 0000000..5324841 --- /dev/null +++ b/snippets/js/es6/classes/es6-class.sublime-snippet @@ -0,0 +1,13 @@ + + + je.class + je - ES6 Class + diff --git a/snippets/js/es6/binary-and-octal-literals/README.md b/snippets/js/es6/collections/README.md similarity index 100% rename from snippets/js/es6/binary-and-octal-literals/README.md rename to snippets/js/es6/collections/README.md diff --git a/snippets/js/es6/collections/es6-map.sublime-snippet b/snippets/js/es6/collections/es6-map.sublime-snippet new file mode 100644 index 0000000..435ad3b --- /dev/null +++ b/snippets/js/es6/collections/es6-map.sublime-snippet @@ -0,0 +1,7 @@ + + + je.map + je - ES6 Map + diff --git a/snippets/js/es6/collections/es6-set.sublime-snippet b/snippets/js/es6/collections/es6-set.sublime-snippet new file mode 100644 index 0000000..87f85a4 --- /dev/null +++ b/snippets/js/es6/collections/es6-set.sublime-snippet @@ -0,0 +1,7 @@ + + + je.set + je - ES6 Set + diff --git a/snippets/js/es6/collections/es6-weak-map.sublime-snippet b/snippets/js/es6/collections/es6-weak-map.sublime-snippet new file mode 100644 index 0000000..c7b6883 --- /dev/null +++ b/snippets/js/es6/collections/es6-weak-map.sublime-snippet @@ -0,0 +1,7 @@ + + + je.wmap + je - ES6 WeakMap + diff --git a/snippets/js/es6/collections/es6-weak-set.sublime-snippet b/snippets/js/es6/collections/es6-weak-set.sublime-snippet new file mode 100644 index 0000000..bf48c42 --- /dev/null +++ b/snippets/js/es6/collections/es6-weak-set.sublime-snippet @@ -0,0 +1,7 @@ + + + je.wset + je - ES6 WeakSet + diff --git a/snippets/js/es6/destructuring/README.md b/snippets/js/es6/destructuring/README.md deleted file mode 100644 index e8e7671..0000000 --- a/snippets/js/es6/destructuring/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ECMA Script 2015 Snippets - -### [je.] parse - -```javascript - -``` diff --git a/snippets/js/es6/enhanced-object-literals/es6-object-literal.sublime-snippet b/snippets/js/es6/enhanced-object-literals/es6-object-literal.sublime-snippet new file mode 100644 index 0000000..2ed5dea --- /dev/null +++ b/snippets/js/es6/enhanced-object-literals/es6-object-literal.sublime-snippet @@ -0,0 +1,13 @@ + + + je.object + je - ES6 Object Literal + diff --git a/snippets/js/es6/generators/es6-generators.sublime-snippet b/snippets/js/es6/generators/es6-generators.sublime-snippet new file mode 100644 index 0000000..c6980aa --- /dev/null +++ b/snippets/js/es6/generators/es6-generators.sublime-snippet @@ -0,0 +1,17 @@ + + + je.generators + je - ES6 Generator + diff --git a/snippets/js/es6/iterators-for-of/README.md b/snippets/js/es6/iterators-for-of/README.md deleted file mode 100644 index e8e7671..0000000 --- a/snippets/js/es6/iterators-for-of/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ECMA Script 2015 Snippets - -### [je.] parse - -```javascript - -``` diff --git a/snippets/js/es6/let-const/README.md b/snippets/js/es6/let-const/README.md deleted file mode 100644 index e8e7671..0000000 --- a/snippets/js/es6/let-const/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ECMA Script 2015 Snippets - -### [je.] parse - -```javascript - -``` diff --git a/snippets/js/es6/default-rest-spread/README.md b/snippets/js/es6/let/README.md similarity index 100% rename from snippets/js/es6/default-rest-spread/README.md rename to snippets/js/es6/let/README.md diff --git a/snippets/js/es6/let/es6-let-for.sublime-snippet b/snippets/js/es6/let/es6-let-for.sublime-snippet new file mode 100644 index 0000000..20c3fba --- /dev/null +++ b/snippets/js/es6/let/es6-let-for.sublime-snippet @@ -0,0 +1,17 @@ + + + je.leti + je - ES6 For Loop Iterator using Let + diff --git a/snippets/js/es6/let/es6-let.sublime-snippet b/snippets/js/es6/let/es6-let.sublime-snippet new file mode 100644 index 0000000..f6f8a78 --- /dev/null +++ b/snippets/js/es6/let/es6-let.sublime-snippet @@ -0,0 +1,7 @@ + + + je.let + je - ES6 Let + diff --git a/snippets/js/es6/map-set-weakmap-weakset/README.md b/snippets/js/es6/map-set-weakmap-weakset/README.md deleted file mode 100644 index e8e7671..0000000 --- a/snippets/js/es6/map-set-weakmap-weakset/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ECMA Script 2015 Snippets - -### [je.] parse - -```javascript - -``` diff --git a/snippets/js/es6/math-number-string-array-object-apis/es6.sublime-snippet b/snippets/js/es6/math-number-string-array-object-apis/es6.sublime-snippet new file mode 100644 index 0000000..5c5645d --- /dev/null +++ b/snippets/js/es6/math-number-string-array-object-apis/es6.sublime-snippet @@ -0,0 +1,28 @@ + + x == 3) // 3 +[1, 2, 3].findIndex(x => x == 2) // 1 +[1, 2, 3, 4, 5].copyWithin(3, 0) // [1, 2, 3, 1, 2] +["a", "b", "c"].entries() // iterator [0, "a"], [1,"b"], [2,"c"] +["a", "b", "c"].keys() // iterator 0, 1, 2 +["a", "b", "c"].values() // iterator "a", "b", "c" + +Object.assign(Point, { origin: new Point(0,0) }) +]]> + je. + je - + diff --git a/snippets/js/es6/module-loaders/README.md b/snippets/js/es6/module-loaders/README.md deleted file mode 100644 index e8e7671..0000000 --- a/snippets/js/es6/module-loaders/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ECMA Script 2015 Snippets - -### [je.] parse - -```javascript - -``` diff --git a/snippets/js/es6/modules/es6-dynamic-import.sublime-snippet b/snippets/js/es6/modules/es6-dynamic-import.sublime-snippet new file mode 100644 index 0000000..2b48601 --- /dev/null +++ b/snippets/js/es6/modules/es6-dynamic-import.sublime-snippet @@ -0,0 +1,10 @@ + + + System.import + source.js + ES6 Dynamic Module Import + diff --git a/snippets/js/es6/modules/es6-export-function.sublime-snippet b/snippets/js/es6/modules/es6-export-function.sublime-snippet new file mode 100644 index 0000000..633478e --- /dev/null +++ b/snippets/js/es6/modules/es6-export-function.sublime-snippet @@ -0,0 +1,10 @@ + + + export:function + source.js + ES6 Module Export Function + diff --git a/snippets/js/es6/modules/es6-export-variable.sublime-snippet b/snippets/js/es6/modules/es6-export-variable.sublime-snippet new file mode 100644 index 0000000..5b11bd8 --- /dev/null +++ b/snippets/js/es6/modules/es6-export-variable.sublime-snippet @@ -0,0 +1,8 @@ + + + export:variable + source.js + ES6 Module Export Variable + diff --git a/snippets/js/es6/modules/es6-import.sublime-snippet b/snippets/js/es6/modules/es6-import.sublime-snippet new file mode 100644 index 0000000..65167b1 --- /dev/null +++ b/snippets/js/es6/modules/es6-import.sublime-snippet @@ -0,0 +1,8 @@ + + + import + source.js + ES6 Module Import + diff --git a/snippets/js/es6/modules/es6-loader-class.sublime-snippet b/snippets/js/es6/modules/es6-loader-class.sublime-snippet new file mode 100644 index 0000000..e743146 --- /dev/null +++ b/snippets/js/es6/modules/es6-loader-class.sublime-snippet @@ -0,0 +1,10 @@ + + + Loader + source.js + ES6 Loader Class + diff --git a/snippets/js/es6/modules/es6-system-get.sublime-snippet b/snippets/js/es6/modules/es6-system-get.sublime-snippet new file mode 100644 index 0000000..9a55d5f --- /dev/null +++ b/snippets/js/es6/modules/es6-system-get.sublime-snippet @@ -0,0 +1,8 @@ + + + System.get + source.js + ES6 System Get Module + diff --git a/snippets/js/es6/modules/es6-system-set.sublime-snippet b/snippets/js/es6/modules/es6-system-set.sublime-snippet new file mode 100644 index 0000000..18ebc8f --- /dev/null +++ b/snippets/js/es6/modules/es6-system-set.sublime-snippet @@ -0,0 +1,9 @@ + + + System.set + source.js + ES6 System Set Module + diff --git a/snippets/js/es6/promises/es6-promise.sublime-snippet b/snippets/js/es6/promises/es6-promise.sublime-snippet new file mode 100644 index 0000000..f2446be --- /dev/null +++ b/snippets/js/es6/promises/es6-promise.sublime-snippet @@ -0,0 +1,10 @@ + + { + $2 +}); +]]> + Promise + source.js + ES6 Promise + diff --git a/snippets/js/es6/proxies/es6-proxy.sublime-snippet b/snippets/js/es6/proxies/es6-proxy.sublime-snippet new file mode 100644 index 0000000..d88c9a3 --- /dev/null +++ b/snippets/js/es6/proxies/es6-proxy.sublime-snippet @@ -0,0 +1,8 @@ + + + Proxy + source.js + ES6 Proxy + diff --git a/snippets/js/es6/reflect-api/es6-reflect-apply.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-apply.sublime-snippet new file mode 100644 index 0000000..29d6742 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-apply.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:apply + source.js + ES6 Reflect Apply + diff --git a/snippets/js/es6/reflect-api/es6-reflect-construct.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-construct.sublime-snippet new file mode 100644 index 0000000..20fc911 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-construct.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:construct + source.js + ES6 Reflect Construct + diff --git a/snippets/js/es6/reflect-api/es6-reflect-defineProperty.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-defineProperty.sublime-snippet new file mode 100644 index 0000000..71bfe2d --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-defineProperty.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:defineProperty + source.js + ES6 Reflect Define Property + diff --git a/snippets/js/es6/reflect-api/es6-reflect-deleteProperty.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-deleteProperty.sublime-snippet new file mode 100644 index 0000000..84aa0a1 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-deleteProperty.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:deleteProperty + source.js + ES6 Reflect Delete Property + diff --git a/snippets/js/es6/reflect-api/es6-reflect-enumerate.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-enumerate.sublime-snippet new file mode 100644 index 0000000..972829b --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-enumerate.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:enumerate + source.js + ES6 Reflect Enumerate + diff --git a/snippets/js/es6/reflect-api/es6-reflect-get.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-get.sublime-snippet new file mode 100644 index 0000000..03ea315 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-get.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:get + source.js + ES6 Reflect Get + diff --git a/snippets/js/es6/reflect-api/es6-reflect-getOwnProperty.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-getOwnProperty.sublime-snippet new file mode 100644 index 0000000..8447c34 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-getOwnProperty.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:getOwnPropertyDescriptor + source.js + ES6 Reflect Get Property Descriptor + diff --git a/snippets/js/es6/reflect-api/es6-reflect-getPrototypeOf.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-getPrototypeOf.sublime-snippet new file mode 100644 index 0000000..f1bad16 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-getPrototypeOf.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:getPrototypeOf + source.js + ES6 Reflect Get Prototype Of + diff --git a/snippets/js/es6/reflect-api/es6-reflect-has.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-has.sublime-snippet new file mode 100644 index 0000000..dd74821 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-has.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:has + source.js + ES6 Reflect Has + diff --git a/snippets/js/es6/reflect-api/es6-reflect-isExtensible.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-isExtensible.sublime-snippet new file mode 100644 index 0000000..a61c578 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-isExtensible.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:isExtensible + source.js + ES6 Reflect Is Extensible + diff --git a/snippets/js/es6/reflect-api/es6-reflect-ownKeys.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-ownKeys.sublime-snippet new file mode 100644 index 0000000..d35f381 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-ownKeys.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:ownKeys + source.js + ES6 Reflect Own Keys + diff --git a/snippets/js/es6/reflect-api/es6-reflect-preventExtensions.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-preventExtensions.sublime-snippet new file mode 100644 index 0000000..4ee9f39 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-preventExtensions.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:preventExtensions + source.js + ES6 Reflect Prevent Extensions + diff --git a/snippets/js/es6/reflect-api/es6-reflect-set.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-set.sublime-snippet new file mode 100644 index 0000000..587d5b3 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-set.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:set + source.js + ES6 Reflect Set + diff --git a/snippets/js/es6/reflect-api/es6-reflect-setPrototypeOf.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-setPrototypeOf.sublime-snippet new file mode 100644 index 0000000..fac8047 --- /dev/null +++ b/snippets/js/es6/reflect-api/es6-reflect-setPrototypeOf.sublime-snippet @@ -0,0 +1,8 @@ + + + Reflect:setPrototypeOf + source.js + ES6 Reflect Set Prototype Of + diff --git a/snippets/js/es6/subclassable-built-ins/README.md b/snippets/js/es6/subclassable-built-ins/README.md deleted file mode 100644 index e8e7671..0000000 --- a/snippets/js/es6/subclassable-built-ins/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ECMA Script 2015 Snippets - -### [je.] parse - -```javascript - -``` diff --git a/snippets/js/es6/symbols/README.md b/snippets/js/es6/symbols/README.md deleted file mode 100644 index e8e7671..0000000 --- a/snippets/js/es6/symbols/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ECMA Script 2015 Snippets - -### [je.] parse - -```javascript - -``` diff --git a/snippets/js/es6/tail-calls/README.md b/snippets/js/es6/tail-calls/README.md deleted file mode 100644 index e8e7671..0000000 --- a/snippets/js/es6/tail-calls/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ECMA Script 2015 Snippets - -### [je.] parse - -```javascript - -``` diff --git a/snippets/js/es6/template-strings/es6-template-string.sublime-snippet b/snippets/js/es6/template-strings/es6-template-string.sublime-snippet new file mode 100644 index 0000000..cd4580d --- /dev/null +++ b/snippets/js/es6/template-strings/es6-template-string.sublime-snippet @@ -0,0 +1,8 @@ + + + string + source.js + ES6 Template String + diff --git a/snippets/js/es6/unicode/README.md b/snippets/js/es6/unicode/README.md deleted file mode 100644 index e8e7671..0000000 --- a/snippets/js/es6/unicode/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ECMA Script 2015 Snippets - -### [je.] parse - -```javascript - -``` diff --git a/snippets/js/libraries/react/misc/README.md b/snippets/js/libraries/react/misc/README.md deleted file mode 100644 index 05385a4..0000000 --- a/snippets/js/libraries/react/misc/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## ReactJS Snippets - -### [jr.] parse - -```javascript - -``` diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-find-all-in-rendered-tree.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-find-all-in-rendered-tree.sublime-snippet new file mode 100644 index 0000000..241f6c6 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-find-all-in-rendered-tree.sublime-snippet @@ -0,0 +1,23 @@ + +
; + } +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var allDivs = TestUtils.findAllInRenderedTree( + componentTree, + (c) => c.tagName === 'DIV' +) + +expect(allDivs).toBeAn('array'); +expect(allDivs.length).toBe(2); +]]>
+ jr.tfairtree + jr - findAllInRenderedTree +
diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-component-with-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-component-with-type.sublime-snippet new file mode 100644 index 0000000..cc432f1 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-component-with-type.sublime-snippet @@ -0,0 +1,29 @@ + + } +}); + +var TargetComponent = React.createClass({ + render () { return
} +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var onlyTargetComponent = TestUtils.findRenderedComponentWithType( + componentTree, + TargetComponent +); + +expect(onlyTargetComponent).toBeAn('object'); +expect(onlyTargetComponent).toNotBeAn('array'); +expect(TestUtils.isCompositeComponentWithType( + onlyTargetComponent, + TargetComponent +)).toBe(true); +]]> + jr.tfrcwtype + jr - findRenderedComponentWithType + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-class.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-class.sublime-snippet new file mode 100644 index 0000000..441e6bc --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-class.sublime-snippet @@ -0,0 +1,28 @@ + + ; + } +}); + +var MyNestedComponent = React.createClass({ + render () { + return
; + } +}); + +var componentTree = TestUtils.renderIntoDocument(); + +var singleComponentWithMatchedClass = TestUtils.findRenderedDOMComponentWithClass( + componentTree, + 'nested' +); + +expect(singleComponentWithMatchedClass).toBeAn('object'); +expect(singleComponentWithMatchedClass).toNotBeAn('array'); +expect(singleComponentWithMatchedClass.className).toBe('nested'); +]]> + jr.tfrdcwclass + jr - findRenderedDOMComponentWithClass + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-tag.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-tag.sublime-snippet new file mode 100644 index 0000000..88d3ab9 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-tag.sublime-snippet @@ -0,0 +1,28 @@ + + ; + } +}); + +var MyNestedComponent = React.createClass({ + render () { + return
; + } +}); + +var componentTree = TestUtils.renderIntoDocument(); + +var onlyDiv = TestUtils.findRenderedDOMComponentWithTag( + componentTree, + 'div' +); + +expect(onlyDiv).toBeAn('object'); +expect(onlyDiv).toNotBeAn('array'); +expect(onlyDiv.tagName).toBe('DIV'); +]]> + jr.tfrdcwtag + jr - findRenderedDOMComponentWithTag + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component-with-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component-with-type.sublime-snippet new file mode 100644 index 0000000..f029906 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component-with-type.sublime-snippet @@ -0,0 +1,22 @@ + + ; + } +}); + +var subject = TestUtils.renderIntoDocument( + +); + +expect( + TestUtils.isCompositeComponentWithType( + subject, + CompositeComponent + ) +).toBe(true); +]]> + jr.ticcwtype + jr - isCompositeComponentWithType + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component.sublime-snippet new file mode 100644 index 0000000..511fef5 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component.sublime-snippet @@ -0,0 +1,13 @@ + + +); + +expect( + TestUtils.isCompositeComponent(subject) +).toBe(true); +]]> + jr.ticcomponent + jr - isCompositeComponent + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-dom-component.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-dom-component.sublime-snippet new file mode 100644 index 0000000..128127e --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-dom-component.sublime-snippet @@ -0,0 +1,11 @@ + + ); + +expect( + TestUtils.isDOMComponent(subject) +).toBe(true); +]]> + jr.tidcomponent + jr - isDOMComponent + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-element-of-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-element-of-type.sublime-snippet new file mode 100644 index 0000000..8639d29 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-element-of-type.sublime-snippet @@ -0,0 +1,15 @@ + + ; + } +}); + +expect( + TestUtils.isElementOfType(, MyComponent) +).toBe(true); +]]> + jr.tieotype + jr - isElementOfType + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-element.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-element.sublime-snippet new file mode 100644 index 0000000..6d6d39c --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-element.sublime-snippet @@ -0,0 +1,7 @@ + + )).toBe(true); +]]> + jr.tielement + jr - isElement + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-mock-component.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-mock-component.sublime-snippet new file mode 100644 index 0000000..9961ea0 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-mock-component.sublime-snippet @@ -0,0 +1,7 @@ + + + jr.tmcomponent + jr - mockComponent + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-render-into-document.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-render-into-document.sublime-snippet new file mode 100644 index 0000000..845b296 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-render-into-document.sublime-snippet @@ -0,0 +1,9 @@ + +
); + +console.log('You mounted a component tree with a ' + componentTree.tagName + ' at the root!'); +]]>
+ jr.tridocument + jr - renderIntoDocument +
diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-components-with-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-components-with-type.sublime-snippet new file mode 100644 index 0000000..06a13d2 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-components-with-type.sublime-snippet @@ -0,0 +1,35 @@ + + + +
+ +
+ ) + } +}); + +var Target = React.createClass({ + render () { + return
; + } +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var allTargetComponents = TestUtils.scryRenderedComponentsWithType( + componentTree, + Target +); + +expect(allTargetComponents).toBeAn('array'); +expect(allTargetComponents.length).toBe(2); +]]> + jr.tsrcwtype + jr - scryRenderedComponentsWithType + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-class.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-class.sublime-snippet new file mode 100644 index 0000000..6a6af90 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-class.sublime-snippet @@ -0,0 +1,29 @@ + + +
+
+
+
+ ); + } +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var allDOMComponentsWithMatchingClass = TestUtils.scryRenderedDOMComponentsWithClass( + componentTree, + 'target' +); + +expect(allDOMComponentsWithMatchingClass).toBeAn('array'); +expect(allDOMComponentsWithMatchingClass.length).toBe(2); +]]>
+ jr.tsrdcwclass + jr - scryRenderedDOMComponentsWithClass +
diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-tag.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-tag.sublime-snippet new file mode 100644 index 0000000..a16c8ea --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-tag.sublime-snippet @@ -0,0 +1,23 @@ + +
; + } +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var allDivs = TestUtils.scryRenderedDOMComponentsWithTag( + componentTree, + 'DIV' +); + +expect(allDivs).toBeAn('array'); +expect(allDivs.length).toBe(2); +]]>
+ jr.tsrdcwtag + jr - scryRenderedDOMComponentsWithTag +
diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-basic.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-basic.sublime-snippet new file mode 100644 index 0000000..3ebb137 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-basic.sublime-snippet @@ -0,0 +1,17 @@ + + ); + +// 3. capture renderer output +var subject = renderer.getRenderOutput(); + +// 4. make assertions +expect(subject.type).toBe('div'); +]]> + jr.tsrbasic + jr - Shallow rendering (basics) + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-count.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-count.sublime-snippet new file mode 100644 index 0000000..ef1714e --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-count.sublime-snippet @@ -0,0 +1,17 @@ + + +); + +var subject = renderer.getRenderOutput(); + +var childCount = React.Children.count(subject.props.children); + +expect(childCount).toBe(3); // => true +]]> + jr.tsrccount + jr - Shallow rendering (child-count) + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-equality.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-equality.sublime-snippet new file mode 100644 index 0000000..e5c6528 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-equality.sublime-snippet @@ -0,0 +1,21 @@ + + +
Thing 1
+
Thing 2
+ +); + +var subject = renderer.getRenderOutput(); + +expect(subject.props.children).toEqual([ +
Thing 1
, +
Thing 2
+]); // => true +]]>
+ jr.tsrcequality + jr - Shallow rendering (child-equality) +
diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-events.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-events.sublime-snippet new file mode 100644 index 0000000..b74c353 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-events.sublime-snippet @@ -0,0 +1,15 @@ + + ); + +var subject = renderer.getRenderOutput(); + +expect(spy.call.length).toEqual(1); // => true +]]> + jr.tsrevents + jr - Shallow rendering (events) + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-props.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-props.sublime-snippet new file mode 100644 index 0000000..948e26e --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-props.sublime-snippet @@ -0,0 +1,13 @@ + + ); + +var subject = renderer.getRenderOutput(); + +expect(subject.props.className).toBe('my-component'); // => true +]]> + jr.tsrprops + jr - Shallow rendering (props) + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-state-changes.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-state-changes.sublime-snippet new file mode 100644 index 0000000..5f63366 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-state-changes.sublime-snippet @@ -0,0 +1,22 @@ + + ); + +// test initial rendering +var result = renderer.getRenderOutput(); + +expect(result.props.children).toEqual(0); + + +// test post-click rendering +result.props.onClick(); + +var clickedResult = renderer.getRenderOutput(); + +expect(clickedResult.props.children).toEqual(1); +]]> + jr.tsrschanges + jr - Shallow rendering (state changes) + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-type.sublime-snippet new file mode 100644 index 0000000..467ae22 --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-type.sublime-snippet @@ -0,0 +1,13 @@ + + ); + +var subject = renderer.getRenderOutput(); + +expect(subject.type).toBe('div'); // => true +]]> + jr.tsrtype + jr - Shallow rendering (type) + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-simulate-basic.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-simulate-basic.sublime-snippet new file mode 100644 index 0000000..a685eaa --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-simulate-basic.sublime-snippet @@ -0,0 +1,11 @@ + + +); + +TestUtils.Simulate.click(subject); +]]> + jr.tsbasic + jr - Simulate (basic) + diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-simulate-with-data.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-simulate-with-data.sublime-snippet new file mode 100644 index 0000000..8d2efde --- /dev/null +++ b/snippets/js/libraries/react/test-utils/react-test-utils-simulate-with-data.sublime-snippet @@ -0,0 +1,15 @@ + + +); + +TestUtils.Simulate.change(subject, { key: "Enter" }); +]]> + jr.tsdata + jr - Simulate (with data) + From 7cc339c3c7a03eb768b1b4ee931c32e61ba15524 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Fri, 29 Jan 2016 06:18:44 -0200 Subject: [PATCH 070/114] update: reactjs snippets information --- README.md | 1 + snippets/js/libraries/README.md | 1 + snippets/js/libraries/react/README.md | 11 +- .../js/libraries/react/component/README.md | 32 +- snippets/js/libraries/react/events/README.md | 206 +++++++++ .../js/libraries/react/lifecycle/README.md | 38 +- .../js/libraries/react/prop-types/README.md | 86 +++- .../js/libraries/react/react-dom/README.md | 26 +- snippets/js/libraries/react/spec/README.md | 38 +- .../js/libraries/react/test-utils/README.md | 400 +++++++++++++++++- ...-find-all-in-rendered-tree.sublime-snippet | 2 +- ...ndered-component-with-type.sublime-snippet | 2 +- ...d-dom-component-with-class.sublime-snippet | 2 +- ...red-dom-component-with-tag.sublime-snippet | 2 +- ...posite-component-with-type.sublime-snippet | 2 +- ...ils-is-composite-component.sublime-snippet | 2 +- ...est-utils-is-dom-component.sublime-snippet | 2 +- ...t-utils-is-element-of-type.sublime-snippet | 2 +- ...eact-test-utils-is-element.sublime-snippet | 2 +- ...-test-utils-mock-component.sublime-snippet | 2 +- ...utils-render-into-document.sublime-snippet | 2 +- ...dered-components-with-type.sublime-snippet | 2 +- ...ed-dom-components-with-tag.sublime-snippet | 2 +- ...ls-shallow-rendering-basic.sublime-snippet | 2 +- ...llow-rendering-child-count.sublime-snippet | 2 +- ...w-rendering-child-equality.sublime-snippet | 2 +- ...s-shallow-rendering-events.sublime-snippet | 2 +- ...ls-shallow-rendering-props.sublime-snippet | 2 +- ...ow-rendering-state-changes.sublime-snippet | 2 +- ...ils-shallow-rendering-type.sublime-snippet | 2 +- ...-test-utils-simulate-basic.sublime-snippet | 2 +- ...t-utils-simulate-with-data.sublime-snippet | 2 +- .../js/libraries/react/top-level/README.md | 63 ++- ...t-top-level-children-count.sublime-snippet | 4 +- ...op-level-children-for-each.sublime-snippet | 2 +- ...act-top-level-children-map.sublime-snippet | 4 +- ...ct-top-level-clone-element.sublime-snippet | 2 +- 37 files changed, 921 insertions(+), 37 deletions(-) create mode 100644 snippets/js/libraries/react/events/README.md diff --git a/README.md b/README.md index c514eff..8328aa2 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text * (Node.js Assert) [https://nodejs.org/api/assert.html](https://nodejs.org/api/assert.html) * (Jasmine) [http://jasmine.github.io/2.0/introduction.html](http://jasmine.github.io/2.0/introduction.html) * (ReactJS cheatsheet) [http://reactcheatsheet.com/](http://reactcheatsheet.com/) +* (ES6 Features) [https://github.com/lukehoban/es6features#readme](https://github.com/lukehoban/es6features#readme) ## Contributing diff --git a/snippets/js/libraries/README.md b/snippets/js/libraries/README.md index 707c49c..555b2ca 100644 --- a/snippets/js/libraries/README.md +++ b/snippets/js/libraries/README.md @@ -1,3 +1,4 @@ # JavaScript Libraries Snippets - [jQuery](jquery/) +- [ReactJS](react/) diff --git a/snippets/js/libraries/react/README.md b/snippets/js/libraries/react/README.md index fc9a7c1..c4964ba 100644 --- a/snippets/js/libraries/react/README.md +++ b/snippets/js/libraries/react/README.md @@ -1,3 +1,12 @@ # ReactJS Snippets -- [](/) +## Prefix `jr.*` + +- [Component](component/) +- [Events](events/) +- [Lifecycle](lifecycle/) +- [PropTypes](prop-types/) +- [ReactDOM](react-dom/) +- [Spec](spec/) +- [Test Utils](test-utils/) +- [Top Level](top-level/) diff --git a/snippets/js/libraries/react/component/README.md b/snippets/js/libraries/react/component/README.md index 05385a4..cde5434 100644 --- a/snippets/js/libraries/react/component/README.md +++ b/snippets/js/libraries/react/component/README.md @@ -1,7 +1,37 @@ ## ReactJS Snippets -### [jr.] parse +### [jr.fupdate] forceUpdate ```javascript +this.forceUpdate(); +``` + +### [jr.imounted] isMounted + +```javascript +this.isMounted(); +``` + +### [jr.rprops] replaceProps + +```javascript +this.replaceProps(${0}); +``` + +### [jr.rstate] replaceState +```javascript +this.replaceState({$0}); +``` + +### [jr.sprops] setProps + +```javascript +this.setProps(${0}); +``` + +### [jr.setstate] setState + +```javascript +this.setState({$0}); ``` diff --git a/snippets/js/libraries/react/events/README.md b/snippets/js/libraries/react/events/README.md new file mode 100644 index 0000000..ccad0ec --- /dev/null +++ b/snippets/js/libraries/react/events/README.md @@ -0,0 +1,206 @@ +## ReactJS Snippets + +### [jr.onbl] onBlur + +```javascript +onBlur$0 +``` + +### [jr.onch] onChange + +```javascript +onChange$0 +``` + +### [jr.oncl] onClick + +```javascript +onClick$0 +``` + +### [jr.oncm] onContextMenu + +```javascript +onContextMenu$0 +``` + +### [jr.onco] onCopy + +```javascript +onCopy$0 +``` + +### [jr.onct] onCut + +```javascript +onCut$0 +``` + +### [jr.ondc] onDoubleClick + +```javascript +onDoubleClick$0 +``` + +### [jr.onde] onDragEnd + +```javascript +onDragEnd$0 +``` + +### [jr.onden] onDragEnter + +```javascript +onDragEnter$0 +``` + +### [jr.ondex] onDragExit + +```javascript +onDragExit$0 +``` + +### [jr.ondl] onDragLeave + +```javascript +onDragLeave$0 +``` + +### [jr.ondo] onDragOver + +```javascript +onDragOver$0 +``` + +### [jr.onds] onDragStart + +```javascript +onDragStart$0 +``` + +### [jr.ondr] onDrop + +```javascript +onDrop$0 +``` + +### [jr.onfo] onFocus + +```javascript +onFocus$0 +``` + +### [jr.onin] onInput + +```javascript +onInput$0 +``` + +### [jr.onkd] onKeyDown + +```javascript +onKeyDown$0 +``` + +### [jr.onkp] onKeyPress + +```javascript +onKeyPress$0 +``` + +### [jr.onku] onKeyUp + +```javascript +onKeyUp$0 +``` + +### [jr.onmd] onMouseDown + +```javascript +onMouseDown$0 +``` + +### [jr.onme] onMouseEnter + +```javascript +onMouseEnter$0 +``` + +### [jr.onml] onMouseLeave + +```javascript +onMouseLeave$0 +``` + +### [jr.onmm] onMouseMove + +```javascript +onMouseMove$0 +``` + +### [jr.onmo] onMouseOut + +```javascript +onMouseOut$0 +``` + +### [jr.onmov] onMouseOver + +```javascript +onMouseOver$0 +``` + +### [jr.onmu] onMouseUp + +```javascript +onMouseUp$0 +``` + +### [jr.onpa] onPaste + +```javascript +onPaste$0 +``` + +### [jr.onsc] onScroll + +```javascript +onScroll$0 +``` + +### [jr.onsu] onSubmit + +```javascript +onSubmit$0 +``` + +### [jr.ontc] onTouchCancel + +```javascript +onTouchCancel$0 +``` + +### [jr.onte] onTouchEnd + +```javascript +onTouchEnd$0 +``` + +### [jr.ontm] onTouchMove + +```javascript +onTouchMove$0 +``` + +### [jr.onts] onTouchStart + +```javascript +onTouchStart$0 +``` + +### [jr.onwh] onWheel + +```javascript +onWheel$0 +``` + diff --git a/snippets/js/libraries/react/lifecycle/README.md b/snippets/js/libraries/react/lifecycle/README.md index 05385a4..33b5001 100644 --- a/snippets/js/libraries/react/lifecycle/README.md +++ b/snippets/js/libraries/react/lifecycle/README.md @@ -1,6 +1,42 @@ ## ReactJS Snippets -### [jr.] parse +### [jr.cdmount] componentDidMount + +```javascript + +``` + +### [jr.cdupdate] componentDidUpdate + +```javascript + +``` + +### [jr.cwmount] componentWillMount + +```javascript + +``` + +### [jr.cwrprops] componentWillReceiveProps + +```javascript + +``` + +### [jr.cwunmount] componentWillUnmount + +```javascript + +``` + +### [jr.cwupdate] componentWillUpdate + +```javascript + +``` + +### [jr.scupdate] shouldComponentUpdate ```javascript diff --git a/snippets/js/libraries/react/prop-types/README.md b/snippets/js/libraries/react/prop-types/README.md index 05385a4..b38482c 100644 --- a/snippets/js/libraries/react/prop-types/README.md +++ b/snippets/js/libraries/react/prop-types/README.md @@ -1,6 +1,90 @@ ## ReactJS Snippets -### [jr.] parse +### [jr.ptany] PropTypes.any + +```javascript + +``` + +### [jr.ptarrayof] PropTypes.arrayOf + +```javascript + +``` + +### [jr.ptarray] PropTypes.array + +```javascript + +``` + +### [jr.ptbool] PropTypes.bool + +```javascript + +``` + +### [jr.ptelement] PropTypes.element + +```javascript + +``` + +### [jr.ptfunc] PropTypes.func + +```javascript + +``` + +### [jr.ptiof] PropTypes.instanceOf + +```javascript + +``` + +### [jr.ptnode] PropTypes.node + +```javascript + +``` + +### [jr.ptnumber] PropTypes.number + +```javascript + +``` + +### [jr.ptobjectof] PropTypes.objectOf + +```javascript + +``` + +### [jr.ptobject] PropTypes.object + +```javascript + +``` + +### [jr.ptootype] PropTypes.oneOfType + +```javascript + +``` + +### [jr.ptoneof] PropTypes.oneOf + +```javascript + +``` + +### [jr.ptshape] PropTypes.shape + +```javascript + +``` + +### [jr.ptstring] PropTypes.string ```javascript diff --git a/snippets/js/libraries/react/react-dom/README.md b/snippets/js/libraries/react/react-dom/README.md index 05385a4..225f64d 100644 --- a/snippets/js/libraries/react/react-dom/README.md +++ b/snippets/js/libraries/react/react-dom/README.md @@ -1,7 +1,31 @@ ## ReactJS Snippets -### [jr.] parse +### [jr.fdnode] findDOMNode ```javascript +ReactDOM.findDOMNode(${1:componentRef}); +``` + +### [jr.rsmarkup] renderStaticMarkup + +```javascript +ReactDOMServer.renderStaticMarkup(${1:ReactElement element}); +``` + +### [jr.rtstring] renderToString +```javascript +ReactDOMServer.renderToString(${1:ReactElement element}); +``` + +### [jr.render] render + +```javascript +ReactDOM.render(${1:reactElement}, ${1:domContainerNode}); +``` + +### [jr.ucanode] unmountComponentAtNode + +```javascript +ReactDOM.unmountComponentAtNode(${1:DOMElement container}); ``` diff --git a/snippets/js/libraries/react/spec/README.md b/snippets/js/libraries/react/spec/README.md index 05385a4..0f29d28 100644 --- a/snippets/js/libraries/react/spec/README.md +++ b/snippets/js/libraries/react/spec/README.md @@ -1,6 +1,42 @@ ## ReactJS Snippets -### [jr.] parse +### [jr.dname] displayName + +```javascript + +``` + +### [jr.gdprops] getDefaultProps + +```javascript + +``` + +### [jr.gistate] getInitialState + +```javascript + +``` + +### [jr.mixins] mixins + +```javascript + +``` + +### [jr.ptypes] propTypes + +```javascript + +``` + +### [jr.srender] render + +```javascript + +``` + +### [jr.statics] statics ```javascript diff --git a/snippets/js/libraries/react/test-utils/README.md b/snippets/js/libraries/react/test-utils/README.md index 05385a4..5c4bf2f 100644 --- a/snippets/js/libraries/react/test-utils/README.md +++ b/snippets/js/libraries/react/test-utils/README.md @@ -1,7 +1,403 @@ -## ReactJS Snippets +# ReactJS Snippets -### [jr.] parse +## key: `jr.z.testutils` + +### findAllInRenderedTree + +```javascript +var CompositeComponent = React.createClass({ + render () { + return
; + } +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var allDivs = TestUtils.findAllInRenderedTree( + componentTree, + (c) => c.tagName === 'DIV' +) + +expect(allDivs).toBeAn('array'); +expect(allDivs.length).toBe(2); +``` + +### findRenderedComponentWithType + +```javascript +var MyCompositeComponent = React.createClass({ + render () { return } +}); + +var TargetComponent = React.createClass({ + render () { return
} +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var onlyTargetComponent = TestUtils.findRenderedComponentWithType( + componentTree, + TargetComponent +); + +expect(onlyTargetComponent).toBeAn('object'); +expect(onlyTargetComponent).toNotBeAn('array'); +expect(TestUtils.isCompositeComponentWithType( + onlyTargetComponent, + TargetComponent +)).toBe(true); +``` + +### findRenderedDOMComponentWithClass + +```javascript +var MyCompositeComponent = React.createClass({ + render () { + return ; + } +}); + +var MyNestedComponent = React.createClass({ + render () { + return
; + } +}); + +var componentTree = TestUtils.renderIntoDocument(); + +var singleComponentWithMatchedClass = TestUtils.findRenderedDOMComponentWithClass( + componentTree, + 'nested' +); + +expect(singleComponentWithMatchedClass).toBeAn('object'); +expect(singleComponentWithMatchedClass).toNotBeAn('array'); +expect(singleComponentWithMatchedClass.className).toBe('nested'); +``` + +### findRenderedDOMComponentWithTag + +```javascript +var MyCompositeComponent = React.createClass({ + render () { + return ; + } +}); + +var MyNestedComponent = React.createClass({ + render () { + return
; + } +}); + +var componentTree = TestUtils.renderIntoDocument(); + +var onlyDiv = TestUtils.findRenderedDOMComponentWithTag( + componentTree, + 'div' +); + +expect(onlyDiv).toBeAn('object'); +expect(onlyDiv).toNotBeAn('array'); +expect(onlyDiv.tagName).toBe('DIV'); +``` + +### isCompositeComponentWithType + +```javascript +var CompositeComponent = React.createClass({ + render () { + return
; + } +}); + +var subject = TestUtils.renderIntoDocument( + +); + +expect( + TestUtils.isCompositeComponentWithType( + subject, + CompositeComponent + ) +).toBe(true); +``` + +### isCompositeComponent ```javascript +var subject = TestUtils.renderIntoDocument( + +); + +expect( + TestUtils.isCompositeComponent(subject) +).toBe(true); +``` + +### isDOMComponent + +```javascript +var subject = TestUtils.renderIntoDocument(
); + +expect( + TestUtils.isDOMComponent(subject) +).toBe(true); +``` + +### isElementOfType + +```javascript +var MyComponent = React.createClass({ + render () { + return
; + } +}); + +expect( + TestUtils.isElementOfType(, MyComponent) +).toBe(true); +``` + +### isElement + +```javascript +expect(TestUtils.isElement(
)).toBe(true); +``` + +### mockComponent + +```javascript +mockComponent +``` + +### renderIntoDocument + +```javascript +var componentTree = TestUtils.renderIntoDocument(
); + +console.log('You mounted a component tree with a ' + componentTree.tagName + ' at the root!'); +``` + +### scryRenderedComponentsWithType + +```javascript +var MyCompositeComponent = React.createClass({ + render () { + return ( +
+ +
+ +
+ ) + } +}); + +var Target = React.createClass({ + render () { + return
; + } +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var allTargetComponents = TestUtils.scryRenderedComponentsWithType( + componentTree, + Target +); + +expect(allTargetComponents).toBeAn('array'); +expect(allTargetComponents.length).toBe(2); +``` + +### scryRenderedDOMComponentsWithClass + +```javascript +var CompositeComponent = React.createClass({ + render () { + return ( +
+
+
+
+
+ ); + } +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var allDOMComponentsWithMatchingClass = TestUtils.scryRenderedDOMComponentsWithClass( + componentTree, + 'target' +); + +expect(allDOMComponentsWithMatchingClass).toBeAn('array'); +expect(allDOMComponentsWithMatchingClass.length).toBe(2); +``` + +### scryRenderedDOMComponentsWithTag + +```javascript +var CompositeComponent = React.createClass({ + render () { + return
; + } +}); + +var componentTree = TestUtils.renderIntoDocument( + +); + +var allDivs = TestUtils.scryRenderedDOMComponentsWithTag( + componentTree, + 'DIV' +); + +expect(allDivs).toBeAn('array'); +expect(allDivs.length).toBe(2); +``` + +### Shallow rendering (basics) + +```javascript +// 1. create a renderer +var renderer = TestUtils.createRenderer(); + +// 2. render component into renderer +renderer.render(); + +// 3. capture renderer output +var subject = renderer.getRenderOutput(); + +// 4. make assertions +expect(subject.type).toBe('div'); +``` + +### Shallow rendering (child-count) + +```javascript +var renderer = TestUtils.createRenderer(); + +renderer.render( + +); + +var subject = renderer.getRenderOutput(); + +var childCount = React.Children.count(subject.props.children); + +expect(childCount).toBe(3); // => true +``` + +### Shallow rendering (child-equality) + +```javascript +var renderer = TestUtils.createRenderer(); + +renderer.render( + +
Thing 1
+
Thing 2
+
+); + +var subject = renderer.getRenderOutput(); + +expect(subject.props.children).toEqual([ +
Thing 1
, +
Thing 2
+]); // => true +``` + +### Shallow rendering (events) + +```javascript +var renderer = TestUtils.createRenderer(); + +var spy = expect.createSpy(); + +renderer.render(); + +var subject = renderer.getRenderOutput(); + +expect(spy.call.length).toEqual(1); // => true +``` + +### Shallow rendering (props) + +```javascript +var renderer = TestUtils.createRenderer(); + +renderer.render(); + +var subject = renderer.getRenderOutput(); + +expect(subject.props.className).toBe('my-component'); // => true +``` + +### Shallow rendering (state changes) + +```javascript +var renderer = TestUtils.createRenderer(); + +renderer.render(); + +// test initial rendering +var result = renderer.getRenderOutput(); + +expect(result.props.children).toEqual(0); + + +// test post-click rendering +result.props.onClick(); + +var clickedResult = renderer.getRenderOutput(); + +expect(clickedResult.props.children).toEqual(1); +``` + +### Shallow rendering (type) + +```javascript +var renderer = TestUtils.createRenderer(); + +renderer.render(); + +var subject = renderer.getRenderOutput(); + +expect(subject.type).toBe('div'); // => true +``` + +### Simulate (basic) + +```javascript +var subject = TestUtils.renderIntoDocument( +
+); + +TestUtils.Simulate.click(subject); +``` + +### Simulate (with data) + +```javascript +function handleChange (event) { + console.log('A change was simulated with key: ' + event.key); +} + +var subject = TestUtils.renderIntoDocument( + +); +TestUtils.Simulate.change(subject, { key: "Enter" }); ``` diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-find-all-in-rendered-tree.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-find-all-in-rendered-tree.sublime-snippet index 241f6c6..3e2c242 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-find-all-in-rendered-tree.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-find-all-in-rendered-tree.sublime-snippet @@ -18,6 +18,6 @@ var allDivs = TestUtils.findAllInRenderedTree( expect(allDivs).toBeAn('array'); expect(allDivs.length).toBe(2); ]]> - jr.tfairtree + jr.z.testutils jr - findAllInRenderedTree diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-component-with-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-component-with-type.sublime-snippet index cc432f1..53c3bcb 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-component-with-type.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-component-with-type.sublime-snippet @@ -24,6 +24,6 @@ expect(TestUtils.isCompositeComponentWithType( TargetComponent )).toBe(true); ]]> - jr.tfrcwtype + jr.z.testutils jr - findRenderedComponentWithType diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-class.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-class.sublime-snippet index 441e6bc..a835ffe 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-class.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-class.sublime-snippet @@ -23,6 +23,6 @@ expect(singleComponentWithMatchedClass).toBeAn('object'); expect(singleComponentWithMatchedClass).toNotBeAn('array'); expect(singleComponentWithMatchedClass.className).toBe('nested'); ]]> - jr.tfrdcwclass + jr.z.testutils jr - findRenderedDOMComponentWithClass diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-tag.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-tag.sublime-snippet index 88d3ab9..42df064 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-tag.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-find-rendered-dom-component-with-tag.sublime-snippet @@ -23,6 +23,6 @@ expect(onlyDiv).toBeAn('object'); expect(onlyDiv).toNotBeAn('array'); expect(onlyDiv.tagName).toBe('DIV'); ]]> - jr.tfrdcwtag + jr.z.testutils jr - findRenderedDOMComponentWithTag diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component-with-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component-with-type.sublime-snippet index f029906..3500006 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component-with-type.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component-with-type.sublime-snippet @@ -17,6 +17,6 @@ expect( ) ).toBe(true); ]]> - jr.ticcwtype + jr.z.testutils jr - isCompositeComponentWithType diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component.sublime-snippet index 511fef5..1f91348 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-composite-component.sublime-snippet @@ -8,6 +8,6 @@ expect( TestUtils.isCompositeComponent(subject) ).toBe(true); ]]> - jr.ticcomponent + jr.z.testutils jr - isCompositeComponent diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-dom-component.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-dom-component.sublime-snippet index 128127e..8fe2814 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-is-dom-component.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-dom-component.sublime-snippet @@ -6,6 +6,6 @@ expect( TestUtils.isDOMComponent(subject) ).toBe(true); ]]> - jr.tidcomponent + jr.z.testutils jr - isDOMComponent diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-element-of-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-element-of-type.sublime-snippet index 8639d29..761d0fa 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-is-element-of-type.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-element-of-type.sublime-snippet @@ -10,6 +10,6 @@ expect( TestUtils.isElementOfType(, MyComponent) ).toBe(true); ]]> - jr.tieotype + jr.z.testutils jr - isElementOfType diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-is-element.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-is-element.sublime-snippet index 6d6d39c..8b345fb 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-is-element.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-is-element.sublime-snippet @@ -2,6 +2,6 @@ )).toBe(true); ]]> - jr.tielement + jr.z.testutils jr - isElement diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-mock-component.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-mock-component.sublime-snippet index 9961ea0..a540b2b 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-mock-component.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-mock-component.sublime-snippet @@ -2,6 +2,6 @@ - jr.tmcomponent + jr.z.testutils jr - mockComponent diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-render-into-document.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-render-into-document.sublime-snippet index 845b296..c7533f0 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-render-into-document.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-render-into-document.sublime-snippet @@ -4,6 +4,6 @@ var componentTree = TestUtils.renderIntoDocument(
); console.log('You mounted a component tree with a ' + componentTree.tagName + ' at the root!'); ]]> - jr.tridocument + jr.z.testutils jr - renderIntoDocument diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-components-with-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-components-with-type.sublime-snippet index 06a13d2..aa3c8ad 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-components-with-type.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-components-with-type.sublime-snippet @@ -30,6 +30,6 @@ var allTargetComponents = TestUtils.scryRenderedComponentsWithType( expect(allTargetComponents).toBeAn('array'); expect(allTargetComponents.length).toBe(2); ]]> - jr.tsrcwtype + jr.z.testutils jr - scryRenderedComponentsWithType diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-tag.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-tag.sublime-snippet index a16c8ea..b4ea32e 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-tag.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-scry-rendered-dom-components-with-tag.sublime-snippet @@ -18,6 +18,6 @@ var allDivs = TestUtils.scryRenderedDOMComponentsWithTag( expect(allDivs).toBeAn('array'); expect(allDivs.length).toBe(2); ]]> - jr.tsrdcwtag + jr.z.testutils jr - scryRenderedDOMComponentsWithTag diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-basic.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-basic.sublime-snippet index 3ebb137..5ed04b8 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-basic.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-basic.sublime-snippet @@ -12,6 +12,6 @@ var subject = renderer.getRenderOutput(); // 4. make assertions expect(subject.type).toBe('div'); ]]> - jr.tsrbasic + jr.z.testutils jr - Shallow rendering (basics) diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-count.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-count.sublime-snippet index ef1714e..29dee15 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-count.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-count.sublime-snippet @@ -12,6 +12,6 @@ var childCount = React.Children.count(subject.props.children); expect(childCount).toBe(3); // => true ]]> - jr.tsrccount + jr.z.testutils jr - Shallow rendering (child-count) diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-equality.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-equality.sublime-snippet index e5c6528..b96dfa6 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-equality.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-child-equality.sublime-snippet @@ -16,6 +16,6 @@ expect(subject.props.children).toEqual([
Thing 2
]); // => true ]]> - jr.tsrcequality + jr.z.testutils jr - Shallow rendering (child-equality) diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-events.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-events.sublime-snippet index b74c353..617d5bf 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-events.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-events.sublime-snippet @@ -10,6 +10,6 @@ var subject = renderer.getRenderOutput(); expect(spy.call.length).toEqual(1); // => true ]]> - jr.tsrevents + jr.z.testutils jr - Shallow rendering (events) diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-props.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-props.sublime-snippet index 948e26e..fb0a86e 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-props.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-props.sublime-snippet @@ -8,6 +8,6 @@ var subject = renderer.getRenderOutput(); expect(subject.props.className).toBe('my-component'); // => true ]]> - jr.tsrprops + jr.z.testutils jr - Shallow rendering (props) diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-state-changes.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-state-changes.sublime-snippet index 5f63366..e6faaeb 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-state-changes.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-state-changes.sublime-snippet @@ -17,6 +17,6 @@ var clickedResult = renderer.getRenderOutput(); expect(clickedResult.props.children).toEqual(1); ]]> - jr.tsrschanges + jr.z.testutils jr - Shallow rendering (state changes) diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-type.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-type.sublime-snippet index 467ae22..1d2fbaa 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-type.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-shallow-rendering-type.sublime-snippet @@ -8,6 +8,6 @@ var subject = renderer.getRenderOutput(); expect(subject.type).toBe('div'); // => true ]]> - jr.tsrtype + jr.z.testutils jr - Shallow rendering (type) diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-simulate-basic.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-simulate-basic.sublime-snippet index a685eaa..c4f6532 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-simulate-basic.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-simulate-basic.sublime-snippet @@ -6,6 +6,6 @@ var subject = TestUtils.renderIntoDocument( TestUtils.Simulate.click(subject); ]]> - jr.tsbasic + jr.z.testutils jr - Simulate (basic) diff --git a/snippets/js/libraries/react/test-utils/react-test-utils-simulate-with-data.sublime-snippet b/snippets/js/libraries/react/test-utils/react-test-utils-simulate-with-data.sublime-snippet index 8d2efde..81734aa 100644 --- a/snippets/js/libraries/react/test-utils/react-test-utils-simulate-with-data.sublime-snippet +++ b/snippets/js/libraries/react/test-utils/react-test-utils-simulate-with-data.sublime-snippet @@ -10,6 +10,6 @@ var subject = TestUtils.renderIntoDocument( TestUtils.Simulate.change(subject, { key: "Enter" }); ]]> - jr.tsdata + jr.z.testutils jr - Simulate (with data) diff --git a/snippets/js/libraries/react/top-level/README.md b/snippets/js/libraries/react/top-level/README.md index 05385a4..6d04db3 100644 --- a/snippets/js/libraries/react/top-level/README.md +++ b/snippets/js/libraries/react/top-level/README.md @@ -1,7 +1,68 @@ ## ReactJS Snippets -### [jr.] parse +### [jr.chcount] children.count ```javascript +React.Children.count(this.props.children); +``` + +### [jr.chfeach] children.forEach + +```javascript +React.Children.forEach(this.props.children, (child, i) => { + ${1:console.log(child + ' at index: ' + i);} +}) +``` + +### [jr.chmap] children.map + +```javascript +React.Children.map(this.props.children, (child, i) => { + ${1} + return child; +}); +``` + +### [jr.clelement] cloneElement + +```javascript +React.cloneElement(${1:element}, ${2:props}, ${3:...children}); +``` + +### [jr.component] component +```javascript +class ${1:MyComponent} extends React.Component { + render () { + return ${2}; + } +} +``` + +### [jr.cclass] createClass + +```javascript +var ${1:MyComponent} = React.createClass({ + render: function () { + return ${2}; + } +}); +``` + +### [jr.celement] createElement + +```javascript +React.createElement(${1:MyComponent}, ${2:props}, ${3:...children}); +``` + +### [jr.cfactory] createFactory + +```javascript +React.createFactory(${1:MyComponentClass}); +``` + +### [jr.ivelement] isValidElement + +```javascript +React.isValidElement(${1:MyComponent}); ``` diff --git a/snippets/js/libraries/react/top-level/react-top-level-children-count.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-children-count.sublime-snippet index 8956417..e6249b3 100644 --- a/snippets/js/libraries/react/top-level/react-top-level-children-count.sublime-snippet +++ b/snippets/js/libraries/react/top-level/react-top-level-children-count.sublime-snippet @@ -2,6 +2,6 @@ - jr.ccount - jr - Children.count + jr.chcount + jr - children.count diff --git a/snippets/js/libraries/react/top-level/react-top-level-children-for-each.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-children-for-each.sublime-snippet index ea83885..af2e7e2 100644 --- a/snippets/js/libraries/react/top-level/react-top-level-children-for-each.sublime-snippet +++ b/snippets/js/libraries/react/top-level/react-top-level-children-for-each.sublime-snippet @@ -4,6 +4,6 @@ React.Children.forEach(this.props.children, (child, i) => { ${1:console.log(child + ' at index: ' + i);} }) ]]> - jr.cfeach + jr.chfeach jr - children.forEach diff --git a/snippets/js/libraries/react/top-level/react-top-level-children-map.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-children-map.sublime-snippet index 906f2a1..ae06fc6 100644 --- a/snippets/js/libraries/react/top-level/react-top-level-children-map.sublime-snippet +++ b/snippets/js/libraries/react/top-level/react-top-level-children-map.sublime-snippet @@ -3,8 +3,8 @@ React.Children.map(this.props.children, (child, i) => { ${1} return child; -}) +}); ]]> - jr.cmap + jr.chmap jr - children.map diff --git a/snippets/js/libraries/react/top-level/react-top-level-clone-element.sublime-snippet b/snippets/js/libraries/react/top-level/react-top-level-clone-element.sublime-snippet index 1a0ca69..fda2f41 100644 --- a/snippets/js/libraries/react/top-level/react-top-level-clone-element.sublime-snippet +++ b/snippets/js/libraries/react/top-level/react-top-level-clone-element.sublime-snippet @@ -2,6 +2,6 @@ - jr.cloneelement + jr.clelement jr - cloneElement From cccc1076c7775b5e454edf44811bf7e1a03b4ddf Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Fri, 29 Jan 2016 07:46:37 -0200 Subject: [PATCH 071/114] update: es6 snippets files --- snippets/js/es6/README.md | 13 ++- snippets/js/es6/arrows/README.md | 4 +- snippets/js/es6/classes/README.md | 8 +- snippets/js/es6/collections/README.md | 20 ++++- .../js/es6/enhanced-object-literals/README.md | 10 ++- snippets/js/es6/generators/README.md | 14 +++- .../generators/es6-generators.sublime-snippet | 2 +- snippets/js/es6/let/README.md | 18 ++++- .../README.md | 23 +++++- .../es6.sublime-snippet | 4 +- snippets/js/es6/modules/README.md | 44 +++++++++- .../es6-dynamic-import.sublime-snippet | 5 +- .../es6-export-function.sublime-snippet | 5 +- .../es6-export-variable.sublime-snippet | 5 +- .../js/es6/modules/es6-import.sublime-snippet | 5 +- .../modules/es6-loader-class.sublime-snippet | 5 +- .../modules/es6-system-get.sublime-snippet | 5 +- .../modules/es6-system-set.sublime-snippet | 6 +- snippets/js/es6/promises/README.md | 6 +- .../es6/promises/es6-promise.sublime-snippet | 5 +- snippets/js/es6/proxies/README.md | 4 +- .../js/es6/proxies/es6-proxy.sublime-snippet | 5 +- snippets/js/es6/reflect-api/README.md | 80 ++++++++++++++++++- .../es6-reflect-apply.sublime-snippet | 5 +- .../es6-reflect-construct.sublime-snippet | 7 +- ...es6-reflect-defineProperty.sublime-snippet | 7 +- ...es6-reflect-deleteProperty.sublime-snippet | 7 +- .../es6-reflect-enumerate.sublime-snippet | 7 +- .../es6-reflect-get.sublime-snippet | 7 +- ...es6-reflect-getOwnProperty.sublime-snippet | 7 +- ...es6-reflect-getPrototypeOf.sublime-snippet | 7 +- .../es6-reflect-has.sublime-snippet | 7 +- .../es6-reflect-isExtensible.sublime-snippet | 7 +- .../es6-reflect-ownKeys.sublime-snippet | 7 +- ...-reflect-preventExtensions.sublime-snippet | 7 +- .../es6-reflect-set.sublime-snippet | 5 +- ...es6-reflect-setPrototypeOf.sublime-snippet | 7 +- snippets/js/es6/template-strings/README.md | 4 +- .../es6-template-string.sublime-snippet | 5 +- 39 files changed, 292 insertions(+), 107 deletions(-) diff --git a/snippets/js/es6/README.md b/snippets/js/es6/README.md index 5aca3a5..9849ea4 100644 --- a/snippets/js/es6/README.md +++ b/snippets/js/es6/README.md @@ -1,3 +1,14 @@ # ECMA Script 2015 Snippets -- [](/) +- [Arrows](arrows/) +- [Classes](classes/) +- [Collections](collections/) +- [Enhanced object literals](enhanced-object-literals/) +- [Generators](generators/) +- [Let](let/) +- [Math number-string-array-object-apis](math-number-string-array-object-apis/) +- [Modules](modules/) +- [Promises](promises/) +- [Proxies](proxies/) +- [Reflect-api](reflect-api/) +- [Template-strings](template-strings/) diff --git a/snippets/js/es6/arrows/README.md b/snippets/js/es6/arrows/README.md index e8e7671..79b56db 100644 --- a/snippets/js/es6/arrows/README.md +++ b/snippets/js/es6/arrows/README.md @@ -1,7 +1,7 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.arrow] ES6 Arrow Function ```javascript - +${1:var} => ${2:function} ``` diff --git a/snippets/js/es6/classes/README.md b/snippets/js/es6/classes/README.md index e8e7671..7113f05 100644 --- a/snippets/js/es6/classes/README.md +++ b/snippets/js/es6/classes/README.md @@ -1,7 +1,13 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.class] ES6 Class ```javascript +class ${1:Classname} ${2:extends AnotherClass} { + ${3:constructor(${4:args}) { + ${5:// code} + \}} + ${6:// methods} +}$7 ``` diff --git a/snippets/js/es6/collections/README.md b/snippets/js/es6/collections/README.md index e8e7671..6c2a0f6 100644 --- a/snippets/js/es6/collections/README.md +++ b/snippets/js/es6/collections/README.md @@ -1,7 +1,25 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.map] ES6 Map ```javascript +var ${1:map} = new Map(); +``` + +### [je.set] ES6 Set + +```javascript +var ${1:set} = new Set(); +``` + +### [je.wmap] ES6 WeakMap +```javascript +var ${1:map} = new WeakMap(); +``` + +### [je.wset] ES6 WeakSet + +```javascript +var ${1:set} = new WeakSet(); ``` diff --git a/snippets/js/es6/enhanced-object-literals/README.md b/snippets/js/es6/enhanced-object-literals/README.md index e8e7671..e8d0fbd 100644 --- a/snippets/js/es6/enhanced-object-literals/README.md +++ b/snippets/js/es6/enhanced-object-literals/README.md @@ -1,7 +1,13 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.object] ES6 Object Literal ```javascript - +var ${1:obj} = { + __proto__: ${2:theProtoObj,} + ${3:handler,} + ${4:toString() { + ${5:return "object";} + }} +}$6 ``` diff --git a/snippets/js/es6/generators/README.md b/snippets/js/es6/generators/README.md index e8e7671..e5b4efe 100644 --- a/snippets/js/es6/generators/README.md +++ b/snippets/js/es6/generators/README.md @@ -1,7 +1,17 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.generators] ES6 Generators ```javascript - +var ${1:generator} = { + [Symbol:iterator]: function*() { + ${2:var ${3:pre} = ${4:0}, ${5:cur} = ${6:1};} + for(;;) { + ${7:var ${8:temp} = ${9:pre}; + ${9:pre} = ${10:cur}; + ${10:cur} += ${8:temp}; + yield ${10:cur};} + } + } +}; ``` diff --git a/snippets/js/es6/generators/es6-generators.sublime-snippet b/snippets/js/es6/generators/es6-generators.sublime-snippet index c6980aa..3f73229 100644 --- a/snippets/js/es6/generators/es6-generators.sublime-snippet +++ b/snippets/js/es6/generators/es6-generators.sublime-snippet @@ -13,5 +13,5 @@ var ${1:generator} = { }; ]]> je.generators - je - ES6 Generator + je - ES6 Generators diff --git a/snippets/js/es6/let/README.md b/snippets/js/es6/let/README.md index e8e7671..c9937f7 100644 --- a/snippets/js/es6/let/README.md +++ b/snippets/js/es6/let/README.md @@ -1,7 +1,23 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.leti] ES6 For Loop Iterator using Let ```javascript +let ${1:v} = { + [Symbol.iterator]() { + ${2:let pre = ${3:0}, cur = ${4:1};} + return { + next() { + ${5:[pre, cur] = [cur, pre + cur];} + ${6:return ${7:\{ done: ${8:false}, value: ${9:cur}\};}} + } + }; + } +};$10 +``` + +### [je.let] ES6 Let +```javascript +let ${1:${2:x} = ${3:'something'};$4} ``` diff --git a/snippets/js/es6/math-number-string-array-object-apis/README.md b/snippets/js/es6/math-number-string-array-object-apis/README.md index e8e7671..6fac579 100644 --- a/snippets/js/es6/math-number-string-array-object-apis/README.md +++ b/snippets/js/es6/math-number-string-array-object-apis/README.md @@ -1,7 +1,28 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.z.math] Math ```javascript +Number.EPSILON +Number.isInteger(Infinity) // false +Number.isNaN("NaN") // false +Math.acosh(3) // 1.762747174039086 +Math.hypot(3, 4) // 5 +Math.imul(Math.pow(2, 32) - 1, Math.pow(2, 32) - 2) // 2 + +"abcde".includes("cd") // true +"abc".repeat(3) // "abcabcabc" + +Array.from(document.querySelectorAll('*')) // Returns a real Array +Array.of(1, 2, 3) // Similar to new Array(...), but without special one-arg behavior +[0, 0, 0].fill(7, 1) // [0,7,7] +[1, 2, 3].find(x => x == 3) // 3 +[1, 2, 3].findIndex(x => x == 2) // 1 +[1, 2, 3, 4, 5].copyWithin(3, 0) // [1, 2, 3, 1, 2] +["a", "b", "c"].entries() // iterator [0, "a"], [1,"b"], [2,"c"] +["a", "b", "c"].keys() // iterator 0, 1, 2 +["a", "b", "c"].values() // iterator "a", "b", "c" + +Object.assign(Point, { origin: new Point(0,0) }) ``` diff --git a/snippets/js/es6/math-number-string-array-object-apis/es6.sublime-snippet b/snippets/js/es6/math-number-string-array-object-apis/es6.sublime-snippet index 5c5645d..32da440 100644 --- a/snippets/js/es6/math-number-string-array-object-apis/es6.sublime-snippet +++ b/snippets/js/es6/math-number-string-array-object-apis/es6.sublime-snippet @@ -23,6 +23,6 @@ Array.of(1, 2, 3) // Similar to new Array(...), but without special one-arg beha Object.assign(Point, { origin: new Point(0,0) }) ]]> - je. - je - + je.z.math + je - Math diff --git a/snippets/js/es6/modules/README.md b/snippets/js/es6/modules/README.md index e8e7671..81fdd48 100644 --- a/snippets/js/es6/modules/README.md +++ b/snippets/js/es6/modules/README.md @@ -1,7 +1,49 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.simport] ES6 Dynamic Module Import ```javascript +System.import(${1:'my-module'})${2:.then(function(${3:m}) \{ + $3 +\})}; +``` + +### [je.efunction] ES6 Module Export Function + +```javascript +export function ${2:name}(${3:args}) { + $4 +} +``` + +### [je.evariable] ES6 Module Export Variable +```javascript +export var ${1:myvar} = ${2:value}; +``` + +### [je.import] ES6 Module Import + +```javascript +import ${1:*} ${2:as ${3:mod}} from ${4:"lib/package"}; +``` + +### [je.loader] ES6 Loader Class + +```javascript +var ${1:loader} = new Loader({ + ${2:global: fixup(window)} +}); +``` + +### [je.sget] ES6 System Get Module + +```javascript +System.get(${1:'module'}); +``` + +### [je.sset] ES6 System Set Module + +```javascript +System.set(${1:'jquery'}, ${2:Module(${3:\{\$: \$\}})}); ``` diff --git a/snippets/js/es6/modules/es6-dynamic-import.sublime-snippet b/snippets/js/es6/modules/es6-dynamic-import.sublime-snippet index 2b48601..28e457a 100644 --- a/snippets/js/es6/modules/es6-dynamic-import.sublime-snippet +++ b/snippets/js/es6/modules/es6-dynamic-import.sublime-snippet @@ -4,7 +4,6 @@ System.import(${1:'my-module'})${2:.then(function(${3:m}) \{ $3 \})}; ]]> - System.import - source.js - ES6 Dynamic Module Import + je.simport + je - ES6 Dynamic Module Import diff --git a/snippets/js/es6/modules/es6-export-function.sublime-snippet b/snippets/js/es6/modules/es6-export-function.sublime-snippet index 633478e..4e38398 100644 --- a/snippets/js/es6/modules/es6-export-function.sublime-snippet +++ b/snippets/js/es6/modules/es6-export-function.sublime-snippet @@ -4,7 +4,6 @@ export function ${2:name}(${3:args}) { $4 } ]]> - export:function - source.js - ES6 Module Export Function + je.efunction + je - ES6 Module Export Function diff --git a/snippets/js/es6/modules/es6-export-variable.sublime-snippet b/snippets/js/es6/modules/es6-export-variable.sublime-snippet index 5b11bd8..5eab284 100644 --- a/snippets/js/es6/modules/es6-export-variable.sublime-snippet +++ b/snippets/js/es6/modules/es6-export-variable.sublime-snippet @@ -2,7 +2,6 @@ - export:variable - source.js - ES6 Module Export Variable + je.evariable + je - ES6 Module Export Variable diff --git a/snippets/js/es6/modules/es6-import.sublime-snippet b/snippets/js/es6/modules/es6-import.sublime-snippet index 65167b1..9f54056 100644 --- a/snippets/js/es6/modules/es6-import.sublime-snippet +++ b/snippets/js/es6/modules/es6-import.sublime-snippet @@ -2,7 +2,6 @@ - import - source.js - ES6 Module Import + je.import + je - ES6 Module Import diff --git a/snippets/js/es6/modules/es6-loader-class.sublime-snippet b/snippets/js/es6/modules/es6-loader-class.sublime-snippet index e743146..ba0dc46 100644 --- a/snippets/js/es6/modules/es6-loader-class.sublime-snippet +++ b/snippets/js/es6/modules/es6-loader-class.sublime-snippet @@ -4,7 +4,6 @@ var ${1:loader} = new Loader({ ${2:global: fixup(window)} }); ]]> - Loader - source.js - ES6 Loader Class + je.loader + je - ES6 Loader Class diff --git a/snippets/js/es6/modules/es6-system-get.sublime-snippet b/snippets/js/es6/modules/es6-system-get.sublime-snippet index 9a55d5f..67e5397 100644 --- a/snippets/js/es6/modules/es6-system-get.sublime-snippet +++ b/snippets/js/es6/modules/es6-system-get.sublime-snippet @@ -2,7 +2,6 @@ - System.get - source.js - ES6 System Get Module + je.sget + je - ES6 System Get Module diff --git a/snippets/js/es6/modules/es6-system-set.sublime-snippet b/snippets/js/es6/modules/es6-system-set.sublime-snippet index 18ebc8f..8520a89 100644 --- a/snippets/js/es6/modules/es6-system-set.sublime-snippet +++ b/snippets/js/es6/modules/es6-system-set.sublime-snippet @@ -1,9 +1,7 @@ - System.set - source.js - ES6 System Set Module + je.sset + je - ES6 System Set Module diff --git a/snippets/js/es6/promises/README.md b/snippets/js/es6/promises/README.md index e8e7671..d8428ca 100644 --- a/snippets/js/es6/promises/README.md +++ b/snippets/js/es6/promises/README.md @@ -1,7 +1,9 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.promise] ES6 Promise ```javascript - +Promise((resolve, reject) => { + $2 +}); ``` diff --git a/snippets/js/es6/promises/es6-promise.sublime-snippet b/snippets/js/es6/promises/es6-promise.sublime-snippet index f2446be..60e0176 100644 --- a/snippets/js/es6/promises/es6-promise.sublime-snippet +++ b/snippets/js/es6/promises/es6-promise.sublime-snippet @@ -4,7 +4,6 @@ Promise((resolve, reject) => { $2 }); ]]> - Promise - source.js - ES6 Promise + je.promise + je - ES6 Promise diff --git a/snippets/js/es6/proxies/README.md b/snippets/js/es6/proxies/README.md index e8e7671..4b72a48 100644 --- a/snippets/js/es6/proxies/README.md +++ b/snippets/js/es6/proxies/README.md @@ -1,7 +1,7 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.proxy] ES6 Proxy ```javascript - +var ${1:p} = new Proxy(${2:target}, ${3:handler}); ``` diff --git a/snippets/js/es6/proxies/es6-proxy.sublime-snippet b/snippets/js/es6/proxies/es6-proxy.sublime-snippet index d88c9a3..407c33a 100644 --- a/snippets/js/es6/proxies/es6-proxy.sublime-snippet +++ b/snippets/js/es6/proxies/es6-proxy.sublime-snippet @@ -2,7 +2,6 @@ - Proxy - source.js - ES6 Proxy + je.proxy + je - ES6 Proxy diff --git a/snippets/js/es6/reflect-api/README.md b/snippets/js/es6/reflect-api/README.md index e8e7671..46fee76 100644 --- a/snippets/js/es6/reflect-api/README.md +++ b/snippets/js/es6/reflect-api/README.md @@ -1,7 +1,85 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.rapply] ES6 Reflect Apply ```javascript +Reflect.apply(${1:target}, ${2:thisArgument}, ${3:argumentsList}); +``` + +### [je.rconstruct] ES6 Reflect Construct + +```javascript +Reflect.construct(${1:target}, ${2:argumentsList}${3:, ${4:newTarget}}); +``` + +### [je.rdproperty] ES6 Reflect Define Property + +```javascript +Reflect.defineProperty(${1:target}, ${2:propertyKey}, ${3:attributes}); +``` + +### [je.rdelproperty] ES6 Reflect Delete Property + +```javascript +Reflect.deleteProperty(${1:target}, ${2:propertyKey}); +``` + +### [je.renumerate] ES6 Reflect Enumerate + +```javascript +Reflect.enumerate(${1:target}); +``` + +### [je.rget] ES6 Reflect Get + +```javascript +Reflect.get(${1:target}, ${2:propertyKey}${3:, ${4:receiver}}); +``` + +### [je.rgopdescriptor] ES6 Reflect Get Property Descriptor + +```javascript +Reflect.getOwnPropertyDescriptor(${1:target}, ${2:propertyKey}); +``` + +### [je.rgprototypeof] ES6 Reflect Get Prototype Of +```javascript +Reflect.getPrototypeOf(${1:target}); +``` + +### [je.rhas] ES6 Reflect Has + +```javascript +Reflect.has(${1:target}, ${propertyKey}); +``` + +### [je.riextensible] ES6 Reflect Is Extensible + +```javascript +Reflect.isExtensible(${1:target}); +``` + +### [je.rokeys] ES6 Reflect Own Keys + +```javascript +Reflect.ownKeys(${1:target}); +``` + +### [je.rpextensions] ES6 Reflect Prevent Extensions + +```javascript +Reflect.preventExtensions(${1:target}); +``` + +### [je.rset] ES6 Reflect Set + +```javascript +Reflect.set(${1:target}, ${2:propertyKey}, ${3:value}${4:, ${5:receiver}}); +``` + +### [je.rsprototypeof] ES6 Reflect Set Prototype Of + +```javascript +Reflect.setPrototypeOf(${1:target}, ${prototype}); ``` diff --git a/snippets/js/es6/reflect-api/es6-reflect-apply.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-apply.sublime-snippet index 29d6742..8b76711 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-apply.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-apply.sublime-snippet @@ -2,7 +2,6 @@ - Reflect:apply - source.js - ES6 Reflect Apply + je.rapply + je - ES6 Reflect Apply diff --git a/snippets/js/es6/reflect-api/es6-reflect-construct.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-construct.sublime-snippet index 20fc911..aaa499b 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-construct.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-construct.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:construct - source.js - ES6 Reflect Construct + je.rconstruct + je - ES6 Reflect Construct diff --git a/snippets/js/es6/reflect-api/es6-reflect-defineProperty.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-defineProperty.sublime-snippet index 71bfe2d..0faac12 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-defineProperty.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-defineProperty.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:defineProperty - source.js - ES6 Reflect Define Property + je.rdproperty + je - ES6 Reflect Define Property diff --git a/snippets/js/es6/reflect-api/es6-reflect-deleteProperty.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-deleteProperty.sublime-snippet index 84aa0a1..d3ba95b 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-deleteProperty.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-deleteProperty.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:deleteProperty - source.js - ES6 Reflect Delete Property + je.rdelproperty + je - ES6 Reflect Delete Property diff --git a/snippets/js/es6/reflect-api/es6-reflect-enumerate.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-enumerate.sublime-snippet index 972829b..692d742 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-enumerate.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-enumerate.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:enumerate - source.js - ES6 Reflect Enumerate + je.renumerate + je - ES6 Reflect Enumerate diff --git a/snippets/js/es6/reflect-api/es6-reflect-get.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-get.sublime-snippet index 03ea315..2c6ffb0 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-get.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-get.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:get - source.js - ES6 Reflect Get + je.rget + je - ES6 Reflect Get diff --git a/snippets/js/es6/reflect-api/es6-reflect-getOwnProperty.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-getOwnProperty.sublime-snippet index 8447c34..5dda007 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-getOwnProperty.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-getOwnProperty.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:getOwnPropertyDescriptor - source.js - ES6 Reflect Get Property Descriptor + je.rgopdescriptor + je - ES6 Reflect Get Property Descriptor diff --git a/snippets/js/es6/reflect-api/es6-reflect-getPrototypeOf.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-getPrototypeOf.sublime-snippet index f1bad16..8e63b63 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-getPrototypeOf.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-getPrototypeOf.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:getPrototypeOf - source.js - ES6 Reflect Get Prototype Of + je.rgprototypeof + je - ES6 Reflect Get Prototype Of diff --git a/snippets/js/es6/reflect-api/es6-reflect-has.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-has.sublime-snippet index dd74821..e8b4fb1 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-has.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-has.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:has - source.js - ES6 Reflect Has + je.rhas + je - ES6 Reflect Has diff --git a/snippets/js/es6/reflect-api/es6-reflect-isExtensible.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-isExtensible.sublime-snippet index a61c578..6f74911 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-isExtensible.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-isExtensible.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:isExtensible - source.js - ES6 Reflect Is Extensible + je.riextensible + je - ES6 Reflect Is Extensible diff --git a/snippets/js/es6/reflect-api/es6-reflect-ownKeys.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-ownKeys.sublime-snippet index d35f381..afe2950 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-ownKeys.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-ownKeys.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:ownKeys - source.js - ES6 Reflect Own Keys + je.rokeys + je - ES6 Reflect Own Keys diff --git a/snippets/js/es6/reflect-api/es6-reflect-preventExtensions.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-preventExtensions.sublime-snippet index 4ee9f39..774f54d 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-preventExtensions.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-preventExtensions.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:preventExtensions - source.js - ES6 Reflect Prevent Extensions + je.rpextensions + je - ES6 Reflect Prevent Extensions diff --git a/snippets/js/es6/reflect-api/es6-reflect-set.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-set.sublime-snippet index 587d5b3..d036eba 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-set.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-set.sublime-snippet @@ -2,7 +2,6 @@ - Reflect:set - source.js - ES6 Reflect Set + je.rset + je - ES6 Reflect Set diff --git a/snippets/js/es6/reflect-api/es6-reflect-setPrototypeOf.sublime-snippet b/snippets/js/es6/reflect-api/es6-reflect-setPrototypeOf.sublime-snippet index fac8047..1af78e9 100644 --- a/snippets/js/es6/reflect-api/es6-reflect-setPrototypeOf.sublime-snippet +++ b/snippets/js/es6/reflect-api/es6-reflect-setPrototypeOf.sublime-snippet @@ -1,8 +1,7 @@ - - Reflect:setPrototypeOf - source.js - ES6 Reflect Set Prototype Of + je.rsprototypeof + je - ES6 Reflect Set Prototype Of diff --git a/snippets/js/es6/template-strings/README.md b/snippets/js/es6/template-strings/README.md index e8e7671..27cf066 100644 --- a/snippets/js/es6/template-strings/README.md +++ b/snippets/js/es6/template-strings/README.md @@ -1,7 +1,7 @@ ## ECMA Script 2015 Snippets -### [je.] parse +### [je.string] ES6 Template String ```javascript - +\$\{${1:var}\}$2 ``` diff --git a/snippets/js/es6/template-strings/es6-template-string.sublime-snippet b/snippets/js/es6/template-strings/es6-template-string.sublime-snippet index cd4580d..02ec71d 100644 --- a/snippets/js/es6/template-strings/es6-template-string.sublime-snippet +++ b/snippets/js/es6/template-strings/es6-template-string.sublime-snippet @@ -2,7 +2,6 @@ - string - source.js - ES6 Template String + je.string + je - ES6 Template String From c1dbbe32a88efd6bdb89eacfe20d42d71defaa6c Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Fri, 29 Jan 2016 07:47:14 -0200 Subject: [PATCH 072/114] update: test with z. --- tests/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.py b/tests/test.py index 8d2ebb9..572201c 100644 --- a/tests/test.py +++ b/tests/test.py @@ -16,7 +16,7 @@ def test_duplicates(self): for snippet in json: trigger = snippet['trigger'] - if re.match(r'^z', trigger) is None: + if re.search(r'z.', trigger) is None: triggers.append(trigger) self.assertEqual(list_duplicates(triggers), []) From 3d747f9ca3783da0fb834aea0f5bc331899c05f2 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Fri, 29 Jan 2016 07:47:48 -0200 Subject: [PATCH 073/114] update: snippets json 2016-01-29 --- snippets.json | 2104 +++++++++++++++++++------------------------------ 1 file changed, 812 insertions(+), 1292 deletions(-) diff --git a/snippets.json b/snippets.json index 3979432..0d2dd2a 100644 --- a/snippets.json +++ b/snippets.json @@ -120,3583 +120,3103 @@ "trigger": "hw.alertdialog" }, { - "description": "ES6 Arrow Function", + "description": "je - ES6 Arrow Function", "id": 25, - "trigger": "arrow" + "trigger": "je.arrow" }, { - "description": "ES6 Class", + "description": "je - ES6 Class", "id": 26, - "trigger": "class" + "trigger": "je.class" }, { - "description": "ES6 Generator", + "description": "je - ES6 Map", "id": 27, - "trigger": "generator" + "trigger": "je.map" }, { - "description": "ES6 For Loop Iterator using Let", + "description": "je - ES6 Set", "id": 28, - "trigger": "let:iterator" + "trigger": "je.set" }, { - "description": "ES6 Let", + "description": "je - ES6 WeakMap", "id": 29, - "trigger": "let" + "trigger": "je.wmap" }, { - "description": "ES6 Map", + "description": "je - ES6 WeakSet", "id": 30, - "trigger": "Map" + "trigger": "je.wset" }, { - "description": "ES6 WeakMap", + "description": "je - ES6 Object Literal", "id": 31, - "trigger": "WeakMap" + "trigger": "je.object" }, { - "description": "ES6 Dynamic Module Import", + "description": "je - ES6 Generators", "id": 32, - "trigger": "System.import" + "trigger": "je.generators" }, { - "description": "ES6 Module Export Function", + "description": "je - ES6 For Loop Iterator using Let", "id": 33, - "trigger": "export:function" + "trigger": "je.leti" }, { - "description": "ES6 Module Export Variable", + "description": "je - ES6 Let", "id": 34, - "trigger": "export:variable" + "trigger": "je.let" }, { - "description": "ES6 Module Import", + "description": "je - Math", "id": 35, - "trigger": "import" + "trigger": "je.z.math" }, { - "description": "ES6 Loader Class", + "description": "je - ES6 Dynamic Module Import", "id": 36, - "trigger": "Loader" + "trigger": "je.simport" }, { - "description": "ES6 System Get Module", + "description": "je - ES6 Module Export Function", "id": 37, - "trigger": "System.get" + "trigger": "je.efunction" }, { - "description": "ES6 System Set Module", + "description": "je - ES6 Module Export Variable", "id": 38, - "trigger": "System.set" + "trigger": "je.evariable" }, { - "description": "ES6 Object Literal", + "description": "je - ES6 Module Import", "id": 39, - "trigger": "object" + "trigger": "je.import" }, { - "description": "ES6 Promise", + "description": "je - ES6 Loader Class", "id": 40, - "trigger": "Promise" + "trigger": "je.loader" }, { - "description": "ES6 Proxy", + "description": "je - ES6 System Get Module", "id": 41, - "trigger": "Proxy" + "trigger": "je.sget" }, { - "description": "ES6 Reflect Apply", + "description": "je - ES6 System Set Module", "id": 42, - "trigger": "Reflect:apply" + "trigger": "je.sset" }, { - "description": "ES6 Reflect Construct", + "description": "je - ES6 Promise", "id": 43, - "trigger": "Reflect:construct" + "trigger": "je.promise" }, { - "description": "ES6 Reflect Define Property", + "description": "je - ES6 Proxy", "id": 44, - "trigger": "Reflect:defineProperty" + "trigger": "je.proxy" }, { - "description": "ES6 Reflect Delete Property", + "description": "je - ES6 Reflect Apply", "id": 45, - "trigger": "Reflect:deleteProperty" + "trigger": "je.rapply" }, { - "description": "ES6 Reflect Enumerate", + "description": "je - ES6 Reflect Construct", "id": 46, - "trigger": "Reflect:enumerate" + "trigger": "je.rconstruct" }, { - "description": "ES6 Reflect Get", + "description": "je - ES6 Reflect Define Property", "id": 47, - "trigger": "Reflect:get" + "trigger": "je.rdproperty" }, { - "description": "ES6 Reflect Get Property Descriptor", + "description": "je - ES6 Reflect Delete Property", "id": 48, - "trigger": "Reflect:getOwnPropertyDescriptor" + "trigger": "je.rdelproperty" }, { - "description": "ES6 Reflect Get Prototype Of", + "description": "je - ES6 Reflect Enumerate", "id": 49, - "trigger": "Reflect:getPrototypeOf" + "trigger": "je.renumerate" }, { - "description": "ES6 Reflect Has", + "description": "je - ES6 Reflect Get", "id": 50, - "trigger": "Reflect:has" + "trigger": "je.rget" }, { - "description": "ES6 Reflect Is Extensible", + "description": "je - ES6 Reflect Get Property Descriptor", "id": 51, - "trigger": "Reflect:isExtensible" + "trigger": "je.rgopdescriptor" }, { - "description": "ES6 Reflect Own Keys", + "description": "je - ES6 Reflect Get Prototype Of", "id": 52, - "trigger": "Reflect:ownKeys" + "trigger": "je.rgprototypeof" }, { - "description": "ES6 Reflect Prevent Extensions", + "description": "je - ES6 Reflect Has", "id": 53, - "trigger": "Reflect:preventExtensions" + "trigger": "je.rhas" }, { - "description": "ES6 Reflect Set", + "description": "je - ES6 Reflect Is Extensible", "id": 54, - "trigger": "Reflect:set" + "trigger": "je.riextensible" }, { - "description": "ES6 Reflect Set Prototype Of", + "description": "je - ES6 Reflect Own Keys", "id": 55, - "trigger": "Reflect:setPrototypeOf" + "trigger": "je.rokeys" }, { - "description": "ES6 Set", + "description": "je - ES6 Reflect Prevent Extensions", "id": 56, - "trigger": "Set" + "trigger": "je.rpextensions" }, { - "description": "ES6 WeakSet", + "description": "je - ES6 Reflect Set", "id": 57, - "trigger": "WeakSet" + "trigger": "je.rset" }, { - "description": "ES6 Template String", + "description": "je - ES6 Reflect Set Prototype Of", "id": 58, - "trigger": "string" + "trigger": "je.rsprototypeof" }, { - "description": "jq - ajax", + "description": "je - ES6 Template String", "id": 59, + "trigger": "je.string" + }, + { + "description": "jq - ajax", + "id": 60, "trigger": "jq.a" }, { "description": "jq - ajaxComplete", - "id": 60, + "id": 61, "trigger": "jq.acomplete" }, { "description": "jq - ajaxError", - "id": 61, + "id": 62, "trigger": "jq.aerror" }, { "description": "jq - getJSON", - "id": 62, + "id": 63, "trigger": "jq.gjson" }, { "description": "jq - getScript", - "id": 63, + "id": 64, "trigger": "jq.gscript" }, { "description": "jq - jQuery get", - "id": 64, + "id": 65, "trigger": "jq.jget" }, { "description": "jq - load", - "id": 65, + "id": 66, "trigger": "jq.load" }, { "description": "jq - post", - "id": 66, + "id": 67, "trigger": "jq.post" }, { "description": "jq - ajaxPrefilter", - "id": 67, + "id": 68, "trigger": "jq.aprefilter" }, { "description": "jq - ajaxSend", - "id": 68, + "id": 69, "trigger": "jq.asend" }, { "description": "jq - ajaxSetup", - "id": 69, + "id": 70, "trigger": "jq.asetup" }, { "description": "jq - ajaxStart", - "id": 70, + "id": 71, "trigger": "jq.astart" }, { "description": "jq - ajaxStop", - "id": 71, + "id": 72, "trigger": "jq.astop" }, { "description": "jq - ajaxSuccess", - "id": 72, + "id": 73, "trigger": "jq.asuccess" }, { "description": "jq - ajaxTransport", - "id": 73, + "id": 74, "trigger": "jq.atransport" }, { "description": "jq - addClass", - "id": 74, + "id": 75, "trigger": "jq.addclass" }, { "description": "jq - attr", - "id": 75, + "id": 76, "trigger": "jq.attr" }, { "description": "jq - hasClass", - "id": 76, + "id": 77, "trigger": "jq.hasclass" }, { "description": "jq - html", - "id": 77, + "id": 78, "trigger": "jq.html" }, { "description": "jq - prop", - "id": 78, + "id": 79, "trigger": "jq.prop" }, { "description": "jq - removeAttr", - "id": 79, + "id": 80, "trigger": "jq.rattr" }, { "description": "jq - removeClass", - "id": 80, + "id": 81, "trigger": "jq.rclass" }, { "description": "jq - removeProp", - "id": 81, + "id": 82, "trigger": "jq.rprop" }, { "description": "jq - toggleClass", - "id": 82, + "id": 83, "trigger": "jq.tclass" }, { "description": "jq - add", - "id": 83, + "id": 84, "trigger": "jq.cbadd" }, { "description": "jq - disable", - "id": 84, + "id": 85, "trigger": "jq.cbdisable" }, { "description": "jq - disabled", - "id": 85, + "id": 86, "trigger": "jq.cbdisabled" }, { "description": "jq - empty", - "id": 86, + "id": 87, "trigger": "jq.cbempty" }, { "description": "jq - fireWith", - "id": 87, + "id": 88, "trigger": "jq.cbfirewith" }, { "description": "jq - fire", - "id": 88, + "id": 89, "trigger": "jq.cbfire" }, { "description": "jq - fired", - "id": 89, + "id": 90, "trigger": "jq.cbfired" }, { "description": "jq - has", - "id": 90, + "id": 91, "trigger": "jq.cbhas" }, { "description": "jq - lock", - "id": 91, + "id": 92, "trigger": "jq.cblock" }, { "description": "jq - locked", - "id": 92, + "id": 93, "trigger": "jq.cblocked" }, { "description": "jq - remove", - "id": 93, + "id": 94, "trigger": "jq.cbremove" }, { "description": "jq - callbacks", - "id": 94, + "id": 95, "trigger": "jq.cb" }, { "description": "jq - holdReady", - "id": 95, + "id": 96, "trigger": "jq.holdready" }, { "description": "jq - jQuery", - "id": 96, + "id": 97, "trigger": "jq.jq" }, { "description": "jq - noConflict", - "id": 97, + "id": 98, "trigger": "jq.noc" }, { "description": "jq - when", - "id": 98, + "id": 99, "trigger": "jq.when" }, { "description": "jq - cssHooks", - "id": 99, + "id": 100, "trigger": "jq.cssh" }, { "description": "jq - cssNumber", - "id": 100, + "id": 101, "trigger": "jq.cssn" }, { "description": "jq - css", - "id": 101, + "id": 102, "trigger": "jq.css" }, { "description": "jq - hasData", - "id": 102, + "id": 103, "trigger": "jq.hasdata" }, { "description": "jq - jQuery data", - "id": 103, + "id": 104, "trigger": "jq.jdata" }, { "description": "jq - jQuery removeData", - "id": 104, + "id": 105, "trigger": "jq.jrdata" }, { "description": "jq - removeData", - "id": 105, + "id": 106, "trigger": "jq.rdata" }, { "description": "jq - data", - "id": 106, + "id": 107, "trigger": "jq.data" }, { "description": "jq - always", - "id": 107, + "id": 108, "trigger": "jq.always" }, { "description": "jq - done", - "id": 108, + "id": 109, "trigger": "jq.done" }, { "description": "jq - fail", - "id": 109, + "id": 110, "trigger": "jq.fail" }, { "description": "jq - notifyWith", - "id": 110, + "id": 111, "trigger": "jq.notifywith" }, { "description": "jq - notify", - "id": 111, + "id": 112, "trigger": "jq.notify" }, { "description": "jq - progress", - "id": 112, + "id": 113, "trigger": "jq.progress" }, { "description": "jq - promise", - "id": 113, + "id": 114, "trigger": "jq.dpromise" }, { "description": "jq - rejectWith", - "id": 114, + "id": 115, "trigger": "jq.rejectwith" }, { "description": "jq - reject", - "id": 115, + "id": 116, "trigger": "jq.reject" }, { "description": "jq - resolveWith", - "id": 116, + "id": 117, "trigger": "jq.resolvewith" }, { "description": "jq - resolve", - "id": 117, + "id": 118, "trigger": "jq.resolve" }, { "description": "jq - state", - "id": 118, + "id": 119, "trigger": "jq.state" }, { "description": "jq - then", - "id": 119, + "id": 120, "trigger": "jq.then" }, { "description": "jq - deferred", - "id": 120, + "id": 121, "trigger": "jq.d" }, { "description": "jq - promise", - "id": 121, + "id": 122, "trigger": "jq.promise" }, { "description": "jq - height", - "id": 122, + "id": 123, "trigger": "jq.height" }, { "description": "jq - innerHeight", - "id": 123, + "id": 124, "trigger": "jq.iheight" }, { "description": "jq - innerWidth", - "id": 124, + "id": 125, "trigger": "jq.iwidth" }, { "description": "jq - outerHeight", - "id": 125, + "id": 126, "trigger": "jq.oheight" }, { "description": "jq - outerWidth", - "id": 126, + "id": 127, "trigger": "jq.owidth" }, { "description": "jq - width", - "id": 127, + "id": 128, "trigger": "jq.width" }, { "description": "jq - animate", - "id": 128, + "id": 129, "trigger": "jq.animate" }, { "description": "jq - clearQueue", - "id": 129, + "id": 130, "trigger": "jq.cqueue" }, { "description": "jq - delay", - "id": 130, + "id": 131, "trigger": "jq.delay" }, { "description": "jq - dequeue", - "id": 131, + "id": 132, "trigger": "jq.dequeue" }, { "description": "jq - fadeIn", - "id": 132, + "id": 133, "trigger": "jq.fadein" }, { "description": "jq - fadeOut", - "id": 133, + "id": 134, "trigger": "jq.fadeout" }, { "description": "jq - fadeToggle", - "id": 134, + "id": 135, "trigger": "jq.fadetoggle" }, { "description": "jq - fadeTo", - "id": 135, + "id": 136, "trigger": "jq.fadeto" }, { "description": "jq - finish", - "id": 136, + "id": 137, "trigger": "jq.finish" }, { "description": "jq - hide", - "id": 137, + "id": 138, "trigger": "jq.hide" }, { "description": "jq - queue", - "id": 138, + "id": 139, "trigger": "jq.queue" }, { "description": "jq - show", - "id": 139, + "id": 140, "trigger": "jq.show" }, { "description": "jq - slideDown", - "id": 140, + "id": 141, "trigger": "jq.sdown" }, { "description": "jq - slideToggle", - "id": 141, + "id": 142, "trigger": "jq.stoggle" }, { "description": "jq - slideUp", - "id": 142, + "id": 143, "trigger": "jq.sup" }, { "description": "jq - stop", - "id": 143, + "id": 144, "trigger": "jq.stop" }, { "description": "jq - toggle", - "id": 144, + "id": 145, "trigger": "jq.toggle" }, { "description": "jq - bind", - "id": 145, + "id": 146, "trigger": "jq.bind" }, { "description": "jq - click", - "id": 146, + "id": 147, "trigger": "jq.click" }, { "description": "jq - contextmenu", - "id": 147, + "id": 148, "trigger": "jq.jqcmenu" }, { "description": "jq - currentTarget", - "id": 148, + "id": 149, "trigger": "jq.ctarget" }, { "description": "jq - Event data", - "id": 149, + "id": 150, "trigger": "jq.edata" }, { "description": "jq - dblclick", - "id": 150, + "id": 151, "trigger": "jq.dclick" }, { "description": "jq - delegateTarget", - "id": 151, + "id": 152, "trigger": "jq.dtarget" }, { "description": "jq - delegate", - "id": 152, + "id": 153, "trigger": "jq.delegate" }, { "description": "jq - hover", - "id": 153, + "id": 154, "trigger": "jq.hover" }, { "description": "jq - isDefaultPrevented", - "id": 154, + "id": 155, "trigger": "jq.idprevented" }, { "description": "jq - isImmediatePropagationStopped", - "id": 155, + "id": 156, "trigger": "jq.iips" }, { "description": "jq - isPropagationStopped", - "id": 156, + "id": 157, "trigger": "jq.ips" }, { "description": "jq - keydown", - "id": 157, + "id": 158, "trigger": "jq.kdown" }, { "description": "jq - keypress", - "id": 158, + "id": 159, "trigger": "jq.kpress" }, { "description": "jq - keyup", - "id": 159, + "id": 160, "trigger": "jq.kup" }, { "description": "jq - metaKey", - "id": 160, + "id": 161, "trigger": "jq.mkey" }, { "description": "jq - mousedown", - "id": 161, + "id": 162, "trigger": "jq.mdown" }, { "description": "jq - mouseenter", - "id": 162, + "id": 163, "trigger": "jq.menter" }, { "description": "jq - mouseleave", - "id": 163, + "id": 164, "trigger": "jq.mleave" }, { "description": "jq - mousemove", - "id": 164, + "id": 165, "trigger": "jq.mmove" }, { "description": "jq - mouseout", - "id": 165, + "id": 166, "trigger": "jq.mout" }, { "description": "jq - mouseover", - "id": 166, + "id": 167, "trigger": "jq.mover" }, { "description": "jq - mouseup", - "id": 167, + "id": 168, "trigger": "jq.mup" }, { "description": "jq - namespace", - "id": 168, + "id": 169, "trigger": "jq.ns" }, { "description": "jq - off", - "id": 169, + "id": 170, "trigger": "jq.off" }, { "description": "jq - on", - "id": 170, + "id": 171, "trigger": "jq.on" }, { "description": "jq - one", - "id": 171, + "id": 172, "trigger": "jq.one" }, { "description": "jq - pageX", - "id": 172, + "id": 173, "trigger": "jq.px" }, { "description": "jq - pageY", - "id": 173, + "id": 174, "trigger": "jq.py" }, { "description": "jq - preventDefault", - "id": 174, + "id": 175, "trigger": "jq.pd" }, { "description": "jq - ready", - "id": 175, + "id": 176, "trigger": "jq.ready" }, { "description": "jq - relatedTarget", - "id": 176, + "id": 177, "trigger": "jq.rtarget" }, { "description": "jq - resize", - "id": 177, + "id": 178, "trigger": "jq.resize" }, { "description": "jq - result", - "id": 178, + "id": 179, "trigger": "jq.result" }, { "description": "jq - scroll", - "id": 179, + "id": 180, "trigger": "jq.scroll" }, { "description": "jq - stopImmediatePropagation", - "id": 180, + "id": 181, "trigger": "jq.sip" }, { "description": "jq - stopPropagation", - "id": 181, + "id": 182, "trigger": "jq.sp" }, { "description": "jq - target", - "id": 182, + "id": 183, "trigger": "jq.target" }, { "description": "jq - timeStamp", - "id": 183, + "id": 184, "trigger": "jq.tstamp" }, { "description": "jq - triggerHandler", - "id": 184, + "id": 185, "trigger": "jq.thandler" }, { "description": "jq - trigger", - "id": 185, + "id": 186, "trigger": "jq.trigger" }, { "description": "jq - type", - "id": 186, + "id": 187, "trigger": "jq.type" }, { "description": "jq - unbind", - "id": 187, + "id": 188, "trigger": "jq.unbind" }, { "description": "jq - undelegate", - "id": 188, + "id": 189, "trigger": "jq.undelegate" }, { "description": "jq - which", - "id": 189, + "id": 190, "trigger": "jq.which" }, { "description": "jq - blur", - "id": 190, + "id": 191, "trigger": "jq.blur" }, { "description": "jq - change", - "id": 191, + "id": 192, "trigger": "jq.change" }, { "description": "jq - focusin", - "id": 192, + "id": 193, "trigger": "jq.focusin" }, { "description": "jq - focusout", - "id": 193, + "id": 194, "trigger": "jq.focusout" }, { "description": "jq - focus", - "id": 194, + "id": 195, "trigger": "jq.focus" }, { "description": "jq - param", - "id": 195, + "id": 196, "trigger": "jq.param" }, { "description": "jq - select", - "id": 196, + "id": 197, "trigger": "jq.select" }, { "description": "jq - serializeArray", - "id": 197, + "id": 198, "trigger": "jq.serarray" }, { "description": "jq - serialize", - "id": 198, + "id": 199, "trigger": "jq.ser" }, { "description": "jq - submit", - "id": 199, + "id": 200, "trigger": "jq.submit" }, { "description": "jq - val", - "id": 200, + "id": 201, "trigger": "jq.val" }, { "description": "jq - error", - "id": 201, + "id": 202, "trigger": "jq.error" }, { "description": "jq - pushStack", - "id": 202, + "id": 203, "trigger": "jq.pstack" }, { "description": "jq - after", - "id": 203, + "id": 204, "trigger": "jq.after" }, { "description": "jq - appendTo", - "id": 204, + "id": 205, "trigger": "jq.appendto" }, { "description": "jq - append", - "id": 205, + "id": 206, "trigger": "jq.append" }, { "description": "jq - before", - "id": 206, + "id": 207, "trigger": "jq.before" }, { "description": "jq - clone", - "id": 207, + "id": 208, "trigger": "jq.clone" }, { "description": "jq - detach", - "id": 208, + "id": 209, "trigger": "jq.detach" }, { "description": "jq - empty", - "id": 209, + "id": 210, "trigger": "jq.empty" }, { "description": "jq - insertAfter", - "id": 210, + "id": 211, "trigger": "jq.iafter" }, { "description": "jq - insertBefore", - "id": 211, + "id": 212, "trigger": "jq.ibefore" }, { "description": "jq - prependTo", - "id": 212, + "id": 213, "trigger": "jq.prependto" }, { "description": "jq - prepend", - "id": 213, + "id": 214, "trigger": "jq.prepend" }, { "description": "jq - remove", - "id": 214, + "id": 215, "trigger": "jq.remove" }, { "description": "jq - replaceAll", - "id": 215, + "id": 216, "trigger": "jq.replaceall" }, { "description": "jq - replaceWith", - "id": 216, + "id": 217, "trigger": "jq.replacewith" }, { "description": "jq - text", - "id": 217, + "id": 218, "trigger": "jq.text" }, { "description": "jq - unwrap", - "id": 218, + "id": 219, "trigger": "jq.unwrap" }, { "description": "jq - wrapAll", - "id": 219, + "id": 220, "trigger": "jq.wall" }, { "description": "jq - wrapInner", - "id": 220, + "id": 221, "trigger": "jq.winner" }, { "description": "jq - wrap", - "id": 221, + "id": 222, "trigger": "jq.wrap" }, { "description": "jq - get", - "id": 222, + "id": 223, "trigger": "jq.get" }, { "description": "jq - index", - "id": 223, + "id": 224, "trigger": "jq.index" }, { "description": "jq - toArray", - "id": 224, + "id": 225, "trigger": "jq.toarray" }, { "description": "jq - offsetParent", - "id": 225, + "id": 226, "trigger": "jq.oparent" }, { "description": "jq - position", - "id": 226, + "id": 227, "trigger": "jq.pos" }, { "description": "jq - scrollLeft", - "id": 227, + "id": 228, "trigger": "jq.scleft" }, { "description": "jq - scrollTop", - "id": 228, + "id": 229, "trigger": "jq.sctop" }, { "description": "jq - offset", - "id": 229, + "id": 230, "trigger": "jq.oset" }, { "description": "jq - fx.interval", - "id": 230, + "id": 231, "trigger": "jq.fxi" }, { "description": "jq - fx.off", - "id": 231, + "id": 232, "trigger": "jq.fxo" }, { "description": "jq - jquery", - "id": 232, + "id": 233, "trigger": "jq.jprop" }, { "description": "jq - length", - "id": 233, + "id": 234, "trigger": "jq.len" }, { "description": "jq - all", - "id": 234, + "id": 235, "trigger": "jq.all" }, { "description": "jq - :animated", - "id": 235, + "id": 236, "trigger": "jq.:a" }, { "description": "jq - Attribute Contains Prefix", - "id": 236, + "id": 237, "trigger": "jq.[]|" }, { "description": "jq - Attribute Contains", - "id": 237, + "id": 238, "trigger": "jq.[]*" }, { "description": "jq - Attribute Contains Word", - "id": 238, + "id": 239, "trigger": "jq.[]~" }, { "description": "jq - Attribute Ends With", - "id": 239, + "id": 240, "trigger": "jq.[]$" }, { "description": "jq - Attribute Equals", - "id": 240, + "id": 241, "trigger": "jq.[]=" }, { "description": "jq - Attribute Not Equal", - "id": 241, + "id": 242, "trigger": "jq.[]!" }, { "description": "jq - Attribute Starts With", - "id": 242, + "id": 243, "trigger": "jq.[]^" }, { "description": "jq - :button", - "id": 243, + "id": 244, "trigger": "jq.:b" }, { "description": "jq - :checkbox", - "id": 244, + "id": 245, "trigger": "jq.:c" }, { "description": "jq - :checked", - "id": 245, + "id": 246, "trigger": "jq.:ch" }, { "description": "jq - :child", - "id": 246, + "id": 247, "trigger": "jq.:chi" }, { "description": "jq - class", - "id": 247, + "id": 248, "trigger": "jq.:cl" }, { "description": "jq - :contains", - "id": 248, + "id": 249, "trigger": "jq.:co" }, { "description": "jq - descendant", - "id": 249, + "id": 250, "trigger": "jq.des" }, { "description": "jq - :disabled", - "id": 250, + "id": 251, "trigger": "jq.:d" }, { "description": "jq - element", - "id": 251, + "id": 252, "trigger": "jq.$" }, { "description": "jq - :empty", - "id": 252, + "id": 253, "trigger": "jq.:e" }, { "description": "jq - :enabled", - "id": 253, + "id": 254, "trigger": "jq.:en" }, { "description": "jq - :eq", - "id": 254, + "id": 255, "trigger": "jq.:eq" }, { "description": "jq - :even", - "id": 255, + "id": 256, "trigger": "jq.:ev" }, { "description": "jq - :file", - "id": 256, + "id": 257, "trigger": "jq.:f" }, { "description": "jq - :first-child", - "id": 257, + "id": 258, "trigger": "jq.:fc" }, { "description": "jq - :first-of-type", - "id": 258, + "id": 259, "trigger": "jq.:ft" }, { "description": "jq - :first", - "id": 259, + "id": 260, "trigger": "jq.:fi" }, { "description": "jq - :focus", - "id": 260, + "id": 261, "trigger": "jq.:fo" }, { "description": "jq - :gt", - "id": 261, + "id": 262, "trigger": "jq.:gt" }, { "description": "jq - Has Attribute", - "id": 262, + "id": 263, "trigger": "jq.[]" }, { "description": "jq - :has", - "id": 263, + "id": 264, "trigger": "jq.:h" }, { "description": "jq - :header", - "id": 264, + "id": 265, "trigger": "jq.:he" }, { "description": "jq - :hidden", - "id": 265, + "id": 266, "trigger": "jq.:hi" }, { "description": "jq - id", - "id": 266, + "id": 267, "trigger": "jq.id" }, { "description": "jq - :image", - "id": 267, + "id": 268, "trigger": "jq.:i" }, { "description": "jq - :input", - "id": 268, + "id": 269, "trigger": "jq.:in" }, { "description": "jq - :lang", - "id": 269, + "id": 270, "trigger": "jq.:l" }, { "description": "jq - :last-child", - "id": 270, + "id": 271, "trigger": "jq.:lc" }, { "description": "jq - :last-of-type", - "id": 271, + "id": 272, "trigger": "jq.:lty" }, { "description": "jq - :last", - "id": 272, + "id": 273, "trigger": "jq.:la" }, { "description": "jq - :lt", - "id": 273, + "id": 274, "trigger": "jq.:lt" }, { "description": "jq - Multiple Attribute", - "id": 274, + "id": 275, "trigger": "jq.[][]" }, { "description": "jq - Multiple", - "id": 275, + "id": 276, "trigger": "jq.," }, { "description": "jq - Next Adjacent", - "id": 276, + "id": 277, "trigger": "jq.+" }, { "description": "jq - Next Siblings", - "id": 277, + "id": 278, "trigger": "jq.snss" }, { "description": "jq - :not", - "id": 278, + "id": 279, "trigger": "jq.:not" }, { "description": "jq - :nth-child", - "id": 279, + "id": 280, "trigger": "jq.:nc" }, { "description": "jq - :nth-last-child", - "id": 280, + "id": 281, "trigger": "jq.:nlc" }, { "description": "jq - :nth-last-of-type", - "id": 281, + "id": 282, "trigger": "jq.:nlt" }, { "description": "jq - :nth-of-type", - "id": 282, + "id": 283, "trigger": "jq.:nt" }, { "description": "jq - :odd", - "id": 283, + "id": 284, "trigger": "jq.:o" }, { "description": "jq - :only-child", - "id": 284, + "id": 285, "trigger": "jq.:oc" }, { "description": "jq - :only-of-type", - "id": 285, + "id": 286, "trigger": "jq.:ot" }, { "description": "jq - :parent", - "id": 286, + "id": 287, "trigger": "jq.:p" }, { "description": "jq - :password", - "id": 287, + "id": 288, "trigger": "jq.:pa" }, { "description": "jq - :radio", - "id": 288, + "id": 289, "trigger": "jq.:r" }, { "description": "jq - :reset", - "id": 289, + "id": 290, "trigger": "jq.:re" }, { "description": "jq - :root", - "id": 290, + "id": 291, "trigger": "jq.:ro" }, { "description": "jq - :selected", - "id": 291, + "id": 292, "trigger": "jq.:s" }, { "description": "jq - :submit", - "id": 292, + "id": 293, "trigger": "jq.:su" }, { "description": "jq - :target", - "id": 293, + "id": 294, "trigger": "jq.:t" }, { "description": "jq - :text", - "id": 294, + "id": 295, "trigger": "jq.:tx" }, { "description": "jq - :visible", - "id": 295, + "id": 296, "trigger": "jq.:v" }, { "description": "jq - addBack", - "id": 296, + "id": 297, "trigger": "jq.addback" }, { "description": "jq - add", - "id": 297, + "id": 298, "trigger": "jq.add" }, { "description": "jq - children", - "id": 298, + "id": 299, "trigger": "jq.children" }, { "description": "jq - closest", - "id": 299, + "id": 300, "trigger": "jq.closest" }, { "description": "jq - contents", - "id": 300, + "id": 301, "trigger": "jq.contents" }, { "description": "jq - each", - "id": 301, + "id": 302, "trigger": "jq.each" }, { "description": "jq - end", - "id": 302, + "id": 303, "trigger": "jq.end" }, { "description": "jq - eq", - "id": 303, + "id": 304, "trigger": "jq.eq" }, { "description": "jq - filter", - "id": 304, + "id": 305, "trigger": "jq.filter" }, { "description": "jq - find", - "id": 305, + "id": 306, "trigger": "jq.find" }, { "description": "jq - first", - "id": 306, + "id": 307, "trigger": "jq.first" }, { "description": "jq - has", - "id": 307, + "id": 308, "trigger": "jq.has" }, { "description": "jq - is", - "id": 308, + "id": 309, "trigger": "jq.is" }, { "description": "jq - last", - "id": 309, + "id": 310, "trigger": "jq.last" }, { "description": "jq - map", - "id": 310, + "id": 311, "trigger": "jq.map" }, { "description": "jq - nextAll", - "id": 311, + "id": 312, "trigger": "jq.nextall" }, { "description": "jq - nextUntil", - "id": 312, + "id": 313, "trigger": "jq.nextuntil" }, { "description": "jq - next", - "id": 313, + "id": 314, "trigger": "jq.next" }, { "description": "jq - not", - "id": 314, + "id": 315, "trigger": "jq.not" }, { "description": "jq - parent", - "id": 315, + "id": 316, "trigger": "jq.parent" }, { "description": "jq - parentsUntil", - "id": 316, + "id": 317, "trigger": "jq.puntil" }, { "description": "jq - parents", - "id": 317, + "id": 318, "trigger": "jq.parents" }, { "description": "jq - prevAll", - "id": 318, + "id": 319, "trigger": "jq.prevall" }, { "description": "jq - prevUntil", - "id": 319, + "id": 320, "trigger": "jq.prevuntil" }, { "description": "jq - prev", - "id": 320, + "id": 321, "trigger": "jq.prev" }, { "description": "jq - siblings", - "id": 321, + "id": 322, "trigger": "jq.ts" }, { "description": "jq - slice", - "id": 322, + "id": 323, "trigger": "jq.tsl" }, { "description": "jq - contains", - "id": 323, + "id": 324, "trigger": "jq.contains" }, { "description": "jq - jQuery each", - "id": 324, + "id": 325, "trigger": "jq.jeach" }, { "description": "jq - extend", - "id": 325, + "id": 326, "trigger": "jq.extend" }, { "description": "jq - fn.extend", - "id": 326, + "id": 327, "trigger": "jq.fnextend" }, { "description": "jq - globalEval", - "id": 327, + "id": 328, "trigger": "jq.geval" }, { "description": "jq - grep", - "id": 328, + "id": 329, "trigger": "jq.grep" }, { "description": "jq - inArray", - "id": 329, + "id": 330, "trigger": "jq.inarray" }, { "description": "jq - isEmptyObject", - "id": 330, + "id": 331, "trigger": "jq.ieobject" }, { "description": "jq - isFunction", - "id": 331, + "id": 332, "trigger": "jq.ifunction" }, { "description": "jq - isNumeric", - "id": 332, + "id": 333, "trigger": "jq.inumeric" }, { "description": "jq - isPlainObject", - "id": 333, + "id": 334, "trigger": "jq.ipobject" }, { "description": "jq - isWindow", - "id": 334, + "id": 335, "trigger": "jq.iwindow" }, { "description": "jq - isXMLDoc", - "id": 335, + "id": 336, "trigger": "jq.ixmldoc" }, { "description": "jq - makeArray", - "id": 336, + "id": 337, "trigger": "jq.marray" }, { "description": "jq - jQuery map", - "id": 337, + "id": 338, "trigger": "jq.jmap" }, { "description": "jq - merge", - "id": 338, + "id": 339, "trigger": "jq.merge" }, { "description": "jq - noop", - "id": 339, + "id": 340, "trigger": "jq.noop" }, { "description": "jq - now", - "id": 340, + "id": 341, "trigger": "jq.now" }, { "description": "jq - parseHTML", - "id": 341, + "id": 342, "trigger": "jq.parseh" }, { "description": "jq - parseJSON", - "id": 342, + "id": 343, "trigger": "jq.parsej" }, { "description": "jq - parseXML", - "id": 343, + "id": 344, "trigger": "jq.parsex" }, { "description": "jq - proxy", - "id": 344, + "id": 345, "trigger": "jq.proxy" }, { "description": "jq - trim", - "id": 345, + "id": 346, "trigger": "jq.trim" }, { "description": "jq - jQuery type", - "id": 346, + "id": 347, "trigger": "jq.jtype" }, { "description": "jq - unique", - "id": 347, + "id": 348, "trigger": "jq.unique" }, { "description": "jq - jQuery Boilerplate", - "id": 348, - "trigger": "jq.b" - }, - { - "description": "ES6 React.Component class", "id": 349, - "trigger": "6rec" + "trigger": "jq.b" }, { - "description": "React createClass template", + "description": "jr - forceUpdate", "id": 350, - "trigger": "rec" + "trigger": "jr.fupdate" }, { - "description": "React mixins", + "description": "jr - isMounted", "id": 351, - "trigger": "mix" + "trigger": "jr.imounted" }, { - "description": "ES6 React componentDidMount", + "description": "jr - replaceProps", "id": 352, - "trigger": "6cd" + "trigger": "jr.rprops" }, { - "description": "ES6 React componentWillMount", + "description": "jr - replaceState", "id": 353, - "trigger": "6cw" + "trigger": "jr.rstate" }, { - "description": "React componentWillUnmount", + "description": "jr - setProps", "id": 354, - "trigger": "6cwu" + "trigger": "jr.sprops" }, { - "description": "React componentDidMount", + "description": "jr - setState", "id": 355, - "trigger": "cd" + "trigger": "jr.setstate" }, { - "description": "React componentWillMount", + "description": "jr - onBlur", "id": 356, - "trigger": "cw" + "trigger": "jr.onbl" }, { - "description": "React componentWillUnmount", + "description": "jr - onChange", "id": 357, - "trigger": "cwu" + "trigger": "jr.onch" }, { - "description": "React unmountComponent at node", + "description": "jr - onClick", "id": 358, - "trigger": "unm" + "trigger": "jr.oncl" }, { - "description": "ES6 React componentDidUpdate", + "description": "jr - onContextMenu", "id": 359, - "trigger": "6cdu" + "trigger": "jr.oncm" }, { - "description": "ES6 React componentWillReceiveProps", + "description": "jr - onCopy", "id": 360, - "trigger": "6cwr" + "trigger": "jr.onco" }, { - "description": "ES6 React componentWillUpdate", + "description": "jr - onCut", "id": 361, - "trigger": "6cwup" + "trigger": "jr.onct" }, { - "description": "ES6 React shouldComponentUpdate", + "description": "jr - onDoubleClick", "id": 362, - "trigger": "6scu" + "trigger": "jr.ondc" }, { - "description": "React componentDidUpdate", + "description": "jr - onDragEnd", "id": 363, - "trigger": "cdu" + "trigger": "jr.onde" }, { - "description": "React componentWillReceiveProps", + "description": "jr - onDragEnter", "id": 364, - "trigger": "cwr" + "trigger": "jr.onden" }, { - "description": "React componentWillUpdate", + "description": "jr - onDragExit", "id": 365, - "trigger": "cwup" + "trigger": "jr.ondex" }, { - "description": "React shouldComponentUpdate", + "description": "jr - onDragLeave", "id": 366, - "trigger": "scu" + "trigger": "jr.ondl" }, { - "description": "React ChildContextTypes", + "description": "jr - onDragOver", "id": 367, - "trigger": "ctt" + "trigger": "jr.ondo" }, { - "description": "React contextTypes", + "description": "jr - onDragStart", "id": 368, - "trigger": "cty" + "trigger": "jr.onds" }, { - "description": "React getChildContext", + "description": "jr - onDrop", "id": 369, - "trigger": "gc" + "trigger": "jr.ondr" }, { - "description": "React withContext", + "description": "jr - onFocus", "id": 370, - "trigger": "rwc" + "trigger": "jr.onfo" }, { - "description": "React.createElement()", + "description": "jr - onInput", "id": 371, - "trigger": "rc" + "trigger": "jr.onin" }, { - "description": "onBlur", + "description": "jr - onKeyDown", "id": 372, - "trigger": "onbl" + "trigger": "jr.onkd" }, { - "description": "onChange", + "description": "jr - onKeyPress", "id": 373, - "trigger": "onch" + "trigger": "jr.onkp" }, { - "description": "onClick", + "description": "jr - onKeyUp", "id": 374, - "trigger": "oncl" + "trigger": "jr.onku" }, { - "description": "onContextMenu", + "description": "jr - onMouseDown", "id": 375, - "trigger": "oncm" + "trigger": "jr.onmd" }, { - "description": "onCopy", + "description": "jr - onMouseEnter", "id": 376, - "trigger": "onco" + "trigger": "jr.onme" }, { - "description": "onCut", + "description": "jr - onMouseLeave", "id": 377, - "trigger": "onct" + "trigger": "jr.onml" }, { - "description": "onDoubleClick", + "description": "jr - onMouseMove", "id": 378, - "trigger": "ondc" + "trigger": "jr.onmm" }, { - "description": "onDragEnd", + "description": "jr - onMouseOut", "id": 379, - "trigger": "onde" + "trigger": "jr.onmo" }, { - "description": "onDragEnter", + "description": "jr - onMouseOver", "id": 380, - "trigger": "onden" + "trigger": "jr.onmov" }, { - "description": "onDragExit", + "description": "jr - onMouseUp", "id": 381, - "trigger": "ondex" + "trigger": "jr.onmu" }, { - "description": "onDragLeave", + "description": "jr - onPaste", "id": 382, - "trigger": "ondl" + "trigger": "jr.onpa" }, { - "description": "onDragOver", + "description": "jr - onScroll", "id": 383, - "trigger": "ondo" + "trigger": "jr.onsc" }, { - "description": "onDragStart", + "description": "jr - onSubmit", "id": 384, - "trigger": "onds" + "trigger": "jr.onsu" }, { - "description": "onDrop", + "description": "jr - onTouchCancel", "id": 385, - "trigger": "ondr" + "trigger": "jr.ontc" }, { - "description": "onFocus", + "description": "jr - onTouchEnd", "id": 386, - "trigger": "onfo" + "trigger": "jr.onte" }, { - "description": "onInput", + "description": "jr - onTouchMove", "id": 387, - "trigger": "onin" + "trigger": "jr.ontm" }, { - "description": "onKeyDown", + "description": "jr - onTouchStart", "id": 388, - "trigger": "onkd" + "trigger": "jr.onts" }, { - "description": "onKeyPress", + "description": "jr - onWheel", "id": 389, - "trigger": "onkp" + "trigger": "jr.onwh" }, { - "description": "onKeyUp", + "description": "jr - componentDidMount", "id": 390, - "trigger": "onku" + "trigger": "jr.cdmount" }, { - "description": "onMouseDown", + "description": "jr - componentDidUpdate", "id": 391, - "trigger": "onmd" + "trigger": "jr.cdupdate" }, { - "description": "onMouseEnter", + "description": "jr - componentWillMount", "id": 392, - "trigger": "onme" + "trigger": "jr.cwmount" }, { - "description": "onMouseLeave", + "description": "jr - componentWillReceiveProps", "id": 393, - "trigger": "onml" + "trigger": "jr.cwrprops" }, { - "description": "onMouseMove", + "description": "jr - componentWillUnmount", "id": 394, - "trigger": "onmm" + "trigger": "jr.cwunmount" }, { - "description": "onMouseOut", + "description": "jr - componentWillUpdate", "id": 395, - "trigger": "onmo" + "trigger": "jr.cwupdate" }, { - "description": "onMouseOver", + "description": "jr - shouldComponentUpdate", "id": 396, - "trigger": "onmov" + "trigger": "jr.scupdate" }, { - "description": "onMouseUp", + "description": "jr - PropTypes.any", "id": 397, - "trigger": "onmu" + "trigger": "jr.ptany" }, { - "description": "onPaste", + "description": "jr - PropTypes.arrayOf", "id": 398, - "trigger": "onpa" + "trigger": "jr.ptarrayof" }, { - "description": "onScroll", + "description": "jr - PropTypes.array", "id": 399, - "trigger": "onsc" + "trigger": "jr.ptarray" }, { - "description": "onSubmit", + "description": "jr - PropTypes.bool", "id": 400, - "trigger": "onsu" + "trigger": "jr.ptbool" }, { - "description": "onTouchCancel", + "description": "jr - PropTypes.element", "id": 401, - "trigger": "ontc" + "trigger": "jr.ptelement" }, { - "description": "onTouchEnd", + "description": "jr - PropTypes.func", "id": 402, - "trigger": "onte" + "trigger": "jr.ptfunc" }, { - "description": "onTouchMove", + "description": "jr - PropTypes.instanceOf", "id": 403, - "trigger": "ontm" + "trigger": "jr.ptiof" }, { - "description": "onTouchStart", + "description": "jr - PropTypes.node", "id": 404, - "trigger": "onts" + "trigger": "jr.ptnode" }, { - "description": "onWheel", + "description": "jr - PropTypes.number", "id": 405, - "trigger": "onwh" + "trigger": "jr.ptnumber" }, { - "description": "React getDefaultProps", + "description": "jr - PropTypes.objectOf", "id": 406, - "trigger": "gd" + "trigger": "jr.ptobjectof" }, { - "description": "React.findDOMNode", + "description": "jr - PropTypes.object", "id": 407, - "trigger": "fdn" + "trigger": "jr.ptobject" }, { - "description": "React getInitialState", + "description": "jr - PropTypes.oneOfType", "id": 408, - "trigger": "gi" + "trigger": "jr.ptootype" }, { - "description": "React JSX", + "description": "jr - PropTypes.oneOf", "id": 409, - "trigger": "jsx" + "trigger": "jr.ptoneof" }, { - "description": "React JSX script src", + "description": "jr - PropTypes.shape", "id": 410, - "trigger": "jsx:src" + "trigger": "jr.ptshape" }, { - "description": "React JSX script type", + "description": "jr - PropTypes.string", "id": 411, - "trigger": "jsxt" + "trigger": "jr.ptstring" }, { - "description": "propTypes", + "description": "jr - findDOMNode", "id": 412, - "trigger": "pt" + "trigger": "jr.fdnode" }, { - "description": "React.PropTypes", + "description": "jr - renderStaticMarkup", "id": 413, - "trigger": "rp" + "trigger": "jr.rsmarkup" }, { - "description": "React.PropTypes.array", + "description": "jr - renderToString", "id": 414, - "trigger": "rpa" + "trigger": "jr.rtstring" }, { - "description": "React.PropTypes.arrayOf", + "description": "jr - render", "id": 415, - "trigger": "rpao" + "trigger": "jr.render" }, { - "description": "React.PropTypes.boolean", + "description": "jr - unmountComponentAtNode", "id": 416, - "trigger": "rpb" + "trigger": "jr.ucanode" }, { - "description": "React.PropTypes.element", + "description": "jr - displayName", "id": 417, - "trigger": "rpe" + "trigger": "jr.dname" }, { - "description": "React.PropTypes.func", + "description": "jr - getDefaultProps", "id": 418, - "trigger": "rpf" + "trigger": "jr.gdprops" }, { - "description": "React.PropTypes.instanceOf", + "description": "jr - getInitialState", "id": 419, - "trigger": "rpi" + "trigger": "jr.gistate" }, { - "description": "React.PropTypes.number", + "description": "jr - mixins", "id": 420, - "trigger": "rpn" + "trigger": "jr.mixins" }, { - "description": "React.PropTypes.object", + "description": "jr - propTypes", "id": 421, - "trigger": "rpobj" + "trigger": "jr.ptypes" }, { - "description": "React.PropTypes.oneOf", + "description": "jr - render", "id": 422, - "trigger": "rpo" + "trigger": "jr.srender" }, { - "description": "React.PropTypes.oneOfType", + "description": "jr - statics", "id": 423, - "trigger": "rpot" + "trigger": "jr.statics" }, { - "description": "React.PropTypes.shape", + "description": "jr - findAllInRenderedTree", "id": 424, - "trigger": "rpsh" + "trigger": "jr.z.testutils" }, { - "description": "React.PropTypes.string", + "description": "jr - findRenderedComponentWithType", "id": 425, - "trigger": "rps" + "trigger": "jr.z.testutils" }, { - "description": "React.addons.classSet", + "description": "jr - findRenderedDOMComponentWithClass", "id": 426, - "trigger": "raCS" + "trigger": "jr.z.testutils" }, { - "description": "React.addons.cloneWithProps", + "description": "jr - findRenderedDOMComponentWithTag", "id": 427, - "trigger": "rclone" + "trigger": "jr.z.testutils" }, { - "description": "React.addons.CSSTransitionGroup", + "description": "jr - isCompositeComponentWithType", "id": 428, - "trigger": "raCSS" + "trigger": "jr.z.testutils" }, { - "description": "React.addons.LinkedStateMixin", + "description": "jr - isCompositeComponent", "id": 429, - "trigger": "raL" + "trigger": "jr.z.testutils" }, { - "description": "this.linkState", + "description": "jr - isDOMComponent", "id": 430, - "trigger": "thisl" + "trigger": "jr.z.testutils" }, { - "description": "valueLink", + "description": "jr - isElementOfType", "id": 431, - "trigger": "vl" + "trigger": "jr.z.testutils" }, { - "description": "React.addons.CSSTransitionGroup.transitionName", + "description": "jr - isElement", "id": 432, - "trigger": "tn" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.a", + "description": "jr - mockComponent", "id": 433, - "trigger": "Ra" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.abbr", + "description": "jr - renderIntoDocument", "id": 434, - "trigger": "Rabbr" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.address", + "description": "jr - scryRenderedComponentsWithType", "id": 435, - "trigger": "Raddress" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.area", + "description": "jr - scryRenderedDOMComponentsWithClass", "id": 436, - "trigger": "Rarea" + "trigger": "jr.tsrdcwclass" }, { - "description": "React.DOM.article", + "description": "jr - scryRenderedDOMComponentsWithTag", "id": 437, - "trigger": "Rarticle" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.aside", + "description": "jr - Shallow rendering (basics)", "id": 438, - "trigger": "Raside" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.audio", + "description": "jr - Shallow rendering (child-count)", "id": 439, - "trigger": "Raudio" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.b", + "description": "jr - Shallow rendering (child-equality)", "id": 440, - "trigger": "Rb" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.base", + "description": "jr - Shallow rendering (events)", "id": 441, - "trigger": "Rbase" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.bdi", + "description": "jr - Shallow rendering (props)", "id": 442, - "trigger": "Rbdi" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.bdo", + "description": "jr - Shallow rendering (state changes)", "id": 443, - "trigger": "Rbdo" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.big", + "description": "jr - Shallow rendering (type)", "id": 444, - "trigger": "Rbig" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.blockquote", + "description": "jr - Simulate (basic)", "id": 445, - "trigger": "Rblockquote" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.body", + "description": "jr - Simulate (with data)", "id": 446, - "trigger": "Rbody" + "trigger": "jr.z.testutils" }, { - "description": "React.DOM.br", + "description": "jr - children.count", "id": 447, - "trigger": "Rbr" + "trigger": "jr.chcount" }, { - "description": "React.DOM.button", + "description": "jr - children.forEach", "id": 448, - "trigger": "Rbutton" + "trigger": "jr.chfeach" }, { - "description": "React.DOM.canvas", + "description": "jr - children.map", "id": 449, - "trigger": "Rcanvas" + "trigger": "jr.chmap" }, { - "description": "React.DOM.caption", + "description": "jr - cloneElement", "id": 450, - "trigger": "Rcaption" + "trigger": "jr.clelement" }, { - "description": "React.DOM.circle", + "description": "jr - component", "id": 451, - "trigger": "Rcircle" + "trigger": "jr.component" }, { - "description": "React.DOM.cite", + "description": "jr - createClass", "id": 452, - "trigger": "Rcite" + "trigger": "jr.cclass" }, { - "description": "React.DOM.code", + "description": "jr - createElement", "id": 453, - "trigger": "Rcode" + "trigger": "jr.celement" }, { - "description": "React.DOM.col", + "description": "jr - createFactory", "id": 454, - "trigger": "Rcol" + "trigger": "jr.cfactory" }, { - "description": "React.DOM.colgroup", + "description": "jr - isValidElement", "id": 455, - "trigger": "Rcolgroup" - }, - { - "description": "React.DOM.data", - "id": 456, - "trigger": "Rdata" - }, - { - "description": "React.DOM.datalist", - "id": 457, - "trigger": "Rdatalist" - }, - { - "description": "React.DOM.dd", - "id": 458, - "trigger": "Rdd" - }, - { - "description": "React.DOM.defs", - "id": 459, - "trigger": "Rdefs" - }, - { - "description": "React.DOM.del", - "id": 460, - "trigger": "Rdel" - }, - { - "description": "React.DOM.details", - "id": 461, - "trigger": "Rdetails" - }, - { - "description": "React.DOM.dfn", - "id": 462, - "trigger": "Rdfn" - }, - { - "description": "React.DOM.div", - "id": 463, - "trigger": "Rdiv" - }, - { - "description": "React.DOM.dl", - "id": 464, - "trigger": "Rdl" - }, - { - "description": "React.DOM.dt", - "id": 465, - "trigger": "Rdt" - }, - { - "description": "React.DOM.em", - "id": 466, - "trigger": "Rem" - }, - { - "description": "React.DOM.embed", - "id": 467, - "trigger": "Rembed" - }, - { - "description": "React.DOM.fieldset", - "id": 468, - "trigger": "Rfieldset" - }, - { - "description": "React.DOM.figcaption", - "id": 469, - "trigger": "Rfigcaption" - }, - { - "description": "React.DOM.figure", - "id": 470, - "trigger": "Rfigure" - }, - { - "description": "React.DOM.footer", - "id": 471, - "trigger": "Rfooter" - }, - { - "description": "React.DOM.form", - "id": 472, - "trigger": "Rform" - }, - { - "description": "React.DOM.g", - "id": 473, - "trigger": "Rg" - }, - { - "description": "React.DOM.h1", - "id": 474, - "trigger": "Rh1" - }, - { - "description": "React.DOM.h2", - "id": 475, - "trigger": "Rh2" - }, - { - "description": "React.DOM.h3", - "id": 476, - "trigger": "Rh3" - }, - { - "description": "React.DOM.h4", - "id": 477, - "trigger": "Rh4" - }, - { - "description": "React.DOM.h5", - "id": 478, - "trigger": "Rh5" - }, - { - "description": "React.DOM.h6", - "id": 479, - "trigger": "Rh6" - }, - { - "description": "React.DOM.head", - "id": 480, - "trigger": "Rhead" - }, - { - "description": "React.DOM.header", - "id": 481, - "trigger": "Rheader" - }, - { - "description": "React.DOM.hr", - "id": 482, - "trigger": "Rhr" - }, - { - "description": "React.DOM.html", - "id": 483, - "trigger": "Rhtml" - }, - { - "description": "React.DOM.i", - "id": 484, - "trigger": "Ri" - }, - { - "description": "React.DOM.iframe", - "id": 485, - "trigger": "Riframe" - }, - { - "description": "React.DOM.img", - "id": 486, - "trigger": "Rimg" - }, - { - "description": "React.DOM.input", - "id": 487, - "trigger": "Rinput" - }, - { - "description": "React.DOM.ins", - "id": 488, - "trigger": "Rins" - }, - { - "description": "React.DOM.kbd", - "id": 489, - "trigger": "Rkbd" - }, - { - "description": "React.DOM.keygen", - "id": 490, - "trigger": "Rkeygen" - }, - { - "description": "React.DOM.label", - "id": 491, - "trigger": "Rlabel" - }, - { - "description": "React.DOM.legend", - "id": 492, - "trigger": "Rlegend" - }, - { - "description": "React.DOM.li", - "id": 493, - "trigger": "Rli" - }, - { - "description": "React.DOM.line", - "id": 494, - "trigger": "Rline" - }, - { - "description": "React.DOM.linearGradient", - "id": 495, - "trigger": "RlinearGradient" - }, - { - "description": "React.DOM.link", - "id": 496, - "trigger": "Rlink" - }, - { - "description": "React.DOM.main", - "id": 497, - "trigger": "Rmain" - }, - { - "description": "React.DOM.map", - "id": 498, - "trigger": "Rmap" - }, - { - "description": "React.DOM.mark", - "id": 499, - "trigger": "Rmark" - }, - { - "description": "React.DOM.menu", - "id": 500, - "trigger": "Rmenu" - }, - { - "description": "React.DOM.menuitem", - "id": 501, - "trigger": "Rmenuitem" - }, - { - "description": "React.DOM.meta", - "id": 502, - "trigger": "Rmeta" - }, - { - "description": "React.DOM.meter", - "id": 503, - "trigger": "Rmeter" - }, - { - "description": "React.DOM.nav", - "id": 504, - "trigger": "Rnav" - }, - { - "description": "React.DOM.noscript", - "id": 505, - "trigger": "Rnoscript" - }, - { - "description": "React.DOM.object", - "id": 506, - "trigger": "Robject" - }, - { - "description": "React.DOM.ol", - "id": 507, - "trigger": "Rol" - }, - { - "description": "React.DOM.optgroup", - "id": 508, - "trigger": "Roptgroup" - }, - { - "description": "React.DOM.option", - "id": 509, - "trigger": "Roption" - }, - { - "description": "React.DOM.output", - "id": 510, - "trigger": "Routput" - }, - { - "description": "React.DOM.p", - "id": 511, - "trigger": "Rp" - }, - { - "description": "React.DOM.param", - "id": 512, - "trigger": "Rparam" - }, - { - "description": "React.DOM.path", - "id": 513, - "trigger": "Rpath" - }, - { - "description": "React.DOM.polygon", - "id": 514, - "trigger": "Rpolygon" - }, - { - "description": "React.DOM.polyline", - "id": 515, - "trigger": "Rpolyline" - }, - { - "description": "React.DOM.pre", - "id": 516, - "trigger": "Rpre" - }, - { - "description": "React.DOM.progress", - "id": 517, - "trigger": "Rprogress" - }, - { - "description": "React.DOM.q", - "id": 518, - "trigger": "Rq" - }, - { - "description": "React.DOM.radialGradient", - "id": 519, - "trigger": "RradialGradient" - }, - { - "description": "React.DOM.rect", - "id": 520, - "trigger": "Rrect" - }, - { - "description": "React.DOM.rp", - "id": 521, - "trigger": "Rrp" - }, - { - "description": "React.DOM.rt", - "id": 522, - "trigger": "Rrt" - }, - { - "description": "React.DOM.ruby", - "id": 523, - "trigger": "Rruby" - }, - { - "description": "React.DOM.s", - "id": 524, - "trigger": "Rs" - }, - { - "description": "React.DOM.samp", - "id": 525, - "trigger": "Rsamp" - }, - { - "description": "React.DOM.script", - "id": 526, - "trigger": "Rscript" - }, - { - "description": "React.DOM.section", - "id": 527, - "trigger": "Rsection" - }, - { - "description": "React.DOM.select", - "id": 528, - "trigger": "Rselect" - }, - { - "description": "React.DOM.small", - "id": 529, - "trigger": "Rsmall" - }, - { - "description": "React.DOM.source", - "id": 530, - "trigger": "Rsource" - }, - { - "description": "React.DOM.span", - "id": 531, - "trigger": "Rspan" - }, - { - "description": "React.DOM.stop", - "id": 532, - "trigger": "Rstop" - }, - { - "description": "React.DOM.strong", - "id": 533, - "trigger": "Rstrong" - }, - { - "description": "React.DOM.style", - "id": 534, - "trigger": "Rstyle" - }, - { - "description": "React.DOM.sub", - "id": 535, - "trigger": "Rsub" - }, - { - "description": "React.DOM.summary", - "id": 536, - "trigger": "Rsummary" - }, - { - "description": "React.DOM.sup", - "id": 537, - "trigger": "Rsup" - }, - { - "description": "React.DOM.svg", - "id": 538, - "trigger": "Rsvg" - }, - { - "description": "React.DOM.table", - "id": 539, - "trigger": "Rtable" - }, - { - "description": "React.DOM.tbody", - "id": 540, - "trigger": "Rtbody" - }, - { - "description": "React.DOM.td", - "id": 541, - "trigger": "Rtd" - }, - { - "description": "React.DOM.text", - "id": 542, - "trigger": "Rtext" - }, - { - "description": "React.DOM.textarea", - "id": 543, - "trigger": "Rtextarea" - }, - { - "description": "React.DOM.tfoot", - "id": 544, - "trigger": "Rtfoot" - }, - { - "description": "React.DOM.th", - "id": 545, - "trigger": "Rth" - }, - { - "description": "React.DOM.thead", - "id": 546, - "trigger": "Rthead" - }, - { - "description": "React.DOM.time", - "id": 547, - "trigger": "Rtime" - }, - { - "description": "React.DOM.title", - "id": 548, - "trigger": "Rtitle" - }, - { - "description": "React.DOM.tr", - "id": 549, - "trigger": "Rtr" - }, - { - "description": "React.DOM.track", - "id": 550, - "trigger": "Rtrack" - }, - { - "description": "React.DOM.u", - "id": 551, - "trigger": "Ru" - }, - { - "description": "React.DOM.ul", - "id": 552, - "trigger": "Rul" - }, - { - "description": "React.DOM.video", - "id": 553, - "trigger": "Rvideo" - }, - { - "description": "React.DOM.wbr", - "id": 554, - "trigger": "Rwbr" - }, - { - "description": "React.render", - "id": 555, - "trigger": "ren" - }, - { - "description": "React render with React.DOM", - "id": 556, - "trigger": "rren" - }, - { - "description": "React this.setProps", - "id": 557, - "trigger": "sp" - }, - { - "description": "React this.setState", - "id": 558, - "trigger": "ss" - }, - { - "description": "React this.context", - "id": 559, - "trigger": "thisc" - }, - { - "description": "React this.props", - "id": 560, - "trigger": "thisp" - }, - { - "description": "React this.refs", - "id": 561, - "trigger": "thisr" - }, - { - "description": "React this.state", - "id": 562, - "trigger": "thiss" - }, - { - "description": "React this.transferPropsTo", - "id": 563, - "trigger": "thistr" + "trigger": "jr.ivelement" }, { "description": "jdp - Command", - "id": 564, + "id": 456, "trigger": "jdp.command" }, { "description": "jdp - Constructor", - "id": 565, + "id": 457, "trigger": "jdp.constructor" }, { "description": "jdp - Decorator", - "id": 566, + "id": 458, "trigger": "jdp.decorator" }, { "description": "jdp - Facade", - "id": 567, + "id": 459, "trigger": "jdp.facade" }, { "description": "jdp - Factory", - "id": 568, + "id": 460, "trigger": "jdp.factory" }, { "description": "jdp - Flyweight", - "id": 569, + "id": 461, "trigger": "jdp.flyweight" }, { "description": "jdp - Mediator", - "id": 570, + "id": 462, "trigger": "jdp.mediator" }, { "description": "jdp - Mixin", - "id": 571, + "id": 463, "trigger": "jdp.mixin" }, { "description": "jdp - Module", - "id": 572, + "id": 464, "trigger": "jdp.module" }, { "description": "jdp - Observer", - "id": 573, + "id": 465, "trigger": "jdp.observer" }, { "description": "jdp - Prototype", - "id": 574, + "id": 466, "trigger": "jdp.prototype" }, { "description": "jdp - Revealing Module", - "id": 575, + "id": 467, "trigger": "jdp.rmodule" }, { "description": "jdp - Singleton", - "id": 576, + "id": 468, "trigger": "jdp.singleton" }, { "description": "jumd - AMD Web Global", - "id": 577, + "id": 469, "trigger": "jumd.awg" }, { "description": "jumd - AMD Web", - "id": 578, + "id": 470, "trigger": "jumd.aw" }, { "description": "jumd - CommonJS Adapter", - "id": 579, + "id": 471, "trigger": "jumd.ca" }, { "description": "jumd - CommonJS Strict Global", - "id": 580, + "id": 472, "trigger": "jumd.csg" }, { "description": "jumd - CommonJS Strict", - "id": 581, + "id": 473, "trigger": "jumd.cs" }, { "description": "jumd - jQuery plugin", - "id": 582, + "id": 474, "trigger": "jumd.jp" }, { "description": "jumd - Node Adapter", - "id": 583, + "id": 475, "trigger": "jumd.na" }, { "description": "jumd - Return Exports Global", - "id": 584, + "id": 476, "trigger": "jumd.reg" }, { "description": "jumd - Return Exports", - "id": 585, + "id": 477, "trigger": "jumd.re" }, { "description": "tc - Expect to.be.a", - "id": 586, + "id": 478, "trigger": "tc.e.tba" }, { "description": "tc - Expect to.equal", - "id": 587, + "id": 479, "trigger": "tc.e.te" }, { "description": "tc - Expect to.have.length", - "id": 588, + "id": 480, "trigger": "tc.e.thl" }, { "description": "tc - Expect to.have.property", - "id": 589, + "id": 481, "trigger": "tc.e.thp" }, { "description": "tc - Should be.a", - "id": 590, + "id": 482, "trigger": "tc.s.ba" }, { "description": "tc - Should equal", - "id": 591, + "id": 483, "trigger": "tc.s.e" }, { "description": "tc - Should have.length", - "id": 592, + "id": 484, "trigger": "tc.s.hl" }, { "description": "tc - Should have.property", - "id": 593, + "id": 485, "trigger": "tc.s.hp" }, { "description": "tc - Assert equal", - "id": 594, + "id": 486, "trigger": "tc.a.e" }, { "description": "tc - Assert lengthOf", - "id": 595, + "id": 487, "trigger": "tc.a.lo" }, { "description": "tc - Assert typeOf", - "id": 596, + "id": 488, "trigger": "tc.a.to" }, { "description": "t - afterEach", - "id": 597, + "id": 489, "trigger": "t.aftereach" }, { "description": "t - after", - "id": 598, + "id": 490, "trigger": "t.after" }, { "description": "t - beforeEach", - "id": 599, + "id": 491, "trigger": "t.beforeeach" }, { "description": "t - before", - "id": 600, + "id": 492, "trigger": "t.before" }, { "description": "t - describe", - "id": 601, + "id": 493, "trigger": "t.describe" }, { "description": "t - it", - "id": 602, + "id": 494, "trigger": "t.it" }, { "description": "tj - Expect toBeCloseTo", - "id": 603, + "id": 495, "trigger": "tj.closeto" }, { "description": "tj - Expect toBeContain", - "id": 604, + "id": 496, "trigger": "tj.contain" }, { "description": "tj - Expect toBeDefined", - "id": 605, + "id": 497, "trigger": "tj.defined" }, { "description": "tj - Expect toBeFalsy", - "id": 606, + "id": 498, "trigger": "tj.falsy" }, { "description": "tj - Expect toBeGreaterThan", - "id": 607, + "id": 499, "trigger": "tj.greaterthan" }, { "description": "tj - Expect toBeLessThan", - "id": 608, + "id": 500, "trigger": "tj.lessthan" }, { "description": "tj - Expect toBeNaN", - "id": 609, + "id": 501, "trigger": "tj.nan" }, { "description": "tj - Expect toBeNull", - "id": 610, + "id": 502, "trigger": "tj.null" }, { "description": "tj - Expect toBeTruthy", - "id": 611, + "id": 503, "trigger": "tj.truthy" }, { "description": "tj - Expect toBeUndefined", - "id": 612, + "id": 504, "trigger": "tj.undefined" }, { "description": "tj - Expect toBe", - "id": 613, + "id": 505, "trigger": "tj.tobe" }, { "description": "tj - Expect toEqual", - "id": 614, + "id": 506, "trigger": "tj.equal" }, { "description": "tj - Expect toHaveBeenCalledTimes", - "id": 615, + "id": 507, "trigger": "tj.hbctimes" }, { "description": "tj - Expect toHaveBeenCalledWith", - "id": 616, + "id": 508, "trigger": "tj.hbcwith" }, { "description": "tj - Expect toHaveBeenCalled", - "id": 617, + "id": 509, "trigger": "tj.hbc" }, { "description": "tj - Expect toMatch", - "id": 618, + "id": 510, "trigger": "tj.match" }, { "description": "tj - Expect toThrowError", - "id": 619, + "id": 511, "trigger": "tj.throwerror" }, { "description": "tj - Expect toThrow", - "id": 620, + "id": 512, "trigger": "tj.throw" }, + { + "description": "tm - config", + "id": 513, + "trigger": "tm.config" + }, + { + "description": "tm - globals", + "id": 514, + "trigger": "tm.globals" + }, + { + "description": "tm - grep", + "id": 515, + "trigger": "tm.grep" + }, + { + "description": "tm - growl", + "id": 516, + "trigger": "tm.growl" + }, + { + "description": "tm - ignoreLeaks", + "id": 517, + "trigger": "tm.ileaks" + }, + { + "description": "tm - invert", + "id": 518, + "trigger": "tm.invert" + }, + { + "description": "tm - reporter", + "id": 519, + "trigger": "tm.reporter" + }, + { + "description": "tm - run", + "id": 520, + "trigger": "tm.run" + }, + { + "description": "tm - setup", + "id": 521, + "trigger": "tm.setup" + }, + { + "description": "tm - ui", + "id": 522, + "trigger": "tm.ui" + }, { "description": "tn - Assert deepEqual", - "id": 621, + "id": 523, "trigger": "tn.dequal" }, { "description": "tn - Assert deepStrictEqual", - "id": 622, + "id": 524, "trigger": "tn.dsequal" }, { "description": "tn - Assert doesNotThrow", - "id": 623, + "id": 525, "trigger": "tn.dnthrow" }, { "description": "tn - Assert equal", - "id": 624, + "id": 526, "trigger": "tn.equal" }, { "description": "tn - Assert fail", - "id": 625, + "id": 527, "trigger": "tn.fail" }, { "description": "tn - Assert ifError", - "id": 626, + "id": 528, "trigger": "tn.iferror" }, { "description": "tn - Assert notDeepEqual", - "id": 627, + "id": 529, "trigger": "tn.ndequal" }, { "description": "tn - Assert notDeepStrictEqual", - "id": 628, + "id": 530, "trigger": "tn.ndsequal" }, { "description": "tn - Assert notEqual", - "id": 629, + "id": 531, "trigger": "tn.nequal" }, { "description": "tn - Assert notStrictEqual", - "id": 630, + "id": 532, "trigger": "tn.nsequal" }, { "description": "tn - Assert ok", - "id": 631, + "id": 533, "trigger": "tn.ok" }, { "description": "tn - Assert strictEqual", - "id": 632, + "id": 534, "trigger": "tn.sequal" }, { "description": "tn - Assert throws", - "id": 633, + "id": 535, "trigger": "tn.throws" }, { "description": "tn - Assert", - "id": 634, + "id": 536, "trigger": "tn.a" }, { "description": "tq - Assert async", - "id": 635, + "id": 537, "trigger": "tq.async" }, { "description": "tq - Assert deepEqual", - "id": 636, + "id": 538, "trigger": "tq.dequal" }, { "description": "tq - Assert equal", - "id": 637, + "id": 539, "trigger": "tq.equal" }, { "description": "tq - notDeepEqual", - "id": 638, + "id": 540, "trigger": "tq.ndequal" }, { "description": "tq - notEqual", - "id": 639, + "id": 541, "trigger": "tq.nequal" }, { "description": "tq - notOk", - "id": 640, + "id": 542, "trigger": "tq.nok" }, { "description": "tq - notPropEqual", - "id": 641, + "id": 543, "trigger": "tq.npequal" }, { "description": "tq - notStrictEqual", - "id": 642, + "id": 544, "trigger": "tq.nsequal" }, { "description": "tq - ok", - "id": 643, + "id": 545, "trigger": "tq.ok" }, { "description": "tq - propEqual", - "id": 644, + "id": 546, "trigger": "tq.pequal" }, { "description": "tq - strictEqual", - "id": 645, + "id": 547, "trigger": "tq.sequal" }, { "description": "tq - throws", - "id": 646, + "id": 548, "trigger": "tq.throws" }, { "description": "tq - QUnit.begin", - "id": 647, + "id": 549, "trigger": "tq.begin" }, { "description": "tq - QUnit.config", - "id": 648, + "id": 550, "trigger": "tq.config" }, { "description": "tq - QUnit.done", - "id": 649, + "id": 551, "trigger": "tq.done" }, { "description": "tq - QUnit.dump.parse", - "id": 650, + "id": 552, "trigger": "tq.dparse" }, { "description": "tq - Expect", - "id": 651, + "id": 553, "trigger": "tq.expect" }, { "description": "tq - QUnit.extend", - "id": 652, + "id": 554, "trigger": "tq.extend" }, { "description": "tq - QUnit.log", - "id": 653, + "id": 555, "trigger": "tq.log" }, { "description": "tq - QUnit.moduleDone", - "id": 654, + "id": 556, "trigger": "tq.mdone" }, { "description": "tq - QUnit.moduleStart", - "id": 655, + "id": 557, "trigger": "tq.mstart" }, { "description": "tq - QUnit.module", - "id": 656, + "id": 558, "trigger": "tq.module" }, { "description": "tq - QUnit.only", - "id": 657, + "id": 559, "trigger": "tq.only" }, { "description": "tq - push", - "id": 658, + "id": 560, "trigger": "tq.push" }, { "description": "tq - QUnit.skip", - "id": 659, + "id": 561, "trigger": "tq.skip" }, { "description": "tq - QUnit.stack", - "id": 660, + "id": 562, "trigger": "tq.stack" }, { "description": "tq - QUnit.testDone", - "id": 661, + "id": 563, "trigger": "tq.tdone" }, { "description": "tq - QUnit.testStart", - "id": 662, + "id": 564, "trigger": "tq.tstart" }, { "description": "tq - Test", - "id": 663, + "id": 565, "trigger": "tq.test" }, { "description": "ts - Assert alwaysCalledOn", - "id": 664, + "id": 566, "trigger": "ts.acon" }, { "description": "ts - Assert alwaysCalledWithExactly", - "id": 665, + "id": 567, "trigger": "ts.acalledwe" }, { "description": "ts - Assert alwaysCalledWithMatch", - "id": 666, + "id": 568, "trigger": "ts.acalledwm" }, { "description": "ts - Assert alwaysCalledWith", - "id": 667, + "id": 569, "trigger": "ts.acalledw" }, { "description": "ts - Assert alwaysThrew", - "id": 668, + "id": 570, "trigger": "ts.athrew" }, { "description": "ts - Assert callCount", - "id": 669, + "id": 571, "trigger": "ts.ccount" }, { "description": "ts - Assert callOrder", - "id": 670, + "id": 572, "trigger": "ts.corder" }, { "description": "ts - Assert calledOn", - "id": 671, + "id": 573, "trigger": "ts.con" }, { "description": "ts - Assert calledOnce", - "id": 672, + "id": 574, "trigger": "ts.calledo" }, { "description": "ts - Assert calledThrice", - "id": 673, + "id": 575, "trigger": "ts.calledth" }, { "description": "ts - Assert calledTwice", - "id": 674, + "id": 576, "trigger": "ts.calledt" }, { "description": "ts - Assert calledWithExactly", - "id": 675, + "id": 577, "trigger": "ts.calledwe" }, { "description": "ts - Assert calledWithMatch", - "id": 676, + "id": 578, "trigger": "ts.calledwm" }, { "description": "ts - Assert calledWith", - "id": 677, + "id": 579, "trigger": "ts.calledw" }, { "description": "ts - Assert called", - "id": 678, + "id": 580, "trigger": "ts.called" }, { "description": "ts - Assert expose", - "id": 679, + "id": 581, "trigger": "ts.expose" }, { "description": "ts - Assert failException", - "id": 680, + "id": 582, "trigger": "ts.faile" }, { "description": "ts - Assert fail", - "id": 681, + "id": 583, "trigger": "ts.afail" }, { "description": "ts - Assert neverCalledWithMatch", - "id": 682, + "id": 584, "trigger": "ts.ncalledwm" }, { "description": "ts - Assert neverCalledWith", - "id": 683, + "id": 585, "trigger": "ts.ncalledw" }, { "description": "ts - Assert notCalled", - "id": 684, + "id": 586, "trigger": "ts.ncalled" }, { "description": "ts - Assert pass", - "id": 685, + "id": 587, "trigger": "ts.pass" }, { "description": "ts - Assert threw", - "id": 686, + "id": 588, "trigger": "ts.threw" }, { "description": "j - if else", - "id": 687, + "id": 589, "trigger": "j.ifelse" }, { "description": "j - switch", - "id": 688, + "id": 590, "trigger": "j.switch" }, { "description": "j - console.dir", - "id": 689, + "id": 591, "trigger": "j.cd" }, { "description": "j - console.error", - "id": 690, + "id": 592, "trigger": "j.ce" }, { "description": "j - console.info", - "id": 691, + "id": 593, "trigger": "j.ci" }, { "description": "j - console.log", - "id": 692, + "id": 594, "trigger": "j.cl" }, { "description": "j - console.warn", - "id": 693, + "id": 595, "trigger": "j.cw" }, { "description": "j - addEventListener", - "id": 694, + "id": 596, "trigger": "j.ael" }, { "description": "j - appendChild", - "id": 695, + "id": 597, "trigger": "j.ac" }, { "description": "j - classList.add", - "id": 696, + "id": 598, "trigger": "j.cla" }, { "description": "j - classList.remove", - "id": 697, + "id": 599, "trigger": "j.clr" }, { "description": "j - classList.toggle", - "id": 698, + "id": 600, "trigger": "j.clt" }, { "description": "j - createDocumentFragment", - "id": 699, + "id": 601, "trigger": "j.cdf" }, { "description": "j - createElement", - "id": 700, + "id": 602, "trigger": "j.cel" }, { "description": "j - getAttribute", - "id": 701, + "id": 603, "trigger": "j.gattr" }, { "description": "j - getElementById", - "id": 702, + "id": 604, "trigger": "j.gid" }, { "description": "j - getElementsByClassName", - "id": 703, + "id": 605, "trigger": "j.gclass" }, { "description": "j - getElementsByTagName", - "id": 704, + "id": 606, "trigger": "j.gtag" }, { "description": "j - innerHTML", - "id": 705, + "id": 607, "trigger": "j.ih" }, { "description": "j - querySelectorAll", - "id": 706, + "id": 608, "trigger": "j.qsa" }, { "description": "j - querySelector", - "id": 707, + "id": 609, "trigger": "j.qs" }, { "description": "j - removeAttribute", - "id": 708, + "id": 610, "trigger": "j.rattr" }, { "description": "j - removeChild", - "id": 709, + "id": 611, "trigger": "j.rc" }, { "description": "j - setAttribute", - "id": 710, + "id": 612, "trigger": "j.sattr" }, { "description": "j - textContent", - "id": 711, + "id": 613, "trigger": "j.tc" }, { "description": "j - Anonymous Function", - "id": 712, + "id": 614, "trigger": "j.afn" }, { "description": "j - Function apply", - "id": 713, + "id": 615, "trigger": "j.apply" }, { "description": "j - Function call", - "id": 714, + "id": 616, "trigger": "j.call" }, { "description": "j - Immediately-invoked function expression", - "id": 715, + "id": 617, "trigger": "j.iife" }, { "description": "j - Prototype", - "id": 716, + "id": 618, "trigger": "j.prot" }, { "description": "j - Function", - "id": 717, + "id": 619, "trigger": "j.fn" }, { "description": "j - JSON.parse", - "id": 718, + "id": 620, "trigger": "j.jsonp" }, { "description": "j - JSON.stringify", - "id": 719, + "id": 621, "trigger": "j.jsons" }, { "description": "j - do while", - "id": 720, + "id": 622, "trigger": "j.dowhile" }, { "description": "j - forEach", - "id": 721, + "id": 623, "trigger": "j.fore" }, { "description": "j - for in", - "id": 722, + "id": 624, "trigger": "j.fori" }, { "description": "j - for", - "id": 723, + "id": 625, "trigger": "j.for" }, { "description": "j - while", - "id": 724, + "id": 626, "trigger": "j.while" }, + { + "description": "j - New", + "id": 627, + "trigger": "j.new" + }, + { + "description": "j - Require", + "id": 628, + "trigger": "j.require" + }, { "description": "j - setInterval", - "id": 725, + "id": 629, "trigger": "j.sinterval" }, { "description": "j - setTimeout", - "id": 726, + "id": 630, "trigger": "j.stimeout" }, { "description": "r - Brazilian CNPJ", - "id": 727, + "id": 631, "trigger": "r.bcnpj" }, { "description": "r - Brazilian CPF/CNPJ", - "id": 728, + "id": 632, "trigger": "r.bcpfcnpj" }, { "description": "r - Brazilian CPF", - "id": 729, + "id": 633, "trigger": "r.bcpf" }, { "description": "r - Brazilian Phone", - "id": 730, + "id": 634, "trigger": "r.bphone" }, { "description": "r - E-mail", - "id": 731, + "id": 635, "trigger": "r.email" }, { "description": "sm - Action", - "id": 732, + "id": 636, "trigger": "sm.action" }, { "description": "sm - Organization", - "id": 733, + "id": 637, "trigger": "sm.org" }, { "description": "jsonld - Logotype", - "id": 734, + "id": 638, "trigger": "z.jsonld" }, { "description": "microdata - Organization", - "id": 735, + "id": 639, "trigger": "z.microdata" }, { "description": "microdata - Article", - "id": 736, + "id": 640, "trigger": "z.microdata" }, { "description": "microdata - Book", - "id": 737, + "id": 641, "trigger": "z.microdata" }, { "description": "microdata - Game", - "id": 738, + "id": 642, "trigger": "z.microdata" }, { "description": "microdata - WebPage", - "id": 739, + "id": 643, "trigger": "z.microdata" }, { "description": "rdfa - Breadcrumb", - "id": 740, + "id": 644, "trigger": "z.rdfa" } ] \ No newline at end of file From 5d310a0edda60577f4d294d8202bafed1a617e1d Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 1 Feb 2016 16:46:36 -0200 Subject: [PATCH 074/114] add: react propTypes snippets --- README.md | 2 +- .../libraries/react/spec/prop-types/README.md | 91 +++++++++++++++++++ .../react-prop-types-any.sublime-snippet | 9 ++ .../react-prop-types-array-of.sublime-snippet | 10 ++ .../react-prop-types-array.sublime-snippet | 10 ++ .../react-prop-types-bool.sublime-snippet | 10 ++ .../react-prop-types-element.sublime-snippet | 10 ++ .../react-prop-types-func.sublime-snippet | 10 ++ ...act-prop-types-instance-of.sublime-snippet | 10 ++ .../react-prop-types-node.sublime-snippet | 10 ++ .../react-prop-types-number.sublime-snippet | 10 ++ ...react-prop-types-object-of.sublime-snippet | 10 ++ .../react-prop-types-object.sublime-snippet | 10 ++ ...act-prop-types-one-of-type.sublime-snippet | 17 ++++ .../react-prop-types-one-of.sublime-snippet | 10 ++ .../react-prop-types-shape.sublime-snippet | 22 +++++ .../react-prop-types-string.sublime-snippet | 10 ++ 17 files changed, 260 insertions(+), 1 deletion(-) create mode 100644 snippets/js/libraries/react/spec/prop-types/README.md create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-any.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-array-of.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-array.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-bool.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-element.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-func.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-instance-of.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-node.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-number.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-object-of.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-object.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of-type.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-shape.sublime-snippet create mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-string.sublime-snippet diff --git a/README.md b/README.md index 8328aa2..7602387 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) [![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) [![GitHub release](https://img.shields.io/github/release/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) -[![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/LICENSE.md) +[![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) ![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) diff --git a/snippets/js/libraries/react/spec/prop-types/README.md b/snippets/js/libraries/react/spec/prop-types/README.md new file mode 100644 index 0000000..b38482c --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/README.md @@ -0,0 +1,91 @@ +## ReactJS Snippets + +### [jr.ptany] PropTypes.any + +```javascript + +``` + +### [jr.ptarrayof] PropTypes.arrayOf + +```javascript + +``` + +### [jr.ptarray] PropTypes.array + +```javascript + +``` + +### [jr.ptbool] PropTypes.bool + +```javascript + +``` + +### [jr.ptelement] PropTypes.element + +```javascript + +``` + +### [jr.ptfunc] PropTypes.func + +```javascript + +``` + +### [jr.ptiof] PropTypes.instanceOf + +```javascript + +``` + +### [jr.ptnode] PropTypes.node + +```javascript + +``` + +### [jr.ptnumber] PropTypes.number + +```javascript + +``` + +### [jr.ptobjectof] PropTypes.objectOf + +```javascript + +``` + +### [jr.ptobject] PropTypes.object + +```javascript + +``` + +### [jr.ptootype] PropTypes.oneOfType + +```javascript + +``` + +### [jr.ptoneof] PropTypes.oneOf + +```javascript + +``` + +### [jr.ptshape] PropTypes.shape + +```javascript + +``` + +### [jr.ptstring] PropTypes.string + +```javascript + +``` diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-any.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-any.sublime-snippet new file mode 100644 index 0000000..71feb57 --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-any.sublime-snippet @@ -0,0 +1,9 @@ + + + jr.ptany + jr - PropTypes.any + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-array-of.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-array-of.sublime-snippet new file mode 100644 index 0000000..3d48c9b --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-array-of.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptarrayof + jr - PropTypes.arrayOf + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-array.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-array.sublime-snippet new file mode 100644 index 0000000..eba8634 --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-array.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptarray + jr - PropTypes.array + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-bool.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-bool.sublime-snippet new file mode 100644 index 0000000..2161b53 --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-bool.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptbool + jr - PropTypes.bool + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-element.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-element.sublime-snippet new file mode 100644 index 0000000..f676eff --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-element.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptelement + jr - PropTypes.element + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-func.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-func.sublime-snippet new file mode 100644 index 0000000..525de6e --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-func.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptfunc + jr - PropTypes.func + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-instance-of.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-instance-of.sublime-snippet new file mode 100644 index 0000000..0b17b35 --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-instance-of.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptiof + jr - PropTypes.instanceOf + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-node.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-node.sublime-snippet new file mode 100644 index 0000000..7b37b2f --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-node.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptnode + jr - PropTypes.node + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-number.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-number.sublime-snippet new file mode 100644 index 0000000..c33a687 --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-number.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptnumber + jr - PropTypes.number + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-object-of.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-object-of.sublime-snippet new file mode 100644 index 0000000..8b485f2 --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-object-of.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptobjectof + jr - PropTypes.objectOf + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-object.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-object.sublime-snippet new file mode 100644 index 0000000..88b9550 --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-object.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptobject + jr - PropTypes.object + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of-type.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of-type.sublime-snippet new file mode 100644 index 0000000..4f69317 --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of-type.sublime-snippet @@ -0,0 +1,17 @@ + + + jr.ptootype + jr - PropTypes.oneOfType + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of.sublime-snippet new file mode 100644 index 0000000..849a76b --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptoneof + jr - PropTypes.oneOf + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-shape.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-shape.sublime-snippet new file mode 100644 index 0000000..f0bac2c --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-shape.sublime-snippet @@ -0,0 +1,22 @@ + + + jr.ptshape + jr - PropTypes.shape + diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-string.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-string.sublime-snippet new file mode 100644 index 0000000..45f8454 --- /dev/null +++ b/snippets/js/libraries/react/spec/prop-types/react-prop-types-string.sublime-snippet @@ -0,0 +1,10 @@ + + + jr.ptstring + jr - PropTypes.string + From f1dd8ff0a9b52862086b19ab3e9ceda128536184 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 1 Feb 2016 17:21:08 -0200 Subject: [PATCH 075/114] del: duplicate files --- .../libraries/react/spec/prop-types/README.md | 91 ------------------- .../react-prop-types-any.sublime-snippet | 9 -- .../react-prop-types-array-of.sublime-snippet | 10 -- .../react-prop-types-array.sublime-snippet | 10 -- .../react-prop-types-bool.sublime-snippet | 10 -- .../react-prop-types-element.sublime-snippet | 10 -- .../react-prop-types-func.sublime-snippet | 10 -- ...act-prop-types-instance-of.sublime-snippet | 10 -- .../react-prop-types-node.sublime-snippet | 10 -- .../react-prop-types-number.sublime-snippet | 10 -- ...react-prop-types-object-of.sublime-snippet | 10 -- .../react-prop-types-object.sublime-snippet | 10 -- ...act-prop-types-one-of-type.sublime-snippet | 17 ---- .../react-prop-types-one-of.sublime-snippet | 10 -- .../react-prop-types-shape.sublime-snippet | 22 ----- .../react-prop-types-string.sublime-snippet | 10 -- 16 files changed, 259 deletions(-) delete mode 100644 snippets/js/libraries/react/spec/prop-types/README.md delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-any.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-array-of.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-array.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-bool.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-element.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-func.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-instance-of.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-node.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-number.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-object-of.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-object.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of-type.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-shape.sublime-snippet delete mode 100644 snippets/js/libraries/react/spec/prop-types/react-prop-types-string.sublime-snippet diff --git a/snippets/js/libraries/react/spec/prop-types/README.md b/snippets/js/libraries/react/spec/prop-types/README.md deleted file mode 100644 index b38482c..0000000 --- a/snippets/js/libraries/react/spec/prop-types/README.md +++ /dev/null @@ -1,91 +0,0 @@ -## ReactJS Snippets - -### [jr.ptany] PropTypes.any - -```javascript - -``` - -### [jr.ptarrayof] PropTypes.arrayOf - -```javascript - -``` - -### [jr.ptarray] PropTypes.array - -```javascript - -``` - -### [jr.ptbool] PropTypes.bool - -```javascript - -``` - -### [jr.ptelement] PropTypes.element - -```javascript - -``` - -### [jr.ptfunc] PropTypes.func - -```javascript - -``` - -### [jr.ptiof] PropTypes.instanceOf - -```javascript - -``` - -### [jr.ptnode] PropTypes.node - -```javascript - -``` - -### [jr.ptnumber] PropTypes.number - -```javascript - -``` - -### [jr.ptobjectof] PropTypes.objectOf - -```javascript - -``` - -### [jr.ptobject] PropTypes.object - -```javascript - -``` - -### [jr.ptootype] PropTypes.oneOfType - -```javascript - -``` - -### [jr.ptoneof] PropTypes.oneOf - -```javascript - -``` - -### [jr.ptshape] PropTypes.shape - -```javascript - -``` - -### [jr.ptstring] PropTypes.string - -```javascript - -``` diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-any.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-any.sublime-snippet deleted file mode 100644 index 71feb57..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-any.sublime-snippet +++ /dev/null @@ -1,9 +0,0 @@ - - - jr.ptany - jr - PropTypes.any - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-array-of.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-array-of.sublime-snippet deleted file mode 100644 index 3d48c9b..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-array-of.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptarrayof - jr - PropTypes.arrayOf - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-array.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-array.sublime-snippet deleted file mode 100644 index eba8634..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-array.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptarray - jr - PropTypes.array - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-bool.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-bool.sublime-snippet deleted file mode 100644 index 2161b53..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-bool.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptbool - jr - PropTypes.bool - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-element.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-element.sublime-snippet deleted file mode 100644 index f676eff..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-element.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptelement - jr - PropTypes.element - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-func.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-func.sublime-snippet deleted file mode 100644 index 525de6e..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-func.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptfunc - jr - PropTypes.func - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-instance-of.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-instance-of.sublime-snippet deleted file mode 100644 index 0b17b35..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-instance-of.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptiof - jr - PropTypes.instanceOf - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-node.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-node.sublime-snippet deleted file mode 100644 index 7b37b2f..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-node.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptnode - jr - PropTypes.node - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-number.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-number.sublime-snippet deleted file mode 100644 index c33a687..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-number.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptnumber - jr - PropTypes.number - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-object-of.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-object-of.sublime-snippet deleted file mode 100644 index 8b485f2..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-object-of.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptobjectof - jr - PropTypes.objectOf - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-object.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-object.sublime-snippet deleted file mode 100644 index 88b9550..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-object.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptobject - jr - PropTypes.object - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of-type.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of-type.sublime-snippet deleted file mode 100644 index 4f69317..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of-type.sublime-snippet +++ /dev/null @@ -1,17 +0,0 @@ - - - jr.ptootype - jr - PropTypes.oneOfType - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of.sublime-snippet deleted file mode 100644 index 849a76b..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-one-of.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptoneof - jr - PropTypes.oneOf - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-shape.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-shape.sublime-snippet deleted file mode 100644 index f0bac2c..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-shape.sublime-snippet +++ /dev/null @@ -1,22 +0,0 @@ - - - jr.ptshape - jr - PropTypes.shape - diff --git a/snippets/js/libraries/react/spec/prop-types/react-prop-types-string.sublime-snippet b/snippets/js/libraries/react/spec/prop-types/react-prop-types-string.sublime-snippet deleted file mode 100644 index 45f8454..0000000 --- a/snippets/js/libraries/react/spec/prop-types/react-prop-types-string.sublime-snippet +++ /dev/null @@ -1,10 +0,0 @@ - - - jr.ptstring - jr - PropTypes.string - From e685566c89315b8930c2bb98cc086babc7af03a7 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 1 Feb 2016 17:51:32 -0200 Subject: [PATCH 076/114] update: build --- .travis.yml | 4 +++- tests/test.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 81fc333..0108cc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,7 @@ language: python python: - "3.3" -#run tests +# command to install dependencies +#install: "pip install -r requirements.txt" +# command to run tests script: python -m unittest diff --git a/tests/test.py b/tests/test.py index 572201c..9168da9 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import sys -sys.path.append('../source/') +sys.path.append('source/') from json_generator import get_json from duplicates import list_duplicates import json From e02c521076627bbb8a8d0ea765f916aaa26c681a Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 1 Feb 2016 17:56:45 -0200 Subject: [PATCH 077/114] fix: invalid syntax --- source/json_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/json_generator.py b/source/json_generator.py index c9cafa8..bbee81f 100644 --- a/source/json_generator.py +++ b/source/json_generator.py @@ -11,7 +11,7 @@ def write_json(data, filename): fd.write(jsondata) fd.close() except: - print 'ERROR writing', filename + print "ERROR writing", filename pass def get_dir(path, ext): From c73324d3268cfdd11ff9b0d327a5be68b0b03ad1 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 1 Feb 2016 18:02:30 -0200 Subject: [PATCH 078/114] fix: print function --- source/json_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/json_generator.py b/source/json_generator.py index bbee81f..0589d30 100644 --- a/source/json_generator.py +++ b/source/json_generator.py @@ -11,7 +11,7 @@ def write_json(data, filename): fd.write(jsondata) fd.close() except: - print "ERROR writing", filename + print "ERROR writing %s"%filename pass def get_dir(path, ext): From fdb19853ae709bbd5dfa0d41d09cf74555871ef8 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 1 Feb 2016 18:05:26 -0200 Subject: [PATCH 079/114] fix: test line --- source/json_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/json_generator.py b/source/json_generator.py index 0589d30..f67ec9c 100644 --- a/source/json_generator.py +++ b/source/json_generator.py @@ -11,7 +11,7 @@ def write_json(data, filename): fd.write(jsondata) fd.close() except: - print "ERROR writing %s"%filename + #print "ERROR writing %s"%filename pass def get_dir(path, ext): From a9a5123f2ed9b42f9382a62206ca5aef3044e46e Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 1 Feb 2016 18:34:59 -0200 Subject: [PATCH 080/114] update: failure test --- snippets/regex/regex-brazilian-cnpj.sublime-snippet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/regex/regex-brazilian-cnpj.sublime-snippet b/snippets/regex/regex-brazilian-cnpj.sublime-snippet index 0272313..d661b56 100644 --- a/snippets/regex/regex-brazilian-cnpj.sublime-snippet +++ b/snippets/regex/regex-brazilian-cnpj.sublime-snippet @@ -2,6 +2,6 @@ - r.bcnpj + r.bcpfcnpj r - Brazilian CNPJ From a9ae4cf77349e8d3b0afa6fc7d6af4be3ee17c76 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Mon, 1 Feb 2016 18:41:09 -0200 Subject: [PATCH 081/114] update: snippets json --- snippets.json | 4 ++-- snippets/regex/regex-brazilian-cnpj.sublime-snippet | 2 +- tests/test.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets.json b/snippets.json index 0d2dd2a..72efb64 100644 --- a/snippets.json +++ b/snippets.json @@ -3152,7 +3152,7 @@ { "description": "r - Brazilian CNPJ", "id": 631, - "trigger": "r.bcnpj" + "trigger": "r.bcpfcnpj" }, { "description": "r - Brazilian CPF/CNPJ", @@ -3162,7 +3162,7 @@ { "description": "r - Brazilian CPF", "id": 633, - "trigger": "r.bcpf" + "trigger": "r.bcpfcnpj" }, { "description": "r - Brazilian Phone", diff --git a/snippets/regex/regex-brazilian-cnpj.sublime-snippet b/snippets/regex/regex-brazilian-cnpj.sublime-snippet index d661b56..0272313 100644 --- a/snippets/regex/regex-brazilian-cnpj.sublime-snippet +++ b/snippets/regex/regex-brazilian-cnpj.sublime-snippet @@ -2,6 +2,6 @@ - r.bcpfcnpj + r.bcnpj r - Brazilian CNPJ diff --git a/tests/test.py b/tests/test.py index 9168da9..572201c 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import sys -sys.path.append('source/') +sys.path.append('../source/') from json_generator import get_json from duplicates import list_duplicates import json From 55750f3f6c2727a9c3e1b185e09f94817eea39be Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 03:55:53 -0200 Subject: [PATCH 082/114] fix: test command --- .travis.yml | 2 +- tests/test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0108cc7..ea12960 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,4 @@ python: # command to install dependencies #install: "pip install -r requirements.txt" # command to run tests -script: python -m unittest +script: python tests\test.py diff --git a/tests/test.py b/tests/test.py index 572201c..9168da9 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import sys -sys.path.append('../source/') +sys.path.append('source/') from json_generator import get_json from duplicates import list_duplicates import json From 35115f75b8d488cef8cbee528c2b769e9d64ff7b Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 03:57:36 -0200 Subject: [PATCH 083/114] fix: invalid syntax --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ea12960..221b96f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,4 @@ python: # command to install dependencies #install: "pip install -r requirements.txt" # command to run tests -script: python tests\test.py +script: python tests/test.py From e649a05d3ce4e6ad51c5e363562f7b3981b83045 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:00:04 -0200 Subject: [PATCH 084/114] update: failure test 2 --- snippets/regex/regex-brazilian-cnpj.sublime-snippet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/regex/regex-brazilian-cnpj.sublime-snippet b/snippets/regex/regex-brazilian-cnpj.sublime-snippet index 0272313..d661b56 100644 --- a/snippets/regex/regex-brazilian-cnpj.sublime-snippet +++ b/snippets/regex/regex-brazilian-cnpj.sublime-snippet @@ -2,6 +2,6 @@ - r.bcnpj + r.bcpfcnpj r - Brazilian CNPJ From dfaa4d903a7cbf1e6d4ba49ebbe368a95fafb1b3 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:22:58 -0200 Subject: [PATCH 085/114] update: failure test 3 --- snippets.json | 2 +- source/__init__.py | 0 source/__init__.pyc | Bin 0 -> 114 bytes source/json_generator.py | 7 +++---- tests/test.py | 11 ++++++----- 5 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 source/__init__.py create mode 100644 source/__init__.pyc diff --git a/snippets.json b/snippets.json index 72efb64..a103015 100644 --- a/snippets.json +++ b/snippets.json @@ -3162,7 +3162,7 @@ { "description": "r - Brazilian CPF", "id": 633, - "trigger": "r.bcpfcnpj" + "trigger": "r.bcpf" }, { "description": "r - Brazilian Phone", diff --git a/source/__init__.py b/source/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/source/__init__.pyc b/source/__init__.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5203163fd858a4de4d4b6ba024dede8995052265 GIT binary patch literal 114 zcmZSn%*(Y@Vp&)+0~9aYnUievQjVv6%i li;`1g;^Q;(GE3s)^$IFWIDqmtx%nxjIjMFaQ;LC@0RZuf6sZ6J literal 0 HcmV?d00001 diff --git a/source/json_generator.py b/source/json_generator.py index f67ec9c..8cba047 100644 --- a/source/json_generator.py +++ b/source/json_generator.py @@ -21,9 +21,9 @@ def get_dir(path, ext): matches.append(os.path.join(root, filename)) return matches -def get_json(): +def get_json(path): result = [] - for count, file in enumerate(get_dir('../snippets/', '*.sublime-snippet'), start=1): + for count, file in enumerate(get_dir( path, '*.sublime-snippet'), start=1): line = open(file) content = line.read() trigger = content.split('')[1].split('')[0] @@ -34,5 +34,4 @@ def get_json(): return result -write_json(get_json(), "../snippets.json") - +write_json(get_json('../snippets/'), "../snippets.json") diff --git a/tests/test.py b/tests/test.py index 9168da9..248182d 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,9 +1,10 @@ #!/usr/bin/env python3 import sys -sys.path.append('source/') -from json_generator import get_json -from duplicates import list_duplicates +import os.path +sys.path.append(os.path.join(os.path.dirname(__file__), '..')) +from source.json_generator import get_json +from source.duplicates import list_duplicates import json import re import unittest @@ -11,9 +12,9 @@ class TestDuplicatesMethods(unittest.TestCase): def test_duplicates(self): - json = get_json() + json = get_json('snippets/') triggers = [] - + print json for snippet in json: trigger = snippet['trigger'] if re.search(r'z.', trigger) is None: From 97785b32ea1255a5d38dab945359432fc8961d96 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:24:33 -0200 Subject: [PATCH 086/114] fix: invalid syntax --- tests/test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test.py b/tests/test.py index 248182d..0da10e4 100644 --- a/tests/test.py +++ b/tests/test.py @@ -14,7 +14,6 @@ class TestDuplicatesMethods(unittest.TestCase): def test_duplicates(self): json = get_json('snippets/') triggers = [] - print json for snippet in json: trigger = snippet['trigger'] if re.search(r'z.', trigger) is None: From a5a21b4136e773fb2bee615cf5b7963e42e5c31f Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:26:46 -0200 Subject: [PATCH 087/114] fix: write function --- source/json_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/json_generator.py b/source/json_generator.py index 8cba047..c3aa123 100644 --- a/source/json_generator.py +++ b/source/json_generator.py @@ -34,4 +34,4 @@ def get_json(path): return result -write_json(get_json('../snippets/'), "../snippets.json") +# write_json(get_json('../snippets/'), "../snippets.json") From 6e206864cf31264acae3dc897ca4e0b93b9a7f6d Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:29:50 -0200 Subject: [PATCH 088/114] update: gitignore --- .gitignore | 3 +-- source/__init__.py | 0 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 source/__init__.py diff --git a/.gitignore b/.gitignore index 86989b8..0d20b64 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -source/json_generator.pyc -source/duplicates.pyc +*.pyc diff --git a/source/__init__.py b/source/__init__.py deleted file mode 100644 index e69de29..0000000 From 9c44e0b62584d5404fb4b3775d2e0dc6df0ffddb Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:33:02 -0200 Subject: [PATCH 089/114] fix: magic number --- tests/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.py b/tests/test.py index 0da10e4..8a39694 100644 --- a/tests/test.py +++ b/tests/test.py @@ -2,9 +2,9 @@ import sys import os.path -sys.path.append(os.path.join(os.path.dirname(__file__), '..')) -from source.json_generator import get_json -from source.duplicates import list_duplicates +sys.path.append(os.path.join(os.path.dirname(__file__), '../source')) +from json_generator import get_json +from duplicates import list_duplicates import json import re import unittest From e98279755e3e2544d04fd5897d6fd728d65d3d20 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:43:20 -0200 Subject: [PATCH 090/114] fix: sudo permission --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 221b96f..6b29619 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +sudo: true + language: python python: - "3.3" From 3518670e5b7eefe1af1c5f6fd7b431fa60a31b89 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:47:48 -0200 Subject: [PATCH 091/114] fix: test path --- tests/test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test.py b/tests/test.py index 8a39694..1841095 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,8 +1,7 @@ #!/usr/bin/env python3 import sys -import os.path -sys.path.append(os.path.join(os.path.dirname(__file__), '../source')) +sys.path.append('source/') from json_generator import get_json from duplicates import list_duplicates import json From 80e052d6f80566a06df9833a28402a07388a0ebc Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:55:58 -0200 Subject: [PATCH 092/114] add: requirements text --- requirements.txt | 0 source/json_generator.py | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/source/json_generator.py b/source/json_generator.py index c3aa123..c6c1876 100644 --- a/source/json_generator.py +++ b/source/json_generator.py @@ -24,8 +24,9 @@ def get_dir(path, ext): def get_json(path): result = [] for count, file in enumerate(get_dir( path, '*.sublime-snippet'), start=1): - line = open(file) - content = line.read() + with open(file) as line: + content = line.read() + trigger = content.split('')[1].split('')[0] description = content.split('')[1].split('')[0] From ea9d7fd15b98ab3032d96f6546a7b9915dbfdf1f Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 2 Feb 2016 04:58:14 -0200 Subject: [PATCH 093/114] fix: success test --- snippets/regex/regex-brazilian-cnpj.sublime-snippet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/regex/regex-brazilian-cnpj.sublime-snippet b/snippets/regex/regex-brazilian-cnpj.sublime-snippet index d661b56..0272313 100644 --- a/snippets/regex/regex-brazilian-cnpj.sublime-snippet +++ b/snippets/regex/regex-brazilian-cnpj.sublime-snippet @@ -2,6 +2,6 @@ - r.bcpfcnpj + r.bcnpj r - Brazilian CNPJ From b7bc0efda0db7548e589ac3a3688afac93110b9f Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Sat, 6 Feb 2016 21:54:11 -0200 Subject: [PATCH 094/114] update: react documentation --- .../js/libraries/react/lifecycle/README.md | 30 ++++-- .../js/libraries/react/prop-types/README.md | 93 ++++++++++++++++--- snippets/js/libraries/react/spec/README.md | 26 ++++-- 3 files changed, 120 insertions(+), 29 deletions(-) diff --git a/snippets/js/libraries/react/lifecycle/README.md b/snippets/js/libraries/react/lifecycle/README.md index 33b5001..8c36f74 100644 --- a/snippets/js/libraries/react/lifecycle/README.md +++ b/snippets/js/libraries/react/lifecycle/README.md @@ -3,41 +3,57 @@ ### [jr.cdmount] componentDidMount ```javascript - +componentDidMount: function () { + // invoked once (client-only), after initial 'render' + // good for AJAX, setTimeout, setInterval +} ``` ### [jr.cdupdate] componentDidUpdate ```javascript - +componentDidUpdate: function (prevProps, prevState) { + // invoked immediately after DOM updates, not for initial 'render' +} ``` ### [jr.cwmount] componentWillMount ```javascript - +componentWillMount: function () { + // invoked once, before initial 'render' +} ``` ### [jr.cwrprops] componentWillReceiveProps ```javascript - +componentWillReceiveProps: function (nextProps) { + // invoked when component is receiving props, not for initial 'render' +} ``` ### [jr.cwunmount] componentWillUnmount ```javascript - +componentWillUnmount: function () { + // invoked immediately before a component is unmounted from the DOM +} ``` ### [jr.cwupdate] componentWillUpdate ```javascript - +componentWillUpdate: function (nextProps, nextState) { + // invoked immediately before rendering with new props or state, not for initial 'render' + // see componentWillReceiveProps if you need to call setState +} ``` ### [jr.scupdate] shouldComponentUpdate ```javascript - +shouldComponentUpdate: function (nextProps, nextState) { + // invoked before rendering with new props, not for initial 'render' +} ``` diff --git a/snippets/js/libraries/react/prop-types/README.md b/snippets/js/libraries/react/prop-types/README.md index b38482c..4c4e719 100644 --- a/snippets/js/libraries/react/prop-types/README.md +++ b/snippets/js/libraries/react/prop-types/README.md @@ -3,89 +3,152 @@ ### [jr.ptany] PropTypes.any ```javascript - +{ + requiredAny: React.PropTypes.any.isRequired +} ``` ### [jr.ptarrayof] PropTypes.arrayOf ```javascript - +{ + optionalArrayOf: React.PropTypes.arrayOf(React.PropTypes.string), + requiredArrayOf: React.PropTypes.arrayOf(React.PropTypes.string).isRequired +} ``` ### [jr.ptarray] PropTypes.array ```javascript - +{ + optionalArray: React.PropTypes.array, + requiredArray: React.PropTypes.array.isRequired +} ``` ### [jr.ptbool] PropTypes.bool ```javascript - +{ + optionalBoolean: React.PropTypes.bool, + requiredBoolean: React.PropTypes.bool.isRequired +} ``` ### [jr.ptelement] PropTypes.element ```javascript - +{ + optionalElement: React.PropTypes.element, + requiredElement: React.PropTypes.element.isRequired +} ``` ### [jr.ptfunc] PropTypes.func ```javascript - +{ + optionalFunction: React.PropTypes.func, + requiredFunction: React.PropTypes.func.isRequired +} ``` ### [jr.ptiof] PropTypes.instanceOf ```javascript - +{ + optionalClass: React.PropTypes.instanceOf(MyClass), + requiredClass: React.PropTypes.instanceOf(MyClass).isRequired +} ``` ### [jr.ptnode] PropTypes.node ```javascript - +{ + optionalNode: React.PropTypes.node, + requiredNode: React.PropTypes.node.isRequired +}; ``` ### [jr.ptnumber] PropTypes.number ```javascript - +{ + optionalNumber: React.PropTypes.number, + requiredNumber: React.PropTypes.number.isRequired +} ``` ### [jr.ptobjectof] PropTypes.objectOf ```javascript - +{ + optionalObjectOf: React.PropTypes.objectOf(React.PropTypes.string), + requiredObjectOf: React.PropTypes.objectOf(React.PropTypes.string).isRequired +} ``` ### [jr.ptobject] PropTypes.object ```javascript - +{ + optionalObject: React.PropTypes.object, + requiredObject: React.PropTypes.object.isRequired +} ``` ### [jr.ptootype] PropTypes.oneOfType ```javascript - +{ + optionalUnion: React.PropTypes.oneOfType([ + React.PropTypes.bool, + React.PropTypes.string + ]), + + requiredUnion: React.PropTypes.oneOfType([ + React.PropTypes.bool, + React.PropTypes.string + ]).isRequired, +} ``` ### [jr.ptoneof] PropTypes.oneOf ```javascript - +{ + optionalEnum: React.PropTypes.oneOf(['Thing 1', 'Thing 2']), + optionalEnum: React.PropTypes.oneOf(['Thing 1', 'Thing 2']).isRequired +} ``` ### [jr.ptshape] PropTypes.shape ```javascript - +{ + optionalObjectWithShape: React.PropTypes.shape({ + age: React.PropTypes.number, + name: React.PropTypes.string + }), + + requiredObjectWithShape: React.PropTypes.shape({ + age: React.PropTypes.number, + name: React.PropTypes.string + }).isRequired, + + requiredObjectWithRequiredShape: React.PropTypes.shape({ + age: React.PropTypes.number.isRequired, + name: React.PropTypes.string.isRequired + }).isRequired, +} ``` ### [jr.ptstring] PropTypes.string ```javascript - +{ + optionalString: React.PropTypes.string, + requiredString: React.PropTypes.string.isRequired +} ``` diff --git a/snippets/js/libraries/react/spec/README.md b/snippets/js/libraries/react/spec/README.md index 0f29d28..802f6a6 100644 --- a/snippets/js/libraries/react/spec/README.md +++ b/snippets/js/libraries/react/spec/README.md @@ -3,41 +3,53 @@ ### [jr.dname] displayName ```javascript - +displayName: "MyComponent" ``` ### [jr.gdprops] getDefaultProps ```javascript - +getDefaultProps: function () { + return ${1:\{ key: value \}}; +} ``` ### [jr.gistate] getInitialState ```javascript - +getInitialState: function () { + return ${1:\{ key: value \}}; +} ``` ### [jr.mixins] mixins ```javascript - +mixins: [ AMixinObject, AnotherMixinObject ]; ``` ### [jr.ptypes] propTypes ```javascript - +propTypes: { + myProp: React.PropTypes.bool +} ``` ### [jr.srender] render ```javascript - +render: function () { + return ${1}; +} ``` ### [jr.statics] statics ```javascript - +statics: { + customMethod: function(foo) { + return foo === 'bar'; + } +} ``` From 7105b229974bc05e4bc1a6a09dacb16ea95b99ea Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Sat, 6 Feb 2016 23:14:05 -0200 Subject: [PATCH 095/114] update: completing the design patterns --- .../js/patterns/design-patterns/README.md | 110 +++++++++++++++++- ...js-design-patterns-factory.sublime-snippet | 23 +++- ...-design-patterns-flyweight.sublime-snippet | 13 ++- ...s-design-patterns-mediator.sublime-snippet | 26 ++++- .../js-design-patterns-mixin.sublime-snippet | 13 ++- ...s-design-patterns-observer.sublime-snippet | 41 ++++++- 6 files changed, 219 insertions(+), 7 deletions(-) diff --git a/snippets/js/patterns/design-patterns/README.md b/snippets/js/patterns/design-patterns/README.md index e76acdd..0e8df75 100644 --- a/snippets/js/patterns/design-patterns/README.md +++ b/snippets/js/patterns/design-patterns/README.md @@ -106,25 +106,92 @@ var ${1:MyModule} = ( function( window, undefined ) { ### [jdp.factory] Factory ```javascript +function ${1:Animal}(${2:name}) { + ${9} +} + +function ${3:Rabbit}(${2:name}) { + var ${4:rabbit} = ${1:Animal}(${2:name}) + + var ${5:parentRun} = ${4:rabbit}.${6:run} + + ${4:rabbit}.${7:jump} = function() { + ${10:alert(${2:name} + " jumped!");} + } + + ${4:rabbit}.${6:run} = function() { + ${5:parentRun}.call(this) + ${11:alert("fast");} + } + + return ${4:rabbit} +} +${4:rabbit} = ${3:Rabbit}("${8:rab}"); ``` ### [jdp.flyweight] Flyweight ```javascript +${0:'use strict';} + +var ${1:Flyweight} = function (${2:intrinisicState}) { + this.${2:intrinisicState} = ${2:intrinisicState}; +}; +${1:Flyweight}.prototype.operation = function (${4:extrinsicState}) { + ${3:// Perform some action using intrinsic and extrinsic state} + return this.${2:intrinisicState} * ${4:extrinsicState}; +}; + +module.exports = ${1:Flyweight}; ``` ### [jdp.mediator] Mediator ```javascript - +var mediator = (function(){ + var subscribe = function(channel, fn){ + if(!mediator.channels[channel]) mediator.channels[channel] = []; + mediator.channels[channel].push({ context : this, callback : fn }); + return this; + }; + var publish = function(channel){ + if(!mediator.channels[channel]) return false; + var args = Array.prototype.slice.call(arguments, 1); + for(var i = 0, l = mediator.channels[channel].length; i < l; i++){ + var subscription = mediator.channels[channel][i]; + subscription.callback.apply(subscription.context.args); + }; + return this; + }; + return { + channels : {}, + publish : publish, + subscribe : subscribe, + installTo : function(obj){ + obj.subscribe = subscribe; + obj.publish = publish; + } + }; +}());${1} ``` ### [jdp.mixin] Mixin ```javascript - +var ${1:Circle} = function() {}; +${1:Circle}.prototype = { + ${2:area}: function() { + ${3:return Math.PI * this.radius * this.radius}; + }, + ${4:grow}: function() { + ${5:this.radius++;} + }, + ${6:shrink}: function() { + ${7:this.radius--;} + } +};${8} ``` ### [jdp.module] Module @@ -144,7 +211,46 @@ var ${1:moduleName} = (function() { ### [jdp.observer] Observer ```javascript +var ${1:Publisher} = { + ${2:subscribers}: { + ${6:any}: [] + }, + + ${3:subscribe}: function(fn, type) { + + type = type || "${6:any}"; + if (typeof this.${2:subscribers}[type] === "undefined") { + this.${2:subscribers}[type] = []; + } + + this.${2:subscribers}[type].push(fn); + }, + + ${4:unsubscribe}: function(fn, type) { + if (typeof this.${2:subscribers}[type] !== undefined) { + this.${2:subscribers}[type].pull(fn); + } + }, + + ${5:publish}: function(type, obj) { + var ${2:subscribers} = this.${2:subscribers}[type]; + + for (var i = 0, max = ${2:subscribers}.length; i < max; i++) { + ${2:subscribers}[i](obj); + } + } +}; + + +${7://var paper = Object.create(${1:Publisher}); +//var joe = { +// shout : function(obj){ +// console.log("oh i got issue" + obj); +// } +//}; +//paper.${3:subscribe}(joe.shout, "new issue"); +//paper.${5:publish}("new issue", 27);} ``` ### [jdp.prototype] Prototype diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet index 57ff6b7..7039336 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-factory.sublime-snippet @@ -1,6 +1,27 @@ jdp.factory jdp - Factory diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet index a17880e..e34d30e 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-flyweight.sublime-snippet @@ -1,6 +1,17 @@ jdp.flyweight jdp - Flyweight diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet index b3f71b8..d334868 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-mediator.sublime-snippet @@ -1,6 +1,30 @@ jdp.mediator jdp - Mediator diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet index a671ed0..1c78143 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-mixin.sublime-snippet @@ -1,6 +1,17 @@ jdp.mixin jdp - Mixin diff --git a/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet b/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet index c08ea5c..820c9b2 100644 --- a/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet +++ b/snippets/js/patterns/design-patterns/js-design-patterns-observer.sublime-snippet @@ -1,6 +1,45 @@ jdp.observer jdp - Observer From 52a6581116fccbd5611dfb4ff1aaaf8203d34c94 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Sun, 7 Feb 2016 15:07:16 -0200 Subject: [PATCH 096/114] add: json ld and rdfa snippets --- snippets/schema/README.md | 2 -- snippets/schema/json-ld/README.md | 11 +++++++-- .../json-ld/json-ld-logotype.sublime-snippet | 14 +++++++++++ snippets/schema/rdfa/README.md | 22 ++++++++++++++---- .../rdfa/redfa-breadcrumb.sublime-snippet | 23 +++++++++++++++++++ 5 files changed, 64 insertions(+), 8 deletions(-) create mode 100644 snippets/schema/json-ld/json-ld-logotype.sublime-snippet create mode 100644 snippets/schema/rdfa/redfa-breadcrumb.sublime-snippet diff --git a/snippets/schema/README.md b/snippets/schema/README.md index 920bf9f..7b47ff6 100644 --- a/snippets/schema/README.md +++ b/snippets/schema/README.md @@ -2,6 +2,4 @@ - [JSON-LD](json-ld/) - [Microdata](microdata/) - - Action - - Organization - [RDFa](rdfa/) diff --git a/snippets/schema/json-ld/README.md b/snippets/schema/json-ld/README.md index f493592..bdeea6f 100644 --- a/snippets/schema/json-ld/README.md +++ b/snippets/schema/json-ld/README.md @@ -4,8 +4,15 @@ ## Organization -### [sj.org] Organization +### [sj.logo] Logotype ```html - + ``` diff --git a/snippets/schema/json-ld/json-ld-logotype.sublime-snippet b/snippets/schema/json-ld/json-ld-logotype.sublime-snippet new file mode 100644 index 0000000..c65f18d --- /dev/null +++ b/snippets/schema/json-ld/json-ld-logotype.sublime-snippet @@ -0,0 +1,14 @@ + + +{ + "@context": "http://schema.org", + "@type": "Organization", + "url": "${1:http://www.example.com}", + "logo": "${2:http://www.example.com/images/logo.png}" +} + +]]> + sj.logo + sj - Logotype + diff --git a/snippets/schema/rdfa/README.md b/snippets/schema/rdfa/README.md index f369f73..222ce11 100644 --- a/snippets/schema/rdfa/README.md +++ b/snippets/schema/rdfa/README.md @@ -2,10 +2,24 @@ ## Prefix `sr.*` -## Organization - -### [sr.org] Organization +### [sr.breadcrumb] Breadcrumb ```html - + ``` diff --git a/snippets/schema/rdfa/redfa-breadcrumb.sublime-snippet b/snippets/schema/rdfa/redfa-breadcrumb.sublime-snippet new file mode 100644 index 0000000..4881428 --- /dev/null +++ b/snippets/schema/rdfa/redfa-breadcrumb.sublime-snippet @@ -0,0 +1,23 @@ + + + + + ${2:Dresses} + › + + + + ${4:Real Dresses} + › + + + + ${6:Real Green Dresses} + › + +
+]]> + sr.breadcrumb + sr - Breadcrumb + From 95c5211d8e791e2bb8a5376e3d8baa7d4b2bbb9e Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 10 Feb 2016 06:34:07 -0200 Subject: [PATCH 097/114] update: readme with instructions on autocomplete --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7602387..ff5ff39 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ You can manually download the package and place it within your `Packages` direct You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text. +[Tested on windows] When the "."(dot) is used, the autocomplete disappears.. To resolve this problem, just put on in your user 'Preferences> Settings - User`, the property `word_separators` with the value without the "."(dot). You can see an example [here](Preferences.sublime-settings). + ## Snippets and prefixes/keys - [HTML - h.*](snippets/html/) From 6fb5275eb7318f8b64972ff1be558ba2bcd83847 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 10 Feb 2016 06:51:35 -0200 Subject: [PATCH 098/114] fix: adjusting text --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ff5ff39..3939556 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ You can manually download the package and place it within your `Packages` direct You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text. -[Tested on windows] When the "."(dot) is used, the autocomplete disappears.. To resolve this problem, just put on in your user 'Preferences> Settings - User`, the property `word_separators` with the value without the "."(dot). You can see an example [here](Preferences.sublime-settings). +[Tested on windows] When the "."(dot) is used, the autocomplete disappears.. To resolve this problem, just put on in your user `Preferences > Settings - User`, and put the property `word_separators` with the value without the "."(dot). You can see an example [here](Preferences.sublime-settings). ## Snippets and prefixes/keys From 2033b969548ca4158b51998e05ca547fe454ac2c Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 10 Feb 2016 06:54:38 -0200 Subject: [PATCH 099/114] fix: text with error of syntax --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3939556..4c7bc85 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ You can manually download the package and place it within your `Packages` direct You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text. -[Tested on windows] When the "."(dot) is used, the autocomplete disappears.. To resolve this problem, just put on in your user `Preferences > Settings - User`, and put the property `word_separators` with the value without the "."(dot). You can see an example [here](Preferences.sublime-settings). +[Tested on windows] When the "."(dot) is used, the autocomplete disappears.. To resolve this problem, just put on in your user `Preferences > Settings - User`, the property `word_separators` with the value without the "."(dot). You can see an example [here](Preferences.sublime-settings). ## Snippets and prefixes/keys From cdd328fa637d47c12faeba49e8ee8788212bb0b7 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 10 Feb 2016 15:30:21 -0200 Subject: [PATCH 100/114] update: readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c7bc85..ccf581d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ You can manually download the package and place it within your `Packages` direct You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text. -[Tested on windows] When the "."(dot) is used, the autocomplete disappears.. To resolve this problem, just put on in your user `Preferences > Settings - User`, the property `word_separators` with the value without the "."(dot). You can see an example [here](Preferences.sublime-settings). +[Tested on windows] When the "."(dot) is used, the autocomplete disappears.. Solve this problem, just put in your user `Preferences > Settings - User`, the property `word_separators` with value without the "."(dot). You can see an example [here](Preferences.sublime-settings). ## Snippets and prefixes/keys From ec36813639069a0dfc30a9d6c6c0482d71ae91b9 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Fri, 12 Feb 2016 22:34:43 -0200 Subject: [PATCH 101/114] add: pt_BR translation --- README.md | 4 ++ translations/pt_BR/README.md | 95 ++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 translations/pt_BR/README.md diff --git a/README.md b/README.md index ccf581d..54c11f6 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ ![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) +## Translations + +* [Portuguese - Brazil](translations/pt_BR) + ## Install If you already have the [Package Control](http://wbond.net/sublime_packages/package_control) installed , just search for ***Front-end Project Snippets***. If you have not installed in the Sublime, you can do it [here](http://wbond.net/sublime_packages/package_control/installation). diff --git a/translations/pt_BR/README.md b/translations/pt_BR/README.md new file mode 100644 index 0000000..137bd9f --- /dev/null +++ b/translations/pt_BR/README.md @@ -0,0 +1,95 @@ +# Front-end Project Snippets + +[![Travis](https://img.shields.io/travis/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/brazilian-dev/sublime-front-end-snippets) +[![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) +[![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) +[![GitHub release](https://img.shields.io/github/release/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) +[![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) + +![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) + +## Traduções + +* [ORIGINAL](https://github.com/brazilian-dev/sublime-front-end-snippets/) + +## Install + +If you already have the [Package Control](http://wbond.net/sublime_packages/package_control) installed , just search for ***Front-end Project Snippets***. If you have not installed in the Sublime, you can do it [here](http://wbond.net/sublime_packages/package_control/installation). + +You can manually download the package and place it within your `Packages` directory. It will work, but it will not be automatically updated. + +You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text. + +[Tested on windows] When the "."(dot) is used, the autocomplete disappears.. Solve this problem, just put in your user `Preferences > Settings - User`, the property `word_separators` with value without the "."(dot). You can see an example [here](Preferences.sublime-settings). + +## Snippets and prefixes/keys + +- [HTML - h.*](snippets/html/) + - [Microdata - hm.*](snippets/html/schema/microdata) + - [WAI-ARIA - hw.*](snippets/html/wai-aria) +- [CSS - c.*](snippets/css/) +- [JavaScript - j.*](snippets/js/vanilla) + - [EcmaScript 2015 - je.*](snippets/js/es6/) + - [Libraries](snippets/js/libraries) + - [jQuery - jq.*](snippets/js/libraries/jquery) + - [React - jr.*](snippets/js/libraries/react) + - [Patterns](snippets/js/patterns) + - [Design Patterns - jdp.*](snippets/js/patterns/design-patterns) + - [UMD - jumd.*](snippets/js/patterns/umd) + - [Tests](snippets/js/tests) + - [Common - t.*](snippets/js/tests/common) + - [Chai - tc.*](snippets/js/tests/chai) + - [Jasmine - tj.*](snippets/js/tests/jasmine) + - [Mocha - tm.*](snippets/js/tests/mocha) + - [Node - tn.*](snippets/js/tests/node) + - [QUnit - tq.*](snippets/js/tests/qunit) + - [Sinon - ts.*](snippets/js/tests/sinon) +- [Regex](snippets/regex/) +- [Schema.org](snippets/schema) + - [JSON-LD - sj.*](snippets/schema/json-ld) + - [Microdata - sm.*](snippets/schema/microdata) + - [RDFa - sr.*](snippets/schema/rdfa) +- [External - e.*](snippets/external/) +- [Comment](snippets/comment/) + - [HTML - hc.*](snippets/comment/html) + - [CSS - cc.*](snippets/comment/css) + - [JavaScript - jc.*](snippets/comment/js) +- [Structure data](snippets/structured-data) (***examples***) + - [Microdata - z.microdata](snippets/structured-data/microdata) + - [JSON-LD - z.jsonld](snippets/structured-data/json-ld) + - [RDFa - z.rdfa](snippets/structured-data/rdfa) + +## References + +* [@caiogondim](https://github.com/caiogondim) (Caio Gondim) + [https://github.com/caiogondim/js-patterns-sublime-snippets](https://github.com/caiogondim/js-patterns-sublime-snippets) +* [@zenorocha](https://github.com/zenorocha) (Zeno Rocha) + [https://github.com/zenorocha/sublime-javascript-snippets](https://github.com/zenorocha/sublime-javascript-snippets) +* [@joshnh](https://github.com/joshnh) (Joshua Hibbert) + [https://github.com/joshnh/CSS-Snippets](https://github.com/joshnh/CSS-Snippets) +* (Schema.org) [http://schema.org/](http://schema.org/) +* (jQuery) [https://api.jquery.com/](https://api.jquery.com/) +* (jQuery Boilerplate)[https://jqueryboilerplate.com/](https://jqueryboilerplate.com/) +* (JSDuck) [https://github.com/senchalabs/jsduck](https://github.com/senchalabs/jsduck) +* (idiomatic CSS) [https://github.com/necolas/idiomatic-css](https://github.com/necolas/idiomatic-css) +* (JS Design Patterns) [https://addyosmani.com/resources/essentialjsdesignpatterns/book/](https://addyosmani.com/resources/essentialjsdesignpatterns/book/) +* (Node.js Assert) [https://nodejs.org/api/assert.html](https://nodejs.org/api/assert.html) +* (Jasmine) [http://jasmine.github.io/2.0/introduction.html](http://jasmine.github.io/2.0/introduction.html) +* (ReactJS cheatsheet) [http://reactcheatsheet.com/](http://reactcheatsheet.com/) +* (ES6 Features) [https://github.com/lukehoban/es6features#readme](https://github.com/lukehoban/es6features#readme) + +## Contributing + +- Fork it! +- Create your feature branch: `git checkout -b my-new-feature` +- Commit your changes: `git commit -m 'Add some feature'` +- Push to the branch: `git push origin my-new-feature` +- Submit a pull request + +## Log + +Check [Releases](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) for detailed changelog. + +## License + +[MIT license](http://hemersonvianna.mit-license.org/) © Hemerson Vianna From 335cc46e2a0930cf4865628c893883b87b0b27b3 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Sat, 13 Feb 2016 23:21:40 -0200 Subject: [PATCH 102/114] update: pt_BR translation --- translations/pt_BR/README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/translations/pt_BR/README.md b/translations/pt_BR/README.md index 137bd9f..8b799b1 100644 --- a/translations/pt_BR/README.md +++ b/translations/pt_BR/README.md @@ -12,17 +12,17 @@ * [ORIGINAL](https://github.com/brazilian-dev/sublime-front-end-snippets/) -## Install +## Instalação -If you already have the [Package Control](http://wbond.net/sublime_packages/package_control) installed , just search for ***Front-end Project Snippets***. If you have not installed in the Sublime, you can do it [here](http://wbond.net/sublime_packages/package_control/installation). +Se você já tem o [Package Control](http://wbond.net/sublime_packages/package_control) instalado, basta procurar por ***Front-end Project Snippets***. Se você não tiver instalado no Sublime, você pode fazê-lo [aqui](http://wbond.net/sublime_packages/package_control/installation). -You can manually download the package and place it within your `Packages` directory. It will work, but it will not be automatically updated. +Você pode baixar manualmente o pacote e colocá-lo dentro do seu diretório `Packages`. Ele vai funcionar, mas ele não será atualizado automaticamente. -You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text. +Você pode ver os snippets instalados em `Tools > Snippets...`, no Sublime Text. -[Tested on windows] When the "."(dot) is used, the autocomplete disappears.. Solve this problem, just put in your user `Preferences > Settings - User`, the property `word_separators` with value without the "."(dot). You can see an example [here](Preferences.sublime-settings). +[Testado no windows] Quando o "."(ponto) é utilizado, o autocomplete desaparece. Para resolver esse problema, basta colocar em seu usuário `Preferences > Settings - User`, a propriedade `word_separators` com o valor sem "."(ponto). Você pode ver um exemplo [aqui](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/Preferences.sublime-settings). -## Snippets and prefixes/keys +## Snippets e prefixos/chaves - [HTML - h.*](snippets/html/) - [Microdata - hm.*](snippets/html/schema/microdata) @@ -59,7 +59,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text - [JSON-LD - z.jsonld](snippets/structured-data/json-ld) - [RDFa - z.rdfa](snippets/structured-data/rdfa) -## References +## Referências * [@caiogondim](https://github.com/caiogondim) (Caio Gondim) [https://github.com/caiogondim/js-patterns-sublime-snippets](https://github.com/caiogondim/js-patterns-sublime-snippets) @@ -78,18 +78,18 @@ You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text * (ReactJS cheatsheet) [http://reactcheatsheet.com/](http://reactcheatsheet.com/) * (ES6 Features) [https://github.com/lukehoban/es6features#readme](https://github.com/lukehoban/es6features#readme) -## Contributing +## Contribuindo -- Fork it! -- Create your feature branch: `git checkout -b my-new-feature` -- Commit your changes: `git commit -m 'Add some feature'` -- Push to the branch: `git push origin my-new-feature` -- Submit a pull request +- Faça o fork! +- Crie a sua branch feature: `git checkout -b my-new-feature` +- Faça o commit das suas alterações: `git commit -m 'Add some feature'` +- Faça o push para o servidor: `git push origin my-new-feature` +- E realize o pull request ## Log -Check [Releases](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) for detailed changelog. +Verifique os [Releases](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) ver detalhado o log de alterações. -## License +## Licença [MIT license](http://hemersonvianna.mit-license.org/) © Hemerson Vianna From 6bac2ced26ee23bb20142664abfaad500d783da2 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Sat, 13 Feb 2016 23:27:26 -0200 Subject: [PATCH 103/114] update: links pt_BR --- README.md | 2 +- translations/pt_BR/README.md | 70 ++++++++++++++++++------------------ 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 54c11f6..a4c13b1 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ## Install -If you already have the [Package Control](http://wbond.net/sublime_packages/package_control) installed , just search for ***Front-end Project Snippets***. If you have not installed in the Sublime, you can do it [here](http://wbond.net/sublime_packages/package_control/installation). +If you already have the [Package Control](http://wbond.net/sublime_packages/package_control) installed , just search for `Front-end Project Snippets`. If you have not installed in the Sublime, you can do it [here](http://wbond.net/sublime_packages/package_control/installation). You can manually download the package and place it within your `Packages` directory. It will work, but it will not be automatically updated. diff --git a/translations/pt_BR/README.md b/translations/pt_BR/README.md index 8b799b1..cd63fa1 100644 --- a/translations/pt_BR/README.md +++ b/translations/pt_BR/README.md @@ -14,7 +14,7 @@ ## Instalação -Se você já tem o [Package Control](http://wbond.net/sublime_packages/package_control) instalado, basta procurar por ***Front-end Project Snippets***. Se você não tiver instalado no Sublime, você pode fazê-lo [aqui](http://wbond.net/sublime_packages/package_control/installation). +Se você já tem o [Package Control](http://wbond.net/sublime_packages/package_control) instalado, basta procurar por `Front-end Project Snippets`. Se você não tiver instalado no Sublime, você pode fazê-lo [aqui](http://wbond.net/sublime_packages/package_control/installation). Você pode baixar manualmente o pacote e colocá-lo dentro do seu diretório `Packages`. Ele vai funcionar, mas ele não será atualizado automaticamente. @@ -24,40 +24,40 @@ Você pode ver os snippets instalados em `Tools > Snippets...`, no Sublime Text. ## Snippets e prefixos/chaves -- [HTML - h.*](snippets/html/) - - [Microdata - hm.*](snippets/html/schema/microdata) - - [WAI-ARIA - hw.*](snippets/html/wai-aria) -- [CSS - c.*](snippets/css/) -- [JavaScript - j.*](snippets/js/vanilla) - - [EcmaScript 2015 - je.*](snippets/js/es6/) - - [Libraries](snippets/js/libraries) - - [jQuery - jq.*](snippets/js/libraries/jquery) - - [React - jr.*](snippets/js/libraries/react) - - [Patterns](snippets/js/patterns) - - [Design Patterns - jdp.*](snippets/js/patterns/design-patterns) - - [UMD - jumd.*](snippets/js/patterns/umd) - - [Tests](snippets/js/tests) - - [Common - t.*](snippets/js/tests/common) - - [Chai - tc.*](snippets/js/tests/chai) - - [Jasmine - tj.*](snippets/js/tests/jasmine) - - [Mocha - tm.*](snippets/js/tests/mocha) - - [Node - tn.*](snippets/js/tests/node) - - [QUnit - tq.*](snippets/js/tests/qunit) - - [Sinon - ts.*](snippets/js/tests/sinon) -- [Regex](snippets/regex/) -- [Schema.org](snippets/schema) - - [JSON-LD - sj.*](snippets/schema/json-ld) - - [Microdata - sm.*](snippets/schema/microdata) - - [RDFa - sr.*](snippets/schema/rdfa) -- [External - e.*](snippets/external/) -- [Comment](snippets/comment/) - - [HTML - hc.*](snippets/comment/html) - - [CSS - cc.*](snippets/comment/css) - - [JavaScript - jc.*](snippets/comment/js) -- [Structure data](snippets/structured-data) (***examples***) - - [Microdata - z.microdata](snippets/structured-data/microdata) - - [JSON-LD - z.jsonld](snippets/structured-data/json-ld) - - [RDFa - z.rdfa](snippets/structured-data/rdfa) +- [HTML - h.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/html/) + - [Microdata - hm.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/html/schema/microdata) + - [WAI-ARIA - hw.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/html/wai-aria) +- [CSS - c.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/css/) +- [JavaScript - j.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/vanilla) + - [EcmaScript 2015 - je.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/es6/) + - [Libraries](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/libraries) + - [jQuery - jq.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/libraries/jquery) + - [React - jr.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/libraries/react) + - [Patterns](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/patterns) + - [Design Patterns - jdp.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/patterns/design-patterns) + - [UMD - jumd.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/patterns/umd) + - [Tests](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests) + - [Common - t.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/common) + - [Chai - tc.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/chai) + - [Jasmine - tj.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/jasmine) + - [Mocha - tm.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/mocha) + - [Node - tn.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/node) + - [QUnit - tq.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/qunit) + - [Sinon - ts.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/sinon) +- [Regex](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/regex/) +- [Schema.org](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/schema) + - [JSON-LD - sj.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/schema/json-ld) + - [Microdata - sm.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/schema/microdata) + - [RDFa - sr.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/schema/rdfa) +- [External - e.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/external/) +- [Comment](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/comment/) + - [HTML - hc.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/comment/html) + - [CSS - cc.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/comment/css) + - [JavaScript - jc.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/comment/js) +- [Structure data](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/structured-data) (***examples***) + - [Microdata - z.microdata](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/structured-data/microdata) + - [JSON-LD - z.jsonld](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/structured-data/json-ld) + - [RDFa - z.rdfa](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/structured-data/rdfa) ## Referências From e4a7537c9e052c4dbc21d7fc9d0d9768c0f78517 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 10 Mar 2016 04:30:21 -0300 Subject: [PATCH 104/114] fix: syntax --- Preferences.sublime-settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Preferences.sublime-settings b/Preferences.sublime-settings index be90725..71ded4e 100644 --- a/Preferences.sublime-settings +++ b/Preferences.sublime-settings @@ -1,3 +1,3 @@ { - "word_separators": "/\\()\"‘-:,;><~!@#$%^&*|+=[]{}`~?" + "word_separators": "/\\()\"'-:,;><~!@#$%^&*|+=[]{}`~?" } From 665279e1bdf906960621f2b30dfa88112e39d825 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Wed, 16 Mar 2016 19:41:16 -0300 Subject: [PATCH 105/114] add: github templates --- .github/ISSUE_TEMPLATE.md | 18 ++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 20 ++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..aef6648 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,18 @@ +Please prefix your issue with one of the following: **[BUG]** **[PROPOSAL]** **[QUESTION]**. + +**In raising this issue, I confirm the following (please check boxes):** + +- [ ] I have read and understood the contributors guide. +- [ ] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present. +- [ ] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion. + +**My familiarity with the project is as follows (check one):** + +- [ ] I have never used the project. +- [ ] I have used the project briefly. +- [ ] I have used the project extensively, but have not contributed previously. +- [ ] I am an active contributor to the project. + +--- + +{issue content here} diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..192c0d1 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,20 @@ +Please prefix your pull request with one of the following: **[FEATURE]** **[FIX]** **[IMPROVEMENT]**. + +**In raising this pull request, I confirm the following (please check boxes):** + +- [ ] I have read and understood the contributors guide. +- [ ] I have checked that another pull request for this purpose does not exist. +- [ ] I have considered, and confirmed that this submission will be valuable to others. +- [ ] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. +- [ ] I give this submission freely, and claim no ownership to its content. + +**My familiarity with the project is as follows (check one):** + +- [ ] I have never used the project. +- [ ] I have used the project briefly. +- [ ] I have used the project extensively, but have not contributed previously. +- [ ] I am an active contributor to the project. + +--- + +{pull request content here} From eec50a139f63abf56535b46987460858a4bf6c0e Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Thu, 22 Feb 2018 14:27:08 -0300 Subject: [PATCH 106/114] feat: update readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a4c13b1..dd9d6a5 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Front-end Project Snippets -[![Travis](https://img.shields.io/travis/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/brazilian-dev/sublime-front-end-snippets) -[![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) +[![Travis](https://img.shields.io/travis/descco-support/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/descco-support/sublime-front-end-snippets) +[![issues](https://img.shields.io/github/issues/descco-support/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/descco-support/sublime-front-end-snippets/issues) [![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) -[![GitHub release](https://img.shields.io/github/release/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) +[![GitHub release](https://img.shields.io/github/release/descco-support/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/descco-support/sublime-front-end-snippets/releases) [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) ![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) @@ -88,7 +88,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text ## Log -Check [Releases](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) for detailed changelog. +Check [Releases](https://github.com/descco-support/sublime-front-end-snippets/releases) for detailed changelog. ## License From 3172316f3bb03b532ac4529482f3a668aadd5ffd Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 23 Jul 2019 09:21:58 -0300 Subject: [PATCH 107/114] feat: update badges in readme --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dd9d6a5..6e105b8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,15 @@ # Front-end Project Snippets -[![Travis](https://img.shields.io/travis/descco-support/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/descco-support/sublime-front-end-snippets) -[![issues](https://img.shields.io/github/issues/descco-support/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/descco-support/sublime-front-end-snippets/issues) -[![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) -[![GitHub release](https://img.shields.io/github/release/descco-support/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/descco-support/sublime-front-end-snippets/releases) [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) +[![GitHub issues](https://img.shields.io/github/issues/org-descco/foradabolha.github.io.svg)](https://github.com/org-descco/foradabolha.github.io/issues) +![GitHub package.json version](https://img.shields.io/github/package-json/v/org-descco/foradabolha.github.io.svg) +![GitHub Release Date](https://img.shields.io/github/release-date/org-descco/foradabolha.github.io.svg) +![GitHub top language](https://img.shields.io/github/languages/top/org-descco/foradabolha.github.io.svg) +![GitHub repo size](https://img.shields.io/github/repo-size/org-descco/foradabolha.github.io.svg) +![GitHub All Releases](https://img.shields.io/github/downloads/org-descco/foradabolha.github.io/total.svg) + +[![Travis](https://img.shields.io/travis/org-moon-world/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/org-moon-world/sublime-front-end-snippets)ets/issues) +[![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) ![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) @@ -88,7 +93,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text ## Log -Check [Releases](https://github.com/descco-support/sublime-front-end-snippets/releases) for detailed changelog. +Check [Releases](https://github.com/org-moon-world/sublime-front-end-snippets/releases) for detailed changelog. ## License From 754394f5f3f38b253de25d25bd0a4c342420bc7e Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 23 Jul 2019 09:24:04 -0300 Subject: [PATCH 108/114] fix: update badges in readme --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6e105b8..8a7052d 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # Front-end Project Snippets [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) -[![GitHub issues](https://img.shields.io/github/issues/org-descco/foradabolha.github.io.svg)](https://github.com/org-descco/foradabolha.github.io/issues) -![GitHub package.json version](https://img.shields.io/github/package-json/v/org-descco/foradabolha.github.io.svg) -![GitHub Release Date](https://img.shields.io/github/release-date/org-descco/foradabolha.github.io.svg) -![GitHub top language](https://img.shields.io/github/languages/top/org-descco/foradabolha.github.io.svg) -![GitHub repo size](https://img.shields.io/github/repo-size/org-descco/foradabolha.github.io.svg) -![GitHub All Releases](https://img.shields.io/github/downloads/org-descco/foradabolha.github.io/total.svg) - -[![Travis](https://img.shields.io/travis/org-moon-world/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/org-moon-world/sublime-front-end-snippets)ets/issues) +[![GitHub issues](https://img.shields.io/github/issues/org-descco/sublime-front-end-snippets.svg)](https://github.com/org-descco/sublime-front-end-snippets/issues) +![GitHub package.json version](https://img.shields.io/github/package-json/v/org-descco/sublime-front-end-snippets.svg) +![GitHub Release Date](https://img.shields.io/github/release-date/org-descco/sublime-front-end-snippets.svg) +![GitHub top language](https://img.shields.io/github/languages/top/org-descco/sublime-front-end-snippets.svg) +![GitHub repo size](https://img.shields.io/github/repo-size/org-descco/sublime-front-end-snippets.svg) +![GitHub All Releases](https://img.shields.io/github/downloads/org-descco/sublime-front-end-snippets/total.svg) + +[![Travis](https://img.shields.io/travis/org-moon-world/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/org-moon-world/sublime-front-end-snippets) [![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) ![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) From ce9d211707e3a8153bd32f96ad6ed9290c50647b Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 23 Jul 2019 09:26:08 -0300 Subject: [PATCH 109/114] fix: readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8a7052d..5102bec 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Front-end Project Snippets [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) -[![GitHub issues](https://img.shields.io/github/issues/org-descco/sublime-front-end-snippets.svg)](https://github.com/org-descco/sublime-front-end-snippets/issues) -![GitHub package.json version](https://img.shields.io/github/package-json/v/org-descco/sublime-front-end-snippets.svg) -![GitHub Release Date](https://img.shields.io/github/release-date/org-descco/sublime-front-end-snippets.svg) -![GitHub top language](https://img.shields.io/github/languages/top/org-descco/sublime-front-end-snippets.svg) -![GitHub repo size](https://img.shields.io/github/repo-size/org-descco/sublime-front-end-snippets.svg) -![GitHub All Releases](https://img.shields.io/github/downloads/org-descco/sublime-front-end-snippets/total.svg) +[![GitHub issues](https://img.shields.io/github/issues/org-moon-world/sublime-front-end-snippets.svg)](https://github.com/org-moon-world/sublime-front-end-snippets/issues) +![GitHub package.json version](https://img.shields.io/github/package-json/v/org-moon-world/sublime-front-end-snippets.svg) +![GitHub Release Date](https://img.shields.io/github/release-date/org-moon-world/sublime-front-end-snippets.svg) +![GitHub top language](https://img.shields.io/github/languages/top/org-moon-world/sublime-front-end-snippets.svg) +![GitHub repo size](https://img.shields.io/github/repo-size/org-moon-world/sublime-front-end-snippets.svg) +![GitHub All Releases](https://img.shields.io/github/downloads/org-moon-world/sublime-front-end-snippets/total.svg) [![Travis](https://img.shields.io/travis/org-moon-world/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/org-moon-world/sublime-front-end-snippets) [![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) From 423d6b41afe608207ed062c98f89c59c7a81e897 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 23 Jul 2019 09:27:18 -0300 Subject: [PATCH 110/114] fix: hide badge of package json --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5102bec..430f9af 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) [![GitHub issues](https://img.shields.io/github/issues/org-moon-world/sublime-front-end-snippets.svg)](https://github.com/org-moon-world/sublime-front-end-snippets/issues) -![GitHub package.json version](https://img.shields.io/github/package-json/v/org-moon-world/sublime-front-end-snippets.svg) +# ![GitHub package.json version](https://img.shields.io/github/package-json/v/org-moon-world/sublime-front-end-snippets.svg) ![GitHub Release Date](https://img.shields.io/github/release-date/org-moon-world/sublime-front-end-snippets.svg) ![GitHub top language](https://img.shields.io/github/languages/top/org-moon-world/sublime-front-end-snippets.svg) ![GitHub repo size](https://img.shields.io/github/repo-size/org-moon-world/sublime-front-end-snippets.svg) From fd99e500405e0c207b9308e7f5755038fd2b1bfb Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 23 Jul 2019 09:30:22 -0300 Subject: [PATCH 111/114] fix: add comment --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 430f9af..1f5c1d2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) [![GitHub issues](https://img.shields.io/github/issues/org-moon-world/sublime-front-end-snippets.svg)](https://github.com/org-moon-world/sublime-front-end-snippets/issues) -# ![GitHub package.json version](https://img.shields.io/github/package-json/v/org-moon-world/sublime-front-end-snippets.svg) + ![GitHub Release Date](https://img.shields.io/github/release-date/org-moon-world/sublime-front-end-snippets.svg) ![GitHub top language](https://img.shields.io/github/languages/top/org-moon-world/sublime-front-end-snippets.svg) ![GitHub repo size](https://img.shields.io/github/repo-size/org-moon-world/sublime-front-end-snippets.svg) From 02768114b2041ece0aa01958f9dcad45dae4bce4 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 23 Jul 2019 09:31:00 -0300 Subject: [PATCH 112/114] fix: readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 1f5c1d2..6b99db5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) [![GitHub issues](https://img.shields.io/github/issues/org-moon-world/sublime-front-end-snippets.svg)](https://github.com/org-moon-world/sublime-front-end-snippets/issues) - ![GitHub Release Date](https://img.shields.io/github/release-date/org-moon-world/sublime-front-end-snippets.svg) ![GitHub top language](https://img.shields.io/github/languages/top/org-moon-world/sublime-front-end-snippets.svg) ![GitHub repo size](https://img.shields.io/github/repo-size/org-moon-world/sublime-front-end-snippets.svg) From 67cbb7f22202a06e2c7f6c4ccf288e76287c5ed7 Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Tue, 23 Jul 2019 09:31:47 -0300 Subject: [PATCH 113/114] fix: remove spacing --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 6b99db5..abed309 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ ![GitHub top language](https://img.shields.io/github/languages/top/org-moon-world/sublime-front-end-snippets.svg) ![GitHub repo size](https://img.shields.io/github/repo-size/org-moon-world/sublime-front-end-snippets.svg) ![GitHub All Releases](https://img.shields.io/github/downloads/org-moon-world/sublime-front-end-snippets/total.svg) - [![Travis](https://img.shields.io/travis/org-moon-world/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/org-moon-world/sublime-front-end-snippets) [![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) From 24788dcb18045c37287c4666dcf66102b102843e Mon Sep 17 00:00:00 2001 From: Hemerson Vianna Date: Sat, 11 Jul 2020 00:01:42 -0300 Subject: [PATCH 114/114] feat: update owner --- README.md | 14 +++---- translations/pt_BR/README.md | 80 ++++++++++++++++++------------------ 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/README.md b/README.md index abed309..37d5858 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Front-end Project Snippets [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) -[![GitHub issues](https://img.shields.io/github/issues/org-moon-world/sublime-front-end-snippets.svg)](https://github.com/org-moon-world/sublime-front-end-snippets/issues) -![GitHub Release Date](https://img.shields.io/github/release-date/org-moon-world/sublime-front-end-snippets.svg) -![GitHub top language](https://img.shields.io/github/languages/top/org-moon-world/sublime-front-end-snippets.svg) -![GitHub repo size](https://img.shields.io/github/repo-size/org-moon-world/sublime-front-end-snippets.svg) -![GitHub All Releases](https://img.shields.io/github/downloads/org-moon-world/sublime-front-end-snippets/total.svg) -[![Travis](https://img.shields.io/travis/org-moon-world/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/org-moon-world/sublime-front-end-snippets) +[![GitHub issues](https://img.shields.io/github/issues/w3dotdev/sublime-front-end-snippets.svg)](https://github.com/w3dotdev/sublime-front-end-snippets/issues) +![GitHub Release Date](https://img.shields.io/github/release-date/w3dotdev/sublime-front-end-snippets.svg) +![GitHub top language](https://img.shields.io/github/languages/top/w3dotdev/sublime-front-end-snippets.svg) +![GitHub repo size](https://img.shields.io/github/repo-size/w3dotdev/sublime-front-end-snippets.svg) +![GitHub All Releases](https://img.shields.io/github/downloads/w3dotdev/sublime-front-end-snippets/total.svg) +[![Travis](https://img.shields.io/travis/w3dotdev/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/w3dotdev/sublime-front-end-snippets) [![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) ![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) @@ -91,7 +91,7 @@ You can see all installed snippets in `Tools > Snippets...`, in the Sublime Text ## Log -Check [Releases](https://github.com/org-moon-world/sublime-front-end-snippets/releases) for detailed changelog. +Check [Releases](https://github.com/w3dotdev/sublime-front-end-snippets/releases) for detailed changelog. ## License diff --git a/translations/pt_BR/README.md b/translations/pt_BR/README.md index cd63fa1..b4492ee 100644 --- a/translations/pt_BR/README.md +++ b/translations/pt_BR/README.md @@ -1,16 +1,16 @@ # Front-end Project Snippets -[![Travis](https://img.shields.io/travis/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/brazilian-dev/sublime-front-end-snippets) -[![issues](https://img.shields.io/github/issues/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/issues) +[![Travis](https://img.shields.io/travis/w3dotdev/sublime-front-end-snippets.svg?style=flat-square)](https://travis-ci.org/w3dotdev/sublime-front-end-snippets) +[![issues](https://img.shields.io/github/issues/w3dotdev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/w3dotdev/sublime-front-end-snippets/issues) [![Package Control](https://img.shields.io/packagecontrol/dt/Front-end%20Project%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/Front-end%20Project%20Snippets) -[![GitHub release](https://img.shields.io/github/release/brazilian-dev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) +[![GitHub release](https://img.shields.io/github/release/w3dotdev/sublime-front-end-snippets.svg?style=flat-square)](https://github.com/w3dotdev/sublime-front-end-snippets/releases) [![licence mit](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](http://hemersonvianna.mit-license.org/) ![animation](https://cloud.githubusercontent.com/assets/1963897/12625364/a94decc8-c51a-11e5-8546-ca331af65982.gif) ## Traduções -* [ORIGINAL](https://github.com/brazilian-dev/sublime-front-end-snippets/) +* [ORIGINAL](https://github.com/w3dotdev/sublime-front-end-snippets/) ## Instalação @@ -20,44 +20,44 @@ Você pode baixar manualmente o pacote e colocá-lo dentro do seu diretório `Pa Você pode ver os snippets instalados em `Tools > Snippets...`, no Sublime Text. -[Testado no windows] Quando o "."(ponto) é utilizado, o autocomplete desaparece. Para resolver esse problema, basta colocar em seu usuário `Preferences > Settings - User`, a propriedade `word_separators` com o valor sem "."(ponto). Você pode ver um exemplo [aqui](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/Preferences.sublime-settings). +[Testado no windows] Quando o "."(ponto) é utilizado, o autocomplete desaparece. Para resolver esse problema, basta colocar em seu usuário `Preferences > Settings - User`, a propriedade `word_separators` com o valor sem "."(ponto). Você pode ver um exemplo [aqui](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/Preferences.sublime-settings). ## Snippets e prefixos/chaves -- [HTML - h.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/html/) - - [Microdata - hm.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/html/schema/microdata) - - [WAI-ARIA - hw.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/html/wai-aria) -- [CSS - c.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/css/) -- [JavaScript - j.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/vanilla) - - [EcmaScript 2015 - je.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/es6/) - - [Libraries](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/libraries) - - [jQuery - jq.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/libraries/jquery) - - [React - jr.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/libraries/react) - - [Patterns](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/patterns) - - [Design Patterns - jdp.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/patterns/design-patterns) - - [UMD - jumd.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/patterns/umd) - - [Tests](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests) - - [Common - t.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/common) - - [Chai - tc.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/chai) - - [Jasmine - tj.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/jasmine) - - [Mocha - tm.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/mocha) - - [Node - tn.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/node) - - [QUnit - tq.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/qunit) - - [Sinon - ts.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/js/tests/sinon) -- [Regex](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/regex/) -- [Schema.org](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/schema) - - [JSON-LD - sj.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/schema/json-ld) - - [Microdata - sm.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/schema/microdata) - - [RDFa - sr.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/schema/rdfa) -- [External - e.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/external/) -- [Comment](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/comment/) - - [HTML - hc.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/comment/html) - - [CSS - cc.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/comment/css) - - [JavaScript - jc.*](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/comment/js) -- [Structure data](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/structured-data) (***examples***) - - [Microdata - z.microdata](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/structured-data/microdata) - - [JSON-LD - z.jsonld](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/structured-data/json-ld) - - [RDFa - z.rdfa](https://github.com/brazilian-dev/sublime-front-end-snippets/blob/master/snippets/structured-data/rdfa) +- [HTML - h.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/html/) + - [Microdata - hm.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/html/schema/microdata) + - [WAI-ARIA - hw.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/html/wai-aria) +- [CSS - c.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/css/) +- [JavaScript - j.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/vanilla) + - [EcmaScript 2015 - je.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/es6/) + - [Libraries](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/libraries) + - [jQuery - jq.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/libraries/jquery) + - [React - jr.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/libraries/react) + - [Patterns](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/patterns) + - [Design Patterns - jdp.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/patterns/design-patterns) + - [UMD - jumd.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/patterns/umd) + - [Tests](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/tests) + - [Common - t.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/tests/common) + - [Chai - tc.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/tests/chai) + - [Jasmine - tj.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/tests/jasmine) + - [Mocha - tm.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/tests/mocha) + - [Node - tn.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/tests/node) + - [QUnit - tq.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/tests/qunit) + - [Sinon - ts.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/js/tests/sinon) +- [Regex](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/regex/) +- [Schema.org](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/schema) + - [JSON-LD - sj.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/schema/json-ld) + - [Microdata - sm.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/schema/microdata) + - [RDFa - sr.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/schema/rdfa) +- [External - e.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/external/) +- [Comment](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/comment/) + - [HTML - hc.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/comment/html) + - [CSS - cc.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/comment/css) + - [JavaScript - jc.*](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/comment/js) +- [Structure data](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/structured-data) (***examples***) + - [Microdata - z.microdata](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/structured-data/microdata) + - [JSON-LD - z.jsonld](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/structured-data/json-ld) + - [RDFa - z.rdfa](https://github.com/w3dotdev/sublime-front-end-snippets/blob/master/snippets/structured-data/rdfa) ## Referências @@ -88,7 +88,7 @@ Você pode ver os snippets instalados em `Tools > Snippets...`, no Sublime Text. ## Log -Verifique os [Releases](https://github.com/brazilian-dev/sublime-front-end-snippets/releases) ver detalhado o log de alterações. +Verifique os [Releases](https://github.com/w3dotdev/sublime-front-end-snippets/releases) ver detalhado o log de alterações. ## Licença