jqueryplugingen 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. data/History.txt +7 -0
  2. data/Manifest.txt +160 -1
  3. data/README.rdoc +1 -3
  4. data/bundles/JavaScript jQuery.tmbundle/Commands/Documentation for Word : Selection.tmCommand +68 -0
  5. data/bundles/JavaScript jQuery.tmbundle/Snippets/$ (Select DOM Element).tmSnippet +16 -0
  6. data/bundles/JavaScript jQuery.tmbundle/Snippets/$(this).tmSnippet +16 -0
  7. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_ajax(hash).tmSnippet +28 -0
  8. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_ajaxError.tmSnippet +19 -0
  9. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_ajaxSend.tmSnippet +19 -0
  10. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_ajaxSetup.tmSnippet +28 -0
  11. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_ajaxSuccess.tmSnippet +18 -0
  12. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_get.tmSnippet +19 -0
  13. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_getIfModified.tmSnippet +19 -0
  14. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_getJSON.tmSnippet +21 -0
  15. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_getScript.tmSnippet +19 -0
  16. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_post.tmSnippet +23 -0
  17. data/bundles/JavaScript jQuery.tmbundle/Snippets/$_trim.tmSnippet +16 -0
  18. data/bundles/JavaScript jQuery.tmbundle/Snippets/:checked.tmSnippet +18 -0
  19. data/bundles/JavaScript jQuery.tmbundle/Snippets/:contains('test').tmSnippet +18 -0
  20. data/bundles/JavaScript jQuery.tmbundle/Snippets/:disabled.tmSnippet +18 -0
  21. data/bundles/JavaScript jQuery.tmbundle/Snippets/:empty.tmSnippet +18 -0
  22. data/bundles/JavaScript jQuery.tmbundle/Snippets/:enabled.tmSnippet +18 -0
  23. data/bundles/JavaScript jQuery.tmbundle/Snippets/:eq(n).tmSnippet +18 -0
  24. data/bundles/JavaScript jQuery.tmbundle/Snippets/:even.tmSnippet +18 -0
  25. data/bundles/JavaScript jQuery.tmbundle/Snippets/:first-child.tmSnippet +18 -0
  26. data/bundles/JavaScript jQuery.tmbundle/Snippets/:first-of-type.tmSnippet +18 -0
  27. data/bundles/JavaScript jQuery.tmbundle/Snippets/:first.tmSnippet +18 -0
  28. data/bundles/JavaScript jQuery.tmbundle/Snippets/:gt(n).tmSnippet +18 -0
  29. data/bundles/JavaScript jQuery.tmbundle/Snippets/:hidden.tmSnippet +19 -0
  30. data/bundles/JavaScript jQuery.tmbundle/Snippets/:last-child.tmSnippet +18 -0
  31. data/bundles/JavaScript jQuery.tmbundle/Snippets/:last-of-type.tmSnippet +18 -0
  32. data/bundles/JavaScript jQuery.tmbundle/Snippets/:last.tmSnippet +18 -0
  33. data/bundles/JavaScript jQuery.tmbundle/Snippets/:lt(n).tmSnippet +18 -0
  34. data/bundles/JavaScript jQuery.tmbundle/Snippets/:not(s).tmSnippet +18 -0
  35. data/bundles/JavaScript jQuery.tmbundle/Snippets/:nth-child(n).tmSnippet +18 -0
  36. data/bundles/JavaScript jQuery.tmbundle/Snippets/:nth-last-child(n).tmSnippet +18 -0
  37. data/bundles/JavaScript jQuery.tmbundle/Snippets/:nth-of-type(n).tmSnippet +18 -0
  38. data/bundles/JavaScript jQuery.tmbundle/Snippets/:odd.tmSnippet +18 -0
  39. data/bundles/JavaScript jQuery.tmbundle/Snippets/:only-child.tmSnippet +18 -0
  40. data/bundles/JavaScript jQuery.tmbundle/Snippets/:only-of-type.tmSnippet +18 -0
  41. data/bundles/JavaScript jQuery.tmbundle/Snippets/:parent.tmSnippet +19 -0
  42. data/bundles/JavaScript jQuery.tmbundle/Snippets/:root.tmSnippet +18 -0
  43. data/bundles/JavaScript jQuery.tmbundle/Snippets/:visible.tmSnippet +19 -0
  44. data/bundles/JavaScript jQuery.tmbundle/Snippets/add.tmSnippet +16 -0
  45. data/bundles/JavaScript jQuery.tmbundle/Snippets/addClass.tmSnippet +16 -0
  46. data/bundles/JavaScript jQuery.tmbundle/Snippets/after.tmSnippet +16 -0
  47. data/bundles/JavaScript jQuery.tmbundle/Snippets/ajaxStart.tmSnippet +19 -0
  48. data/bundles/JavaScript jQuery.tmbundle/Snippets/ajaxStop.tmSnippet +19 -0
  49. data/bundles/JavaScript jQuery.tmbundle/Snippets/animate.tmSnippet +16 -0
  50. data/bundles/JavaScript jQuery.tmbundle/Snippets/append.tmSnippet +16 -0
  51. data/bundles/JavaScript jQuery.tmbundle/Snippets/appendTo.tmSnippet +16 -0
  52. data/bundles/JavaScript jQuery.tmbundle/Snippets/attr(hash).tmSnippet +16 -0
  53. data/bundles/JavaScript jQuery.tmbundle/Snippets/attr.tmSnippet +16 -0
  54. data/bundles/JavaScript jQuery.tmbundle/Snippets/before.tmSnippet +16 -0
  55. data/bundles/JavaScript jQuery.tmbundle/Snippets/bind.tmSnippet +18 -0
  56. data/bundles/JavaScript jQuery.tmbundle/Snippets/blur.tmSnippet +18 -0
  57. data/bundles/JavaScript jQuery.tmbundle/Snippets/change.tmSnippet +18 -0
  58. data/bundles/JavaScript jQuery.tmbundle/Snippets/children.tmSnippet +16 -0
  59. data/bundles/JavaScript jQuery.tmbundle/Snippets/click.tmSnippet +18 -0
  60. data/bundles/JavaScript jQuery.tmbundle/Snippets/clone.tmSnippet +16 -0
  61. data/bundles/JavaScript jQuery.tmbundle/Snippets/contains.tmSnippet +16 -0
  62. data/bundles/JavaScript jQuery.tmbundle/Snippets/css(hash).tmSnippet +16 -0
  63. data/bundles/JavaScript jQuery.tmbundle/Snippets/css.tmSnippet +16 -0
  64. data/bundles/JavaScript jQuery.tmbundle/Snippets/dblclick.tmSnippet +18 -0
  65. data/bundles/JavaScript jQuery.tmbundle/Snippets/each.tmSnippet +18 -0
  66. data/bundles/JavaScript jQuery.tmbundle/Snippets/end.tmSnippet +16 -0
  67. data/bundles/JavaScript jQuery.tmbundle/Snippets/error.tmSnippet +18 -0
  68. data/bundles/JavaScript jQuery.tmbundle/Snippets/fadeIn - with callback.tmSnippet +19 -0
  69. data/bundles/JavaScript jQuery.tmbundle/Snippets/fadeIn.tmSnippet +16 -0
  70. data/bundles/JavaScript jQuery.tmbundle/Snippets/fadeOut - with callback.tmSnippet +19 -0
  71. data/bundles/JavaScript jQuery.tmbundle/Snippets/fadeOut.tmSnippet +16 -0
  72. data/bundles/JavaScript jQuery.tmbundle/Snippets/fadeTo - with callback.tmSnippet +19 -0
  73. data/bundles/JavaScript jQuery.tmbundle/Snippets/fadeTo.tmSnippet +16 -0
  74. data/bundles/JavaScript jQuery.tmbundle/Snippets/filter.tmSnippet +16 -0
  75. data/bundles/JavaScript jQuery.tmbundle/Snippets/find.tmSnippet +16 -0
  76. data/bundles/JavaScript jQuery.tmbundle/Snippets/focus.tmSnippet +18 -0
  77. data/bundles/JavaScript jQuery.tmbundle/Snippets/get.tmSnippet +16 -0
  78. data/bundles/JavaScript jQuery.tmbundle/Snippets/height.tmSnippet +16 -0
  79. data/bundles/JavaScript jQuery.tmbundle/Snippets/hide - with callback.tmSnippet +19 -0
  80. data/bundles/JavaScript jQuery.tmbundle/Snippets/hide.tmSnippet +16 -0
  81. data/bundles/JavaScript jQuery.tmbundle/Snippets/hover.tmSnippet +20 -0
  82. data/bundles/JavaScript jQuery.tmbundle/Snippets/html.tmSnippet +16 -0
  83. data/bundles/JavaScript jQuery.tmbundle/Snippets/insertAfter.tmSnippet +16 -0
  84. data/bundles/JavaScript jQuery.tmbundle/Snippets/insertBefore.tmSnippet +16 -0
  85. data/bundles/JavaScript jQuery.tmbundle/Snippets/is.tmSnippet +16 -0
  86. data/bundles/JavaScript jQuery.tmbundle/Snippets/load (AHAH).tmSnippet +21 -0
  87. data/bundles/JavaScript jQuery.tmbundle/Snippets/load.tmSnippet +18 -0
  88. data/bundles/JavaScript jQuery.tmbundle/Snippets/loadIfModified.tmSnippet +21 -0
  89. data/bundles/JavaScript jQuery.tmbundle/Snippets/mousedown.tmSnippet +18 -0
  90. data/bundles/JavaScript jQuery.tmbundle/Snippets/mousemove.tmSnippet +18 -0
  91. data/bundles/JavaScript jQuery.tmbundle/Snippets/mouseout.tmSnippet +18 -0
  92. data/bundles/JavaScript jQuery.tmbundle/Snippets/mouseover.tmSnippet +18 -0
  93. data/bundles/JavaScript jQuery.tmbundle/Snippets/mouseup.tmSnippet +18 -0
  94. data/bundles/JavaScript jQuery.tmbundle/Snippets/next.tmSnippet +16 -0
  95. data/bundles/JavaScript jQuery.tmbundle/Snippets/not.tmSnippet +16 -0
  96. data/bundles/JavaScript jQuery.tmbundle/Snippets/one.tmSnippet +18 -0
  97. data/bundles/JavaScript jQuery.tmbundle/Snippets/parent.tmSnippet +16 -0
  98. data/bundles/JavaScript jQuery.tmbundle/Snippets/parents.tmSnippet +16 -0
  99. data/bundles/JavaScript jQuery.tmbundle/Snippets/prepend.tmSnippet +16 -0
  100. data/bundles/JavaScript jQuery.tmbundle/Snippets/prependTo.tmSnippet +16 -0
  101. data/bundles/JavaScript jQuery.tmbundle/Snippets/prev.tmSnippet +16 -0
  102. data/bundles/JavaScript jQuery.tmbundle/Snippets/ready.tmSnippet +19 -0
  103. data/bundles/JavaScript jQuery.tmbundle/Snippets/remove.tmSnippet +16 -0
  104. data/bundles/JavaScript jQuery.tmbundle/Snippets/removeAttr.tmSnippet +16 -0
  105. data/bundles/JavaScript jQuery.tmbundle/Snippets/removeClass.tmSnippet +16 -0
  106. data/bundles/JavaScript jQuery.tmbundle/Snippets/reset.tmSnippet +18 -0
  107. data/bundles/JavaScript jQuery.tmbundle/Snippets/resize.tmSnippet +18 -0
  108. data/bundles/JavaScript jQuery.tmbundle/Snippets/scroll.tmSnippet +18 -0
  109. data/bundles/JavaScript jQuery.tmbundle/Snippets/select.tmSnippet +18 -0
  110. data/bundles/JavaScript jQuery.tmbundle/Snippets/show - with callback.tmSnippet +19 -0
  111. data/bundles/JavaScript jQuery.tmbundle/Snippets/show.tmSnippet +16 -0
  112. data/bundles/JavaScript jQuery.tmbundle/Snippets/siblings.tmSnippet +16 -0
  113. data/bundles/JavaScript jQuery.tmbundle/Snippets/size.tmSnippet +16 -0
  114. data/bundles/JavaScript jQuery.tmbundle/Snippets/slideDown - with callback.tmSnippet +19 -0
  115. data/bundles/JavaScript jQuery.tmbundle/Snippets/slideDown.tmSnippet +16 -0
  116. data/bundles/JavaScript jQuery.tmbundle/Snippets/slideToggle.tmSnippet +16 -0
  117. data/bundles/JavaScript jQuery.tmbundle/Snippets/slideUp - with callback.tmSnippet +19 -0
  118. data/bundles/JavaScript jQuery.tmbundle/Snippets/slideUp.tmSnippet +16 -0
  119. data/bundles/JavaScript jQuery.tmbundle/Snippets/submit.tmSnippet +18 -0
  120. data/bundles/JavaScript jQuery.tmbundle/Snippets/text.tmSnippet +16 -0
  121. data/bundles/JavaScript jQuery.tmbundle/Snippets/toggle (show:hide).tmSnippet +16 -0
  122. data/bundles/JavaScript jQuery.tmbundle/Snippets/toggle.tmSnippet +21 -0
  123. data/bundles/JavaScript jQuery.tmbundle/Snippets/toggleClass.tmSnippet +16 -0
  124. data/bundles/JavaScript jQuery.tmbundle/Snippets/trigger.tmSnippet +16 -0
  125. data/bundles/JavaScript jQuery.tmbundle/Snippets/unbind.tmSnippet +16 -0
  126. data/bundles/JavaScript jQuery.tmbundle/Snippets/val.tmSnippet +16 -0
  127. data/bundles/JavaScript jQuery.tmbundle/Snippets/width.tmSnippet +16 -0
  128. data/bundles/JavaScript jQuery.tmbundle/Snippets/wrap.tmSnippet +16 -0
  129. data/bundles/JavaScript jQuery.tmbundle/Syntaxes/jQuery (JavaScript).tmLanguage +440 -0
  130. data/bundles/JavaScript jQuery.tmbundle/info.plist +387 -0
  131. data/bundles/JavaScript.tmbundle/Commands/Copy as Bookmarklet to Clipboard.tmCommand +54 -0
  132. data/bundles/JavaScript.tmbundle/Commands/Documentation for Word.plist +30 -0
  133. data/bundles/JavaScript.tmbundle/Commands/New Function.tmCommand +28 -0
  134. data/bundles/JavaScript.tmbundle/Commands/New Method.tmCommand +28 -0
  135. data/bundles/JavaScript.tmbundle/Commands/Reformat Document : Selection.tmCommand +50 -0
  136. data/bundles/JavaScript.tmbundle/Preferences/Comments.tmPreferences +36 -0
  137. data/bundles/JavaScript.tmbundle/Preferences/JavaScript Indent.tmPreferences +19 -0
  138. data/bundles/JavaScript.tmbundle/Preferences/Symbol List Banned.tmPreferences +17 -0
  139. data/bundles/JavaScript.tmbundle/Preferences/Symbol List Class.tmPreferences +21 -0
  140. data/bundles/JavaScript.tmbundle/Preferences/Symbol List Instance.tmPreferences +21 -0
  141. data/bundles/JavaScript.tmbundle/Preferences/Symbol List Sub 1.tmPreferences +21 -0
  142. data/bundles/JavaScript.tmbundle/Preferences/Symbol List Sub 2.tmPreferences +21 -0
  143. data/bundles/JavaScript.tmbundle/Snippets/Get Elements.tmSnippet +16 -0
  144. data/bundles/JavaScript.tmbundle/Snippets/Object Method String.tmSnippet +18 -0
  145. data/bundles/JavaScript.tmbundle/Snippets/Object Method.tmSnippet +18 -0
  146. data/bundles/JavaScript.tmbundle/Snippets/Object Value JS.tmSnippet +16 -0
  147. data/bundles/JavaScript.tmbundle/Snippets/Object key /342/200/224 key: /"value/".tmSnippet" +18 -0
  148. data/bundles/JavaScript.tmbundle/Snippets/Prototype (proto).plist +19 -0
  149. data/bundles/JavaScript.tmbundle/Snippets/for (/342/200/246) {/342/200/246} (faster).tmSnippet" +18 -0
  150. data/bundles/JavaScript.tmbundle/Snippets/for (/342/200/246) {/342/200/246}.tmSnippet" +18 -0
  151. data/bundles/JavaScript.tmbundle/Snippets/function (fun).plist +18 -0
  152. data/bundles/JavaScript.tmbundle/Snippets/function.tmSnippet +16 -0
  153. data/bundles/JavaScript.tmbundle/Snippets/if ___ else.tmSnippet +16 -0
  154. data/bundles/JavaScript.tmbundle/Snippets/if.tmSnippet +16 -0
  155. data/bundles/JavaScript.tmbundle/Snippets/setTimeout function.tmSnippet +16 -0
  156. data/bundles/JavaScript.tmbundle/Support/dev_guru_index.gz +0 -0
  157. data/bundles/JavaScript.tmbundle/Support/lib/beautify.php +557 -0
  158. data/bundles/JavaScript.tmbundle/Syntaxes/JavaScript.plist +712 -0
  159. data/bundles/JavaScript.tmbundle/info.plist +136 -0
  160. data/jQuery-Plugin-Generator.tmproj +190 -2
  161. data/lib/jquery_plugin_gen.rb +3 -5
  162. data/lib/jquery_plugin_gen/quick_template.rb +2 -2
  163. data/lib/jquery_plugin_gen/support/bundles.rake +28 -0
  164. data/lib/jquery_plugin_gen/support/jquery.rake +143 -0
  165. data/lib/jquery_plugin_gen/tasks.rb +5 -0
  166. data/lib/templates/Rakefile.erb +8 -2
  167. data/spec/data/templates/Rakefile +8 -2
  168. metadata +162 -3
data/History.txt CHANGED
@@ -1,3 +1,10 @@
1
+ == 0.1.1 2009-06-06
2
+
3
+ * Be able to download jquery files into library:
4
+ * jQuery core, ui and themes with rake
5
+ * Add option to install different versions of libraries
6
+ * Add rake task for tmbundle loading from gem or from svn latest
7
+
1
8
  == 0.1.0 2009-05-30
2
9
 
3
10
  * Generate base folder structure with main files:
data/Manifest.txt CHANGED
@@ -3,14 +3,173 @@ Manifest.txt
3
3
  README.rdoc
4
4
  Rakefile
5
5
  bin/jqp
6
+ bundles/JavaScript jQuery.tmbundle/Commands/Documentation for Word : Selection.tmCommand
7
+ bundles/JavaScript jQuery.tmbundle/Snippets/$ (Select DOM Element).tmSnippet
8
+ bundles/JavaScript jQuery.tmbundle/Snippets/$(this).tmSnippet
9
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_ajax(hash).tmSnippet
10
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_ajaxError.tmSnippet
11
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_ajaxSend.tmSnippet
12
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_ajaxSetup.tmSnippet
13
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_ajaxSuccess.tmSnippet
14
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_get.tmSnippet
15
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_getIfModified.tmSnippet
16
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_getJSON.tmSnippet
17
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_getScript.tmSnippet
18
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_post.tmSnippet
19
+ bundles/JavaScript jQuery.tmbundle/Snippets/$_trim.tmSnippet
20
+ bundles/JavaScript jQuery.tmbundle/Snippets/:checked.tmSnippet
21
+ bundles/JavaScript jQuery.tmbundle/Snippets/:contains('test').tmSnippet
22
+ bundles/JavaScript jQuery.tmbundle/Snippets/:disabled.tmSnippet
23
+ bundles/JavaScript jQuery.tmbundle/Snippets/:empty.tmSnippet
24
+ bundles/JavaScript jQuery.tmbundle/Snippets/:enabled.tmSnippet
25
+ bundles/JavaScript jQuery.tmbundle/Snippets/:eq(n).tmSnippet
26
+ bundles/JavaScript jQuery.tmbundle/Snippets/:even.tmSnippet
27
+ bundles/JavaScript jQuery.tmbundle/Snippets/:first-child.tmSnippet
28
+ bundles/JavaScript jQuery.tmbundle/Snippets/:first-of-type.tmSnippet
29
+ bundles/JavaScript jQuery.tmbundle/Snippets/:first.tmSnippet
30
+ bundles/JavaScript jQuery.tmbundle/Snippets/:gt(n).tmSnippet
31
+ bundles/JavaScript jQuery.tmbundle/Snippets/:hidden.tmSnippet
32
+ bundles/JavaScript jQuery.tmbundle/Snippets/:last-child.tmSnippet
33
+ bundles/JavaScript jQuery.tmbundle/Snippets/:last-of-type.tmSnippet
34
+ bundles/JavaScript jQuery.tmbundle/Snippets/:last.tmSnippet
35
+ bundles/JavaScript jQuery.tmbundle/Snippets/:lt(n).tmSnippet
36
+ bundles/JavaScript jQuery.tmbundle/Snippets/:not(s).tmSnippet
37
+ bundles/JavaScript jQuery.tmbundle/Snippets/:nth-child(n).tmSnippet
38
+ bundles/JavaScript jQuery.tmbundle/Snippets/:nth-last-child(n).tmSnippet
39
+ bundles/JavaScript jQuery.tmbundle/Snippets/:nth-of-type(n).tmSnippet
40
+ bundles/JavaScript jQuery.tmbundle/Snippets/:odd.tmSnippet
41
+ bundles/JavaScript jQuery.tmbundle/Snippets/:only-child.tmSnippet
42
+ bundles/JavaScript jQuery.tmbundle/Snippets/:only-of-type.tmSnippet
43
+ bundles/JavaScript jQuery.tmbundle/Snippets/:parent.tmSnippet
44
+ bundles/JavaScript jQuery.tmbundle/Snippets/:root.tmSnippet
45
+ bundles/JavaScript jQuery.tmbundle/Snippets/:visible.tmSnippet
46
+ bundles/JavaScript jQuery.tmbundle/Snippets/add.tmSnippet
47
+ bundles/JavaScript jQuery.tmbundle/Snippets/addClass.tmSnippet
48
+ bundles/JavaScript jQuery.tmbundle/Snippets/after.tmSnippet
49
+ bundles/JavaScript jQuery.tmbundle/Snippets/ajaxStart.tmSnippet
50
+ bundles/JavaScript jQuery.tmbundle/Snippets/ajaxStop.tmSnippet
51
+ bundles/JavaScript jQuery.tmbundle/Snippets/animate.tmSnippet
52
+ bundles/JavaScript jQuery.tmbundle/Snippets/append.tmSnippet
53
+ bundles/JavaScript jQuery.tmbundle/Snippets/appendTo.tmSnippet
54
+ bundles/JavaScript jQuery.tmbundle/Snippets/attr(hash).tmSnippet
55
+ bundles/JavaScript jQuery.tmbundle/Snippets/attr.tmSnippet
56
+ bundles/JavaScript jQuery.tmbundle/Snippets/before.tmSnippet
57
+ bundles/JavaScript jQuery.tmbundle/Snippets/bind.tmSnippet
58
+ bundles/JavaScript jQuery.tmbundle/Snippets/blur.tmSnippet
59
+ bundles/JavaScript jQuery.tmbundle/Snippets/change.tmSnippet
60
+ bundles/JavaScript jQuery.tmbundle/Snippets/children.tmSnippet
61
+ bundles/JavaScript jQuery.tmbundle/Snippets/click.tmSnippet
62
+ bundles/JavaScript jQuery.tmbundle/Snippets/clone.tmSnippet
63
+ bundles/JavaScript jQuery.tmbundle/Snippets/contains.tmSnippet
64
+ bundles/JavaScript jQuery.tmbundle/Snippets/css(hash).tmSnippet
65
+ bundles/JavaScript jQuery.tmbundle/Snippets/css.tmSnippet
66
+ bundles/JavaScript jQuery.tmbundle/Snippets/dblclick.tmSnippet
67
+ bundles/JavaScript jQuery.tmbundle/Snippets/each.tmSnippet
68
+ bundles/JavaScript jQuery.tmbundle/Snippets/end.tmSnippet
69
+ bundles/JavaScript jQuery.tmbundle/Snippets/error.tmSnippet
70
+ bundles/JavaScript jQuery.tmbundle/Snippets/fadeIn - with callback.tmSnippet
71
+ bundles/JavaScript jQuery.tmbundle/Snippets/fadeIn.tmSnippet
72
+ bundles/JavaScript jQuery.tmbundle/Snippets/fadeOut - with callback.tmSnippet
73
+ bundles/JavaScript jQuery.tmbundle/Snippets/fadeOut.tmSnippet
74
+ bundles/JavaScript jQuery.tmbundle/Snippets/fadeTo - with callback.tmSnippet
75
+ bundles/JavaScript jQuery.tmbundle/Snippets/fadeTo.tmSnippet
76
+ bundles/JavaScript jQuery.tmbundle/Snippets/filter.tmSnippet
77
+ bundles/JavaScript jQuery.tmbundle/Snippets/find.tmSnippet
78
+ bundles/JavaScript jQuery.tmbundle/Snippets/focus.tmSnippet
79
+ bundles/JavaScript jQuery.tmbundle/Snippets/get.tmSnippet
80
+ bundles/JavaScript jQuery.tmbundle/Snippets/height.tmSnippet
81
+ bundles/JavaScript jQuery.tmbundle/Snippets/hide - with callback.tmSnippet
82
+ bundles/JavaScript jQuery.tmbundle/Snippets/hide.tmSnippet
83
+ bundles/JavaScript jQuery.tmbundle/Snippets/hover.tmSnippet
84
+ bundles/JavaScript jQuery.tmbundle/Snippets/html.tmSnippet
85
+ bundles/JavaScript jQuery.tmbundle/Snippets/insertAfter.tmSnippet
86
+ bundles/JavaScript jQuery.tmbundle/Snippets/insertBefore.tmSnippet
87
+ bundles/JavaScript jQuery.tmbundle/Snippets/is.tmSnippet
88
+ bundles/JavaScript jQuery.tmbundle/Snippets/load (AHAH).tmSnippet
89
+ bundles/JavaScript jQuery.tmbundle/Snippets/load.tmSnippet
90
+ bundles/JavaScript jQuery.tmbundle/Snippets/loadIfModified.tmSnippet
91
+ bundles/JavaScript jQuery.tmbundle/Snippets/mousedown.tmSnippet
92
+ bundles/JavaScript jQuery.tmbundle/Snippets/mousemove.tmSnippet
93
+ bundles/JavaScript jQuery.tmbundle/Snippets/mouseout.tmSnippet
94
+ bundles/JavaScript jQuery.tmbundle/Snippets/mouseover.tmSnippet
95
+ bundles/JavaScript jQuery.tmbundle/Snippets/mouseup.tmSnippet
96
+ bundles/JavaScript jQuery.tmbundle/Snippets/next.tmSnippet
97
+ bundles/JavaScript jQuery.tmbundle/Snippets/not.tmSnippet
98
+ bundles/JavaScript jQuery.tmbundle/Snippets/one.tmSnippet
99
+ bundles/JavaScript jQuery.tmbundle/Snippets/parent.tmSnippet
100
+ bundles/JavaScript jQuery.tmbundle/Snippets/parents.tmSnippet
101
+ bundles/JavaScript jQuery.tmbundle/Snippets/prepend.tmSnippet
102
+ bundles/JavaScript jQuery.tmbundle/Snippets/prependTo.tmSnippet
103
+ bundles/JavaScript jQuery.tmbundle/Snippets/prev.tmSnippet
104
+ bundles/JavaScript jQuery.tmbundle/Snippets/ready.tmSnippet
105
+ bundles/JavaScript jQuery.tmbundle/Snippets/remove.tmSnippet
106
+ bundles/JavaScript jQuery.tmbundle/Snippets/removeAttr.tmSnippet
107
+ bundles/JavaScript jQuery.tmbundle/Snippets/removeClass.tmSnippet
108
+ bundles/JavaScript jQuery.tmbundle/Snippets/reset.tmSnippet
109
+ bundles/JavaScript jQuery.tmbundle/Snippets/resize.tmSnippet
110
+ bundles/JavaScript jQuery.tmbundle/Snippets/scroll.tmSnippet
111
+ bundles/JavaScript jQuery.tmbundle/Snippets/select.tmSnippet
112
+ bundles/JavaScript jQuery.tmbundle/Snippets/show - with callback.tmSnippet
113
+ bundles/JavaScript jQuery.tmbundle/Snippets/show.tmSnippet
114
+ bundles/JavaScript jQuery.tmbundle/Snippets/siblings.tmSnippet
115
+ bundles/JavaScript jQuery.tmbundle/Snippets/size.tmSnippet
116
+ bundles/JavaScript jQuery.tmbundle/Snippets/slideDown - with callback.tmSnippet
117
+ bundles/JavaScript jQuery.tmbundle/Snippets/slideDown.tmSnippet
118
+ bundles/JavaScript jQuery.tmbundle/Snippets/slideToggle.tmSnippet
119
+ bundles/JavaScript jQuery.tmbundle/Snippets/slideUp - with callback.tmSnippet
120
+ bundles/JavaScript jQuery.tmbundle/Snippets/slideUp.tmSnippet
121
+ bundles/JavaScript jQuery.tmbundle/Snippets/submit.tmSnippet
122
+ bundles/JavaScript jQuery.tmbundle/Snippets/text.tmSnippet
123
+ bundles/JavaScript jQuery.tmbundle/Snippets/toggle (show:hide).tmSnippet
124
+ bundles/JavaScript jQuery.tmbundle/Snippets/toggle.tmSnippet
125
+ bundles/JavaScript jQuery.tmbundle/Snippets/toggleClass.tmSnippet
126
+ bundles/JavaScript jQuery.tmbundle/Snippets/trigger.tmSnippet
127
+ bundles/JavaScript jQuery.tmbundle/Snippets/unbind.tmSnippet
128
+ bundles/JavaScript jQuery.tmbundle/Snippets/val.tmSnippet
129
+ bundles/JavaScript jQuery.tmbundle/Snippets/width.tmSnippet
130
+ bundles/JavaScript jQuery.tmbundle/Snippets/wrap.tmSnippet
131
+ bundles/JavaScript jQuery.tmbundle/Syntaxes/jQuery (JavaScript).tmLanguage
132
+ bundles/JavaScript jQuery.tmbundle/info.plist
133
+ bundles/JavaScript.tmbundle/Commands/Copy as Bookmarklet to Clipboard.tmCommand
134
+ bundles/JavaScript.tmbundle/Commands/Documentation for Word.plist
135
+ bundles/JavaScript.tmbundle/Commands/New Function.tmCommand
136
+ bundles/JavaScript.tmbundle/Commands/New Method.tmCommand
137
+ bundles/JavaScript.tmbundle/Commands/Reformat Document : Selection.tmCommand
138
+ bundles/JavaScript.tmbundle/Preferences/Comments.tmPreferences
139
+ bundles/JavaScript.tmbundle/Preferences/JavaScript Indent.tmPreferences
140
+ bundles/JavaScript.tmbundle/Preferences/Symbol List Banned.tmPreferences
141
+ bundles/JavaScript.tmbundle/Preferences/Symbol List Class.tmPreferences
142
+ bundles/JavaScript.tmbundle/Preferences/Symbol List Instance.tmPreferences
143
+ bundles/JavaScript.tmbundle/Preferences/Symbol List Sub 1.tmPreferences
144
+ bundles/JavaScript.tmbundle/Preferences/Symbol List Sub 2.tmPreferences
145
+ bundles/JavaScript.tmbundle/Snippets/Get Elements.tmSnippet
146
+ bundles/JavaScript.tmbundle/Snippets/Object Method String.tmSnippet
147
+ bundles/JavaScript.tmbundle/Snippets/Object Method.tmSnippet
148
+ bundles/JavaScript.tmbundle/Snippets/Object Value JS.tmSnippet
149
+ bundles/JavaScript.tmbundle/Snippets/Object key — key: "value".tmSnippet
150
+ bundles/JavaScript.tmbundle/Snippets/Prototype (proto).plist
151
+ bundles/JavaScript.tmbundle/Snippets/for (…) {…} (faster).tmSnippet
152
+ bundles/JavaScript.tmbundle/Snippets/for (…) {…}.tmSnippet
153
+ bundles/JavaScript.tmbundle/Snippets/function (fun).plist
154
+ bundles/JavaScript.tmbundle/Snippets/function.tmSnippet
155
+ bundles/JavaScript.tmbundle/Snippets/if ___ else.tmSnippet
156
+ bundles/JavaScript.tmbundle/Snippets/if.tmSnippet
157
+ bundles/JavaScript.tmbundle/Snippets/setTimeout function.tmSnippet
158
+ bundles/JavaScript.tmbundle/Support/dev_guru_index.gz
159
+ bundles/JavaScript.tmbundle/Support/lib/beautify.php
160
+ bundles/JavaScript.tmbundle/Syntaxes/JavaScript.plist
161
+ bundles/JavaScript.tmbundle/info.plist
6
162
  jQuery-Plugin-Generator.tmproj
7
163
  lib/jqp/cli.rb
8
164
  lib/jquery_plugin_gen.rb
9
165
  lib/jquery_plugin_gen/generator.rb
10
166
  lib/jquery_plugin_gen/quick_template.rb
167
+ lib/jquery_plugin_gen/support/bundles.rake
168
+ lib/jquery_plugin_gen/support/jquery.rake
169
+ lib/jquery_plugin_gen/tasks.rb
11
170
  lib/templates/History.txt.erb
12
- lib/templates/Makefile.erb
13
171
  lib/templates/README.txt.erb
172
+ lib/templates/Makefile.erb
14
173
  lib/templates/Rakefile.erb
15
174
  lib/templates/example.html.erb
16
175
  lib/templates/src/plugin.js.erb
data/README.rdoc CHANGED
@@ -9,13 +9,11 @@ Generate the structure of jquery plugins easily. Manage library dependencies suc
9
9
 
10
10
  == FEATURES/PROBLEMS:
11
11
 
12
- * I need to dependency manage javascript plugins (jquery, jquery-ui)
13
- * Add option to install different versions of libraries
14
12
  * be able to use the produced code on linux and windows (need jqp.bat)
15
13
  * add acceptance test
16
14
  * add hoe-type features for updating plugins to jquery plugin page (as rake tasks)
17
15
  * be able to bundle library dependencies
18
- * be able to switch between local and remote libraries
16
+ * be able to switch between local and remote libraries in actual html pages
19
17
  * be able to generate new modules and update html pages (as rake task or generator)
20
18
 
21
19
  == SYNOPSIS:
@@ -0,0 +1,68 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>beforeRunningCommand</key>
6
+ <string>nop</string>
7
+ <key>command</key>
8
+ <string>ref=${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}
9
+ prefix=
10
+
11
+ case "$ref" in
12
+
13
+ jQuery|each|size|length|get|index)
14
+ section=Core
15
+ ;;
16
+ extend|noConflict)
17
+ prefix=jQuery.
18
+ section=Core
19
+ ;;
20
+ attr|removeAttr|addClass|removeClass|toggleClass|html|text|val)
21
+ section=Attributes
22
+ ;;
23
+ eq|hasClass|filter|is|map|not|slice|add|children|contents|find|next|nextAll|parent|parents|prev|prevAll|siblings|andSelf|end)
24
+ section=Traversing
25
+ ;;
26
+ append|appendTo|prepend|prependTo|after|before|insertAfter|insertBefore|wrap|wrapAll|wrapInner|replaceWith|replaceAll|empty|remove|clone)
27
+ section=Manipulation
28
+ ;;
29
+ css|offset|height|width)
30
+ section=CSS
31
+ ;;
32
+ ready|bind|one|trigger|triggerHandler|unbind|hover|toggle|blur|change|click|dblclick|error|focus|keydown|keypress|keyup|load|mousedown|mousemove|mouseout|mouseover|mouseup|resize|scroll|select|submit|unload)
33
+ section=Events
34
+ ;;
35
+ show|hide|toggle|slideDown|slideUp|slideToggle|fadeIn|fadeOut|fadeTo|animate|stop|queue|dequeue)
36
+ section=Effects
37
+ ;;
38
+ load|ajaxComplete|ajaxError|ajaxSend|ajaxStart|ajaxStop|ajaxSuccess|serialize|serializeArray)
39
+ section=Ajax
40
+ ;;
41
+ ajax|get|getJSON|getScript|post|ajaxSetup)
42
+ prefix=jQuery.
43
+ section=Ajax
44
+ ;;
45
+ css|offset|height|width)
46
+ section=Utilities
47
+ ;;
48
+ esac
49
+
50
+ [[ -n "$section" ]] &amp;&amp; exit_show_html "&lt;meta http-equiv='Refresh' content='0;URL=http://docs.jquery.com/$section/$prefix$ref'&gt;"
51
+
52
+ echo "No documentation found."</string>
53
+ <key>fallbackInput</key>
54
+ <string>word</string>
55
+ <key>input</key>
56
+ <string>selection</string>
57
+ <key>keyEquivalent</key>
58
+ <string>^h</string>
59
+ <key>name</key>
60
+ <string>Documentation for Word / Selection</string>
61
+ <key>output</key>
62
+ <string>showAsTooltip</string>
63
+ <key>scope</key>
64
+ <string>source.js.jquery support.function.js.jquery</string>
65
+ <key>uuid</key>
66
+ <string>690646D5-AC38-4EB9-8C41-776E4F55CB59</string>
67
+ </dict>
68
+ </plist>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>content</key>
6
+ <string>\$(${1/(.+)/(?1:':)/}${1:string/element/array/function/jQuery object/string, context}${1/(.+)/(?1:':)/})$0</string>
7
+ <key>name</key>
8
+ <string>$ (Select DOM Element)</string>
9
+ <key>scope</key>
10
+ <string>source.js.jquery</string>
11
+ <key>tabTrigger</key>
12
+ <string>$</string>
13
+ <key>uuid</key>
14
+ <string>04234F37-7812-499B-BB9C-2FD1B92DB1B5</string>
15
+ </dict>
16
+ </plist>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>content</key>
6
+ <string>\$(this)$0</string>
7
+ <key>name</key>
8
+ <string>$(this)</string>
9
+ <key>scope</key>
10
+ <string>source.js.jquery</string>
11
+ <key>tabTrigger</key>
12
+ <string>this</string>
13
+ <key>uuid</key>
14
+ <string>438A0DF2-C714-4D2A-A27A-EF0F62F5BC0F</string>
15
+ </dict>
16
+ </plist>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>content</key>
6
+ <string>\$.ajax({
7
+ url: "${1:mydomain.com/url}",
8
+ type: "${2:POST}",
9
+ ${3/(.+)/(?1: dataType\: ":)/}${3:xml/html/script/json}${3/(.+)/(?1:",
10
+ :)/}${4/(.+)/(?1: data\: $.param\( $\(":)/}${4:Element or Expression}${4/(.+)/(?1:"\) \),
11
+ :)/}${5/(.+)/(?1: complete\: function\(\) {:)/}${5:
12
+ //called when complete}${5/(.+)/(?1: },
13
+ :)/}${6/(.+)/(?1: success\: function\(\) {:)/}${6:
14
+ //called when successful}${6/(.+)/(?1: },
15
+ :)/}${7/(.+)/(?1: error\: function\(\) {:)/}${7:
16
+ //called when there is an error}${7/(.+)/(?1: },
17
+ :)/}});
18
+ $0</string>
19
+ <key>name</key>
20
+ <string>$.ajax</string>
21
+ <key>scope</key>
22
+ <string>source.js.jquery</string>
23
+ <key>tabTrigger</key>
24
+ <string>$.ajax</string>
25
+ <key>uuid</key>
26
+ <string>97595DE0-09AE-4D6F-9D63-5139861BEA85</string>
27
+ </dict>
28
+ </plist>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>content</key>
6
+ <string>.ajaxError(function(${1:request, settings}) {
7
+ ${2://stuff to do when an AJAX call returns an error};
8
+ });
9
+ $0</string>
10
+ <key>name</key>
11
+ <string>$.ajaxError</string>
12
+ <key>scope</key>
13
+ <string>source.js.jquery</string>
14
+ <key>tabTrigger</key>
15
+ <string>$.ajaxError</string>
16
+ <key>uuid</key>
17
+ <string>4400D01A-8061-4624-B6E2-999285BA25DD</string>
18
+ </dict>
19
+ </plist>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>content</key>
6
+ <string>.ajaxSend(function(${1:request, settings}) {
7
+ ${2://stuff to do before an AJAX request is sent};
8
+ });
9
+ $0</string>
10
+ <key>name</key>
11
+ <string>$.ajaxSend</string>
12
+ <key>scope</key>
13
+ <string>source.js.jquery</string>
14
+ <key>tabTrigger</key>
15
+ <string>$.ajaxSend</string>
16
+ <key>uuid</key>
17
+ <string>E4DFA4E2-0A94-4696-9A0D-6A7CE102E3B1</string>
18
+ </dict>
19
+ </plist>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>content</key>
6
+ <string>\$.ajaxSetup({
7
+ url: "${1:mydomain.com/url}",
8
+ type: "${2:POST}",
9
+ ${3/(.+)/(?1: dataType\: ":)/}${3:xml/html/script/json}${3/(.+)/(?1:",
10
+ :)/}${4/(.+)/(?1: data\: $.param\( $\(":)/}${4:Element or Expression}${4/(.+)/(?1:"\) \),
11
+ :)/}${5/(.+)/(?1: complete\: function\(\) {:)/}${5:
12
+ //called when complete}${5/(.+)/(?1: },
13
+ :)/}${6/(.+)/(?1: success\: function\(\) {:)/}${6:
14
+ //called when successful}${6/(.+)/(?1: },
15
+ :)/}${7/(.+)/(?1: error\: function\(\) {:)/}${7:
16
+ //called when there is an error}${7/(.+)/(?1: },
17
+ :)/}});
18
+ $0</string>
19
+ <key>name</key>
20
+ <string>$.ajaxSetup</string>
21
+ <key>scope</key>
22
+ <string>source.js.jquery</string>
23
+ <key>tabTrigger</key>
24
+ <string>$.ajaxSetup</string>
25
+ <key>uuid</key>
26
+ <string>75F00CB6-8619-40F2-B482-5B258557D22C</string>
27
+ </dict>
28
+ </plist>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>content</key>
6
+ <string>.ajaxSuccess(function() {
7
+ ${1:// executes whenever an AJAX request completes successfully}
8
+ });$0</string>
9
+ <key>name</key>
10
+ <string>$.ajaxSuccess</string>
11
+ <key>scope</key>
12
+ <string>source.js.jquery</string>
13
+ <key>tabTrigger</key>
14
+ <string>$.ajaxSuccess</string>
15
+ <key>uuid</key>
16
+ <string>154BF189-2645-45FD-8728-15C5A79E3FAF</string>
17
+ </dict>
18
+ </plist>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>content</key>
6
+ <string>\$.get('${1:/test/ajax-test.xml}'${2/(.+)/(?1:, function\(xml\){
7
+ :)/}${2:alert( $("title",xml).text() )//optional stuff to do after get}${2/(.+)/(?1:;
8
+ }:)/});
9
+ $0</string>
10
+ <key>name</key>
11
+ <string>$.get</string>
12
+ <key>scope</key>
13
+ <string>source.js.jquery</string>
14
+ <key>tabTrigger</key>
15
+ <string>$.get</string>
16
+ <key>uuid</key>
17
+ <string>E05CC813-D20E-4F7B-AA32-AC555F47BA1F</string>
18
+ </dict>
19
+ </plist>