trusty-cms 4.3.4 → 4.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -6
  3. data/config/database.yml +2 -2
  4. data/coverage/index.html +1 -1
  5. data/lib/trusty_cms/deprecation.rb +13 -0
  6. data/lib/trusty_cms.rb +1 -1
  7. data/node_modules/path-parse/index.js +17 -35
  8. data/node_modules/path-parse/package.json +1 -1
  9. data/node_modules/postcss/CHANGELOG.md +27 -0
  10. data/node_modules/postcss/README.md +21 -0
  11. data/node_modules/postcss/lib/at-rule.js +2 -4
  12. data/node_modules/postcss/lib/comment.js +2 -4
  13. data/node_modules/postcss/lib/container.js +27 -122
  14. data/node_modules/postcss/lib/css-syntax-error.js +5 -7
  15. data/node_modules/postcss/lib/declaration.js +2 -4
  16. data/node_modules/postcss/lib/input.js +3 -5
  17. data/node_modules/postcss/lib/lazy-result.js +10 -17
  18. data/node_modules/postcss/lib/map-generator.js +10 -17
  19. data/node_modules/postcss/lib/node.js +2 -4
  20. data/node_modules/postcss/lib/parser.js +2 -4
  21. data/node_modules/postcss/lib/postcss.d.ts +25 -19
  22. data/node_modules/postcss/lib/previous-map.js +17 -6
  23. data/node_modules/postcss/lib/processor.js +16 -15
  24. data/node_modules/postcss/lib/result.js +2 -4
  25. data/node_modules/postcss/lib/root.js +10 -17
  26. data/node_modules/postcss/lib/rule.js +2 -4
  27. data/node_modules/postcss/lib/stringifier.js +2 -4
  28. data/node_modules/postcss/lib/warning.js +2 -4
  29. data/node_modules/postcss/package.json +16 -12
  30. data/spec/dummy/log/test.log +542 -443
  31. data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
  32. data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +1 -1
  33. data/trusty-cms-5.0.0.gem +0 -0
  34. metadata +4 -306
  35. data/node_modules/path-parse/test.js +0 -77
  36. data/node_modules/postcss/docs/api/assets/scripts.min.js +0 -8
  37. data/node_modules/postcss/docs/api/assets/styles.min.css +0 -1
  38. data/node_modules/postcss/docs/api/index.html +0 -22716
  39. data/spec/dummy/log/development.log +0 -158
  40. data/spec/dummy/node_modules/jquery/AUTHORS.txt +0 -327
  41. data/spec/dummy/node_modules/jquery/LICENSE.txt +0 -20
  42. data/spec/dummy/node_modules/jquery/README.md +0 -62
  43. data/spec/dummy/node_modules/jquery/bower.json +0 -14
  44. data/spec/dummy/node_modules/jquery/dist/jquery.js +0 -10872
  45. data/spec/dummy/node_modules/jquery/dist/jquery.min.js +0 -2
  46. data/spec/dummy/node_modules/jquery/dist/jquery.min.map +0 -1
  47. data/spec/dummy/node_modules/jquery/dist/jquery.slim.js +0 -8777
  48. data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.js +0 -2
  49. data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.map +0 -1
  50. data/spec/dummy/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
  51. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2478
  52. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
  53. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
  54. data/spec/dummy/node_modules/jquery/package.json +0 -117
  55. data/spec/dummy/node_modules/jquery/src/ajax/jsonp.js +0 -103
  56. data/spec/dummy/node_modules/jquery/src/ajax/load.js +0 -77
  57. data/spec/dummy/node_modules/jquery/src/ajax/script.js +0 -74
  58. data/spec/dummy/node_modules/jquery/src/ajax/var/location.js +0 -5
  59. data/spec/dummy/node_modules/jquery/src/ajax/var/nonce.js +0 -5
  60. data/spec/dummy/node_modules/jquery/src/ajax/var/rquery.js +0 -5
  61. data/spec/dummy/node_modules/jquery/src/ajax/xhr.js +0 -170
  62. data/spec/dummy/node_modules/jquery/src/ajax.js +0 -873
  63. data/spec/dummy/node_modules/jquery/src/attributes/attr.js +0 -141
  64. data/spec/dummy/node_modules/jquery/src/attributes/classes.js +0 -186
  65. data/spec/dummy/node_modules/jquery/src/attributes/prop.js +0 -143
  66. data/spec/dummy/node_modules/jquery/src/attributes/support.js +0 -33
  67. data/spec/dummy/node_modules/jquery/src/attributes/val.js +0 -191
  68. data/spec/dummy/node_modules/jquery/src/attributes.js +0 -13
  69. data/spec/dummy/node_modules/jquery/src/callbacks.js +0 -236
  70. data/spec/dummy/node_modules/jquery/src/core/DOMEval.js +0 -43
  71. data/spec/dummy/node_modules/jquery/src/core/access.js +0 -72
  72. data/spec/dummy/node_modules/jquery/src/core/camelCase.js +0 -23
  73. data/spec/dummy/node_modules/jquery/src/core/init.js +0 -129
  74. data/spec/dummy/node_modules/jquery/src/core/isAttached.js +0 -26
  75. data/spec/dummy/node_modules/jquery/src/core/nodeName.js +0 -13
  76. data/spec/dummy/node_modules/jquery/src/core/parseHTML.js +0 -65
  77. data/spec/dummy/node_modules/jquery/src/core/parseXML.js +0 -30
  78. data/spec/dummy/node_modules/jquery/src/core/ready-no-deferred.js +0 -97
  79. data/spec/dummy/node_modules/jquery/src/core/ready.js +0 -86
  80. data/spec/dummy/node_modules/jquery/src/core/readyException.js +0 -13
  81. data/spec/dummy/node_modules/jquery/src/core/stripAndCollapse.js +0 -14
  82. data/spec/dummy/node_modules/jquery/src/core/support.js +0 -20
  83. data/spec/dummy/node_modules/jquery/src/core/toType.js +0 -20
  84. data/spec/dummy/node_modules/jquery/src/core/var/rsingleTag.js +0 -7
  85. data/spec/dummy/node_modules/jquery/src/core.js +0 -400
  86. data/spec/dummy/node_modules/jquery/src/css/addGetHookIf.js +0 -26
  87. data/spec/dummy/node_modules/jquery/src/css/adjustCSS.js +0 -74
  88. data/spec/dummy/node_modules/jquery/src/css/curCSS.js +0 -65
  89. data/spec/dummy/node_modules/jquery/src/css/finalPropName.js +0 -42
  90. data/spec/dummy/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -15
  91. data/spec/dummy/node_modules/jquery/src/css/showHide.js +0 -105
  92. data/spec/dummy/node_modules/jquery/src/css/support.js +0 -133
  93. data/spec/dummy/node_modules/jquery/src/css/var/cssExpand.js +0 -5
  94. data/spec/dummy/node_modules/jquery/src/css/var/getStyles.js +0 -17
  95. data/spec/dummy/node_modules/jquery/src/css/var/isHiddenWithinTree.js +0 -34
  96. data/spec/dummy/node_modules/jquery/src/css/var/rboxStyle.js +0 -7
  97. data/spec/dummy/node_modules/jquery/src/css/var/rnumnonpx.js +0 -7
  98. data/spec/dummy/node_modules/jquery/src/css/var/swap.js +0 -26
  99. data/spec/dummy/node_modules/jquery/src/css.js +0 -494
  100. data/spec/dummy/node_modules/jquery/src/data/Data.js +0 -162
  101. data/spec/dummy/node_modules/jquery/src/data/var/acceptData.js +0 -19
  102. data/spec/dummy/node_modules/jquery/src/data/var/dataPriv.js +0 -7
  103. data/spec/dummy/node_modules/jquery/src/data/var/dataUser.js +0 -7
  104. data/spec/dummy/node_modules/jquery/src/data.js +0 -180
  105. data/spec/dummy/node_modules/jquery/src/deferred/exceptionHook.js +0 -21
  106. data/spec/dummy/node_modules/jquery/src/deferred.js +0 -399
  107. data/spec/dummy/node_modules/jquery/src/deprecated/ajax-event-alias.js +0 -22
  108. data/spec/dummy/node_modules/jquery/src/deprecated/event.js +0 -48
  109. data/spec/dummy/node_modules/jquery/src/deprecated.js +0 -87
  110. data/spec/dummy/node_modules/jquery/src/dimensions.js +0 -57
  111. data/spec/dummy/node_modules/jquery/src/effects/Tween.js +0 -125
  112. data/spec/dummy/node_modules/jquery/src/effects/animatedSelector.js +0 -15
  113. data/spec/dummy/node_modules/jquery/src/effects.js +0 -701
  114. data/spec/dummy/node_modules/jquery/src/event/focusin.js +0 -58
  115. data/spec/dummy/node_modules/jquery/src/event/support.js +0 -11
  116. data/spec/dummy/node_modules/jquery/src/event/trigger.js +0 -201
  117. data/spec/dummy/node_modules/jquery/src/event.js +0 -892
  118. data/spec/dummy/node_modules/jquery/src/exports/amd.js +0 -26
  119. data/spec/dummy/node_modules/jquery/src/exports/global.js +0 -34
  120. data/spec/dummy/node_modules/jquery/src/jquery.js +0 -41
  121. data/spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js +0 -32
  122. data/spec/dummy/node_modules/jquery/src/manipulation/buildFragment.js +0 -106
  123. data/spec/dummy/node_modules/jquery/src/manipulation/getAll.js +0 -32
  124. data/spec/dummy/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -22
  125. data/spec/dummy/node_modules/jquery/src/manipulation/support.js +0 -41
  126. data/spec/dummy/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -5
  127. data/spec/dummy/node_modules/jquery/src/manipulation/var/rtagName.js +0 -8
  128. data/spec/dummy/node_modules/jquery/src/manipulation/wrapMap.js +0 -30
  129. data/spec/dummy/node_modules/jquery/src/manipulation.js +0 -480
  130. data/spec/dummy/node_modules/jquery/src/offset.js +0 -238
  131. data/spec/dummy/node_modules/jquery/src/queue/delay.js +0 -24
  132. data/spec/dummy/node_modules/jquery/src/queue.js +0 -145
  133. data/spec/dummy/node_modules/jquery/src/selector-native.js +0 -241
  134. data/spec/dummy/node_modules/jquery/src/selector-sizzle.js +0 -19
  135. data/spec/dummy/node_modules/jquery/src/selector.js +0 -3
  136. data/spec/dummy/node_modules/jquery/src/serialize.js +0 -136
  137. data/spec/dummy/node_modules/jquery/src/traversing/findFilter.js +0 -97
  138. data/spec/dummy/node_modules/jquery/src/traversing/var/dir.js +0 -22
  139. data/spec/dummy/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -8
  140. data/spec/dummy/node_modules/jquery/src/traversing/var/siblings.js +0 -17
  141. data/spec/dummy/node_modules/jquery/src/traversing.js +0 -198
  142. data/spec/dummy/node_modules/jquery/src/var/ObjectFunctionString.js +0 -7
  143. data/spec/dummy/node_modules/jquery/src/var/arr.js +0 -5
  144. data/spec/dummy/node_modules/jquery/src/var/class2type.js +0 -6
  145. data/spec/dummy/node_modules/jquery/src/var/document.js +0 -5
  146. data/spec/dummy/node_modules/jquery/src/var/documentElement.js +0 -7
  147. data/spec/dummy/node_modules/jquery/src/var/flat.js +0 -16
  148. data/spec/dummy/node_modules/jquery/src/var/fnToString.js +0 -7
  149. data/spec/dummy/node_modules/jquery/src/var/getProto.js +0 -5
  150. data/spec/dummy/node_modules/jquery/src/var/hasOwn.js +0 -7
  151. data/spec/dummy/node_modules/jquery/src/var/indexOf.js +0 -7
  152. data/spec/dummy/node_modules/jquery/src/var/isFunction.js +0 -13
  153. data/spec/dummy/node_modules/jquery/src/var/isWindow.js +0 -8
  154. data/spec/dummy/node_modules/jquery/src/var/pnum.js +0 -5
  155. data/spec/dummy/node_modules/jquery/src/var/push.js +0 -7
  156. data/spec/dummy/node_modules/jquery/src/var/rcheckableType.js +0 -5
  157. data/spec/dummy/node_modules/jquery/src/var/rcssNum.js +0 -9
  158. data/spec/dummy/node_modules/jquery/src/var/rnothtmlwhite.js +0 -8
  159. data/spec/dummy/node_modules/jquery/src/var/slice.js +0 -7
  160. data/spec/dummy/node_modules/jquery/src/var/support.js +0 -6
  161. data/spec/dummy/node_modules/jquery/src/var/toString.js +0 -7
  162. data/spec/dummy/node_modules/jquery/src/wrap.js +0 -78
  163. data/spec/dummy/node_modules/jquery-ui-bundle/AUTHORS.txt +0 -333
  164. data/spec/dummy/node_modules/jquery-ui-bundle/LICENSE.txt +0 -43
  165. data/spec/dummy/node_modules/jquery-ui-bundle/external/jquery/jquery.js +0 -11008
  166. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_444444_256x240.png +0 -0
  167. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_555555_256x240.png +0 -0
  168. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777620_256x240.png +0 -0
  169. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777777_256x240.png +0 -0
  170. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_cc0000_256x240.png +0 -0
  171. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_ffffff_256x240.png +0 -0
  172. data/spec/dummy/node_modules/jquery-ui-bundle/index.html +0 -559
  173. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.css +0 -1312
  174. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.js +0 -18706
  175. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.css +0 -7
  176. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.js +0 -13
  177. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.css +0 -886
  178. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.min.css +0 -5
  179. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.css +0 -443
  180. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.min.css +0 -5
  181. data/spec/dummy/node_modules/jquery-ui-bundle/package.json +0 -33
  182. data/spec/dummy/node_modules/jquery-ujs/CONTRIBUTING.md +0 -109
  183. data/spec/dummy/node_modules/jquery-ujs/MIT-LICENSE +0 -20
  184. data/spec/dummy/node_modules/jquery-ujs/README.md +0 -86
  185. data/spec/dummy/node_modules/jquery-ujs/RELEASE.md +0 -23
  186. data/spec/dummy/node_modules/jquery-ujs/bower.json +0 -19
  187. data/spec/dummy/node_modules/jquery-ujs/package.json +0 -26
  188. data/spec/dummy/node_modules/jquery-ujs/src/rails.js +0 -555
@@ -1,158 +0,0 @@
1
- DEPRECATION WARNING: SourceAnnotationExtractor is deprecated! Use Rails::SourceAnnotationExtractor instead. (called from <top (required)> at /Users/greaves/Documents/Development/trusty-cms/spec/dummy/config/environment.rb:5)
2
- DEPRECATION WARNING: Initialization autoloaded the constants TrustyCms::Config, Admin, Admin::RegionsHelper, ApplicationHelper, DeviseHelper, ApplicationController, Admin::ResourceHelper, Admin::ResourceController, Admin::LayoutsHelper, Admin::LayoutsController, MultiSite::SiteChooserHelper, Admin::SnippetsController, ActionText::ContentHelper, and ActionText::TagHelper.
3
-
4
- Being able to do this is deprecated. Autoloading during initialization is going
5
- to be an error condition in future versions of Rails.
6
-
7
- Reloading does not reboot the application, and therefore code executed during
8
- initialization does not run again. So, if you reload TrustyCms::Config, for example,
9
- the expected changes won't be reflected in that stale Class object.
10
-
11
- `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
12
-
13
- Please, check the "Autoloading and Reloading Constants" guide for solutions.
14
- (called from <top (required)> at /Users/greaves/Documents/Development/trusty-cms/spec/dummy/config/environment.rb:5)
15
- DEPRECATION WARNING: Initialization autoloaded the constants TrustyCms::Config, Admin, Admin::RegionsHelper, ApplicationHelper, DeviseHelper, ApplicationController, Admin::ResourceHelper, Admin::ResourceController, Admin::LayoutsHelper, Admin::LayoutsController, MultiSite::SiteChooserHelper, Admin::SnippetsController, ActionText::ContentHelper, and ActionText::TagHelper.
16
-
17
- Being able to do this is deprecated. Autoloading during initialization is going
18
- to be an error condition in future versions of Rails.
19
-
20
- Reloading does not reboot the application, and therefore code executed during
21
- initialization does not run again. So, if you reload TrustyCms::Config, for example,
22
- the expected changes won't be reflected in that stale Class object.
23
-
24
- `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
25
-
26
- In order to autoload safely at boot time, please wrap your code in a reloader
27
- callback this way:
28
-
29
- Rails.application.reloader.to_prepare do
30
- # Autoload classes and modules needed at boot time here.
31
- end
32
-
33
- That block runs when the application boots, and every time there is a reload.
34
- For historical reasons, it may run twice, so it has to be idempotent.
35
-
36
- Check the "Autoloading and Reloading Constants" guide to learn more about how
37
- Rails autoloads and reloads.
38
- (called from <top (required)> at /Users/greaves/Documents/Development/trusty-cms/spec/dummy/config/environment.rb:5)
39
- DEPRECATION WARNING: Initialization autoloaded the constants TrustyCms::Config, Admin, Admin::RegionsHelper, ApplicationHelper, DeviseHelper, ApplicationController, Admin::ResourceHelper, Admin::ResourceController, Admin::LayoutsHelper, Admin::LayoutsController, MultiSite::SiteChooserHelper, Admin::SnippetsController, ActionText::ContentHelper, and ActionText::TagHelper.
40
-
41
- Being able to do this is deprecated. Autoloading during initialization is going
42
- to be an error condition in future versions of Rails.
43
-
44
- Reloading does not reboot the application, and therefore code executed during
45
- initialization does not run again. So, if you reload TrustyCms::Config, for example,
46
- the expected changes won't be reflected in that stale Class object.
47
-
48
- `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
49
-
50
- In order to autoload safely at boot time, please wrap your code in a reloader
51
- callback this way:
52
-
53
- Rails.application.reloader.to_prepare do
54
- # Autoload classes and modules needed at boot time here.
55
- end
56
-
57
- That block runs when the application boots, and every time there is a reload.
58
- For historical reasons, it may run twice, so it has to be idempotent.
59
-
60
- Check the "Autoloading and Reloading Constants" guide to learn more about how
61
- Rails autoloads and reloads.
62
- (called from <top (required)> at /Users/greaves/Documents/Development/trusty-cms/spec/dummy/config/environment.rb:5)
63
- DEPRECATION WARNING: Initialization autoloaded the constants TrustyCms::Config, Admin, Admin::RegionsHelper, ApplicationHelper, DeviseHelper, ApplicationController, Admin::ResourceHelper, Admin::ResourceController, Admin::LayoutsHelper, Admin::LayoutsController, MultiSite::SiteChooserHelper, Admin::SnippetsController, ActionText::ContentHelper, and ActionText::TagHelper.
64
-
65
- Being able to do this is deprecated. Autoloading during initialization is going
66
- to be an error condition in future versions of Rails.
67
-
68
- Reloading does not reboot the application, and therefore code executed during
69
- initialization does not run again. So, if you reload TrustyCms::Config, for example,
70
- the expected changes won't be reflected in that stale Class object.
71
-
72
- `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
73
-
74
- In order to autoload safely at boot time, please wrap your code in a reloader
75
- callback this way:
76
-
77
- Rails.application.reloader.to_prepare do
78
- # Autoload classes and modules needed at boot time here.
79
- end
80
-
81
- That block runs when the application boots, and every time there is a reload.
82
- For historical reasons, it may run twice, so it has to be idempotent.
83
-
84
- Check the "Autoloading and Reloading Constants" guide to learn more about how
85
- Rails autoloads and reloads.
86
- (called from <top (required)> at /Users/greaves/Documents/Development/trusty-cms/spec/dummy/config/environment.rb:5)
87
- DEPRECATION WARNING: Initialization autoloaded the constants TrustyCms::Config, Admin, Admin::RegionsHelper, ApplicationHelper, DeviseHelper, ApplicationController, Admin::ResourceHelper, Admin::ResourceController, Admin::LayoutsHelper, Admin::LayoutsController, MultiSite::SiteChooserHelper, Admin::SnippetsController, ActionText::ContentHelper, and ActionText::TagHelper.
88
-
89
- Being able to do this is deprecated. Autoloading during initialization is going
90
- to be an error condition in future versions of Rails.
91
-
92
- Reloading does not reboot the application, and therefore code executed during
93
- initialization does not run again. So, if you reload TrustyCms::Config, for example,
94
- the expected changes won't be reflected in that stale Class object.
95
-
96
- `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
97
-
98
- In order to autoload safely at boot time, please wrap your code in a reloader
99
- callback this way:
100
-
101
- Rails.application.reloader.to_prepare do
102
- # Autoload classes and modules needed at boot time here.
103
- end
104
-
105
- That block runs when the application boots, and every time there is a reload.
106
- For historical reasons, it may run twice, so it has to be idempotent.
107
-
108
- Check the "Autoloading and Reloading Constants" guide to learn more about how
109
- Rails autoloads and reloads.
110
- (called from <top (required)> at /Users/greaves/Documents/Development/trusty-cms/spec/dummy/config/environment.rb:5)
111
- DEPRECATION WARNING: Initialization autoloaded the constants TrustyCms::Config, Admin, Admin::RegionsHelper, ApplicationHelper, DeviseHelper, ApplicationController, Admin::ResourceHelper, Admin::ResourceController, Admin::LayoutsHelper, Admin::LayoutsController, MultiSite::SiteChooserHelper, Admin::SnippetsController, ActionText::ContentHelper, and ActionText::TagHelper.
112
-
113
- Being able to do this is deprecated. Autoloading during initialization is going
114
- to be an error condition in future versions of Rails.
115
-
116
- Reloading does not reboot the application, and therefore code executed during
117
- initialization does not run again. So, if you reload TrustyCms::Config, for example,
118
- the expected changes won't be reflected in that stale Class object.
119
-
120
- `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
121
-
122
- In order to autoload safely at boot time, please wrap your code in a reloader
123
- callback this way:
124
-
125
- Rails.application.reloader.to_prepare do
126
- # Autoload classes and modules needed at boot time here.
127
- end
128
-
129
- That block runs when the application boots, and every time there is a reload.
130
- For historical reasons, it may run twice, so it has to be idempotent.
131
-
132
- Check the "Autoloading and Reloading Constants" guide to learn more about how
133
- Rails autoloads and reloads.
134
- (called from <top (required)> at /Users/greaves/Documents/Development/trusty-cms/spec/dummy/config/environment.rb:5)
135
- DEPRECATION WARNING: Initialization autoloaded the constants TrustyCms::Config, Admin, Admin::RegionsHelper, ApplicationHelper, DeviseHelper, ApplicationController, Admin::ResourceHelper, Admin::ResourceController, Admin::LayoutsHelper, Admin::LayoutsController, MultiSite::SiteChooserHelper, Admin::SnippetsController, ActionText::ContentHelper, and ActionText::TagHelper.
136
-
137
- Being able to do this is deprecated. Autoloading during initialization is going
138
- to be an error condition in future versions of Rails.
139
-
140
- Reloading does not reboot the application, and therefore code executed during
141
- initialization does not run again. So, if you reload TrustyCms::Config, for example,
142
- the expected changes won't be reflected in that stale Class object.
143
-
144
- `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
145
-
146
- In order to autoload safely at boot time, please wrap your code in a reloader
147
- callback this way:
148
-
149
- Rails.application.reloader.to_prepare do
150
- # Autoload classes and modules needed at boot time here.
151
- end
152
-
153
- That block runs when the application boots, and every time there is a reload.
154
- For historical reasons, it may run twice, so it has to be idempotent.
155
-
156
- Check the "Autoloading and Reloading Constants" guide to learn more about how
157
- Rails autoloads and reloads.
158
- (called from <top (required)> at /Users/greaves/Documents/Development/trusty-cms/spec/dummy/config/environment.rb:5)
@@ -1,327 +0,0 @@
1
- Authors ordered by first contribution.
2
-
3
- John Resig <jeresig@gmail.com>
4
- Gilles van den Hoven <gilles0181@gmail.com>
5
- Michael Geary <mike@geary.com>
6
- Stefan Petre <stefan.petre@gmail.com>
7
- Yehuda Katz <wycats@gmail.com>
8
- Corey Jewett <cj@syntheticplayground.com>
9
- Klaus Hartl <klaus.hartl@gmail.com>
10
- Franck Marcia <franck.marcia@gmail.com>
11
- Jörn Zaefferer <joern.zaefferer@gmail.com>
12
- Paul Bakaus <paul.bakaus@gmail.com>
13
- Brandon Aaron <brandon.aaron@gmail.com>
14
- Mike Alsup <malsup@gmail.com>
15
- Dave Methvin <dave.methvin@gmail.com>
16
- Ed Engelhardt <edengelhardt@gmail.com>
17
- Sean Catchpole <littlecooldude@gmail.com>
18
- Paul Mclanahan <pmclanahan@gmail.com>
19
- David Serduke <davidserduke@gmail.com>
20
- Richard D. Worth <rdworth@gmail.com>
21
- Scott González <scott.gonzalez@gmail.com>
22
- Ariel Flesler <aflesler@gmail.com>
23
- Jon Evans <jon@springyweb.com>
24
- TJ Holowaychuk <tj@vision-media.ca>
25
- Michael Bensoussan <mickey@seesmic.com>
26
- Robert Katić <robert.katic@gmail.com>
27
- Louis-Rémi Babé <lrbabe@gmail.com>
28
- Earle Castledine <mrspeaker@gmail.com>
29
- Damian Janowski <damian.janowski@gmail.com>
30
- Rich Dougherty <rich@rd.gen.nz>
31
- Kim Dalsgaard <kim@kimdalsgaard.com>
32
- Andrea Giammarchi <andrea.giammarchi@gmail.com>
33
- Mark Gibson <jollytoad@gmail.com>
34
- Karl Swedberg <kswedberg@gmail.com>
35
- Justin Meyer <justinbmeyer@gmail.com>
36
- Ben Alman <cowboy@rj3.net>
37
- James Padolsey <cla@padolsey.net>
38
- David Petersen <public@petersendidit.com>
39
- Batiste Bieler <batiste.bieler@gmail.com>
40
- Alexander Farkas <info@corrupt-system.de>
41
- Rick Waldron <waldron.rick@gmail.com>
42
- Filipe Fortes <filipe@fortes.com>
43
- Neeraj Singh <neerajdotname@gmail.com>
44
- Paul Irish <paul.irish@gmail.com>
45
- Iraê Carvalho <irae@irae.pro.br>
46
- Matt Curry <matt@pseudocoder.com>
47
- Michael Monteleone <michael@michaelmonteleone.net>
48
- Noah Sloan <noah.sloan@gmail.com>
49
- Tom Viner <github@viner.tv>
50
- Douglas Neiner <doug@dougneiner.com>
51
- Adam J. Sontag <ajpiano@ajpiano.com>
52
- Dave Reed <dareed@microsoft.com>
53
- Ralph Whitbeck <ralph.whitbeck@gmail.com>
54
- Carl Fürstenberg <azatoth@gmail.com>
55
- Jacob Wright <jacwright@gmail.com>
56
- J. Ryan Stinnett <jryans@gmail.com>
57
- unknown <Igen005@.upcorp.ad.uprr.com>
58
- temp01 <temp01irc@gmail.com>
59
- Heungsub Lee <h@subl.ee>
60
- Colin Snover <github.com@zetafleet.com>
61
- Ryan W Tenney <ryan@10e.us>
62
- Pinhook <contact@pinhooklabs.com>
63
- Ron Otten <r.j.g.otten@gmail.com>
64
- Jephte Clain <Jephte.Clain@univ-reunion.fr>
65
- Anton Matzneller <obhvsbypqghgc@gmail.com>
66
- Alex Sexton <AlexSexton@gmail.com>
67
- Dan Heberden <danheberden@gmail.com>
68
- Henri Wiechers <hwiechers@gmail.com>
69
- Russell Holbrook <russell.holbrook@patch.com>
70
- Julian Aubourg <aubourg.julian@gmail.com>
71
- Gianni Alessandro Chiappetta <gianni@runlevel6.org>
72
- Scott Jehl <scottjehl@gmail.com>
73
- James Burke <jrburke@gmail.com>
74
- Jonas Pfenniger <jonas@pfenniger.name>
75
- Xavi Ramirez <xavi.rmz@gmail.com>
76
- Jared Grippe <jared@deadlyicon.com>
77
- Sylvester Keil <sylvester@keil.or.at>
78
- Brandon Sterne <bsterne@mozilla.com>
79
- Mathias Bynens <mathias@qiwi.be>
80
- Timmy Willison <4timmywil@gmail.com>
81
- Corey Frang <gnarf37@gmail.com>
82
- Digitalxero <digitalxero>
83
- Anton Kovalyov <anton@kovalyov.net>
84
- David Murdoch <david@davidmurdoch.com>
85
- Josh Varner <josh.varner@gmail.com>
86
- Charles McNulty <cmcnulty@kznf.com>
87
- Jordan Boesch <jboesch26@gmail.com>
88
- Jess Thrysoee <jess@thrysoee.dk>
89
- Michael Murray <m@murz.net>
90
- Lee Carpenter <elcarpie@gmail.com>
91
- Alexis Abril <me@alexisabril.com>
92
- Rob Morgan <robbym@gmail.com>
93
- John Firebaugh <john_firebaugh@bigfix.com>
94
- Sam Bisbee <sam@sbisbee.com>
95
- Gilmore Davidson <gilmoreorless@gmail.com>
96
- Brian Brennan <me@brianlovesthings.com>
97
- Xavier Montillet <xavierm02.net@gmail.com>
98
- Daniel Pihlstrom <sciolist.se@gmail.com>
99
- Sahab Yazdani <sahab.yazdani+github@gmail.com>
100
- avaly <github-com@agachi.name>
101
- Scott Hughes <hi@scott-hughes.me>
102
- Mike Sherov <mike.sherov@gmail.com>
103
- Greg Hazel <ghazel@gmail.com>
104
- Schalk Neethling <schalk@ossreleasefeed.com>
105
- Denis Knauf <Denis.Knauf@gmail.com>
106
- Timo Tijhof <krinklemail@gmail.com>
107
- Steen Nielsen <swinedk@gmail.com>
108
- Anton Ryzhov <anton@ryzhov.me>
109
- Shi Chuan <shichuanr@gmail.com>
110
- Berker Peksag <berker.peksag@gmail.com>
111
- Toby Brain <tobyb@freshview.com>
112
- Matt Mueller <mattmuelle@gmail.com>
113
- Justin <drakefjustin@gmail.com>
114
- Daniel Herman <daniel.c.herman@gmail.com>
115
- Oleg Gaidarenko <markelog@gmail.com>
116
- Richard Gibson <richard.gibson@gmail.com>
117
- Rafaël Blais Masson <rafbmasson@gmail.com>
118
- cmc3cn <59194618@qq.com>
119
- Joe Presbrey <presbrey@gmail.com>
120
- Sindre Sorhus <sindresorhus@gmail.com>
121
- Arne de Bree <arne@bukkie.nl>
122
- Vladislav Zarakovsky <vlad.zar@gmail.com>
123
- Andrew E Monat <amonat@gmail.com>
124
- Oskari <admin@o-programs.com>
125
- Joao Henrique de Andrade Bruni <joaohbruni@yahoo.com.br>
126
- tsinha <tsinha@Anthonys-MacBook-Pro.local>
127
- Matt Farmer <matt@frmr.me>
128
- Trey Hunner <treyhunner@gmail.com>
129
- Jason Moon <jmoon@socialcast.com>
130
- Jeffery To <jeffery.to@gmail.com>
131
- Kris Borchers <kris.borchers@gmail.com>
132
- Vladimir Zhuravlev <private.face@gmail.com>
133
- Jacob Thornton <jacobthornton@gmail.com>
134
- Chad Killingsworth <chadkillingsworth@missouristate.edu>
135
- Nowres Rafid <nowres.rafed@gmail.com>
136
- David Benjamin <davidben@mit.edu>
137
- Uri Gilad <antishok@gmail.com>
138
- Chris Faulkner <thefaulkner@gmail.com>
139
- Elijah Manor <elijah.manor@gmail.com>
140
- Daniel Chatfield <chatfielddaniel@gmail.com>
141
- Nikita Govorov <nikita.govorov@gmail.com>
142
- Wesley Walser <waw325@gmail.com>
143
- Mike Pennisi <mike@mikepennisi.com>
144
- Markus Staab <markus.staab@redaxo.de>
145
- Dave Riddle <david@joyvuu.com>
146
- Callum Macrae <callum@lynxphp.com>
147
- Benjamin Truyman <bentruyman@gmail.com>
148
- James Huston <james@jameshuston.net>
149
- Erick Ruiz de Chávez <erickrdch@gmail.com>
150
- David Bonner <dbonner@cogolabs.com>
151
- Akintayo Akinwunmi <aakinwunmi@judge.com>
152
- MORGAN <morgan@morgangraphics.com>
153
- Ismail Khair <ismail.khair@gmail.com>
154
- Carl Danley <carldanley@gmail.com>
155
- Mike Petrovich <michael.c.petrovich@gmail.com>
156
- Greg Lavallee <greglavallee@wapolabs.com>
157
- Daniel Gálvez <dgalvez@editablething.com>
158
- Sai Lung Wong <sai.wong@huffingtonpost.com>
159
- Tom H Fuertes <TomFuertes@gmail.com>
160
- Roland Eckl <eckl.roland@googlemail.com>
161
- Jay Merrifield <fracmak@gmail.com>
162
- Allen J Schmidt Jr <cobrasoft@gmail.com>
163
- Jonathan Sampson <jjdsampson@gmail.com>
164
- Marcel Greter <marcel.greter@ocbnet.ch>
165
- Matthias Jäggli <matthias.jaeggli@gmail.com>
166
- David Fox <dfoxinator@gmail.com>
167
- Yiming He <yiminghe@gmail.com>
168
- Devin Cooper <cooper.semantics@gmail.com>
169
- Paul Ramos <paul.b.ramos@gmail.com>
170
- Rod Vagg <rod@vagg.org>
171
- Bennett Sorbo <bsorbo@gmail.com>
172
- Sebastian Burkhard <sebi.burkhard@gmail.com>
173
- Zachary Adam Kaplan <razic@viralkitty.com>
174
- nanto_vi <nanto@moon.email.ne.jp>
175
- nanto <nanto@moon.email.ne.jp>
176
- Danil Somsikov <danilasomsikov@gmail.com>
177
- Ryunosuke SATO <tricknotes.rs@gmail.com>
178
- Jean Boussier <jean.boussier@gmail.com>
179
- Adam Coulombe <me@adam.co>
180
- Andrew Plummer <plummer.andrew@gmail.com>
181
- Mark Raddatz <mraddatz@gmail.com>
182
- Isaac Z. Schlueter <i@izs.me>
183
- Karl Sieburg <ksieburg@yahoo.com>
184
- Pascal Borreli <pascal@borreli.com>
185
- Nguyen Phuc Lam <ruado1987@gmail.com>
186
- Dmitry Gusev <dmitry.gusev@gmail.com>
187
- Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
188
- Li Xudong <istonelee@gmail.com>
189
- Steven Benner <admin@stevenbenner.com>
190
- Tom H Fuertes <tomfuertes@gmail.com>
191
- Renato Oliveira dos Santos <ros3@cin.ufpe.br>
192
- ros3cin <ros3@cin.ufpe.br>
193
- Jason Bedard <jason+jquery@jbedard.ca>
194
- Kyle Robinson Young <kyle@dontkry.com>
195
- Chris Talkington <chris@talkingtontech.com>
196
- Eddie Monge <eddie@eddiemonge.com>
197
- Terry Jones <terry@jon.es>
198
- Jason Merino <jasonmerino@gmail.com>
199
- Jeremy Dunck <jdunck@gmail.com>
200
- Chris Price <price.c@gmail.com>
201
- Guy Bedford <guybedford@gmail.com>
202
- Amey Sakhadeo <me@ameyms.com>
203
- Mike Sidorov <mikes.ekb@gmail.com>
204
- Anthony Ryan <anthonyryan1@gmail.com>
205
- Dominik D. Geyer <dominik.geyer@gmail.com>
206
- George Kats <katsgeorgeek@gmail.com>
207
- Lihan Li <frankieteardrop@gmail.com>
208
- Ronny Springer <springer.ronny@gmail.com>
209
- Chris Antaki <ChrisAntaki@gmail.com>
210
- Marian Sollmann <marian.sollmann@cargomedia.ch>
211
- njhamann <njhamann@gmail.com>
212
- Ilya Kantor <iliakan@gmail.com>
213
- David Hong <d.hong@me.com>
214
- John Paul <john@johnkpaul.com>
215
- Jakob Stoeck <jakob@pokermania.de>
216
- Christopher Jones <chris@cjqed.com>
217
- Forbes Lindesay <forbes@lindesay.co.uk>
218
- S. Andrew Sheppard <andrew@wq.io>
219
- Leonardo Balter <leonardo.balter@gmail.com>
220
- Roman Reiß <me@silverwind.io>
221
- Benjy Cui <benjytrys@gmail.com>
222
- Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>
223
- John Hoven <hovenj@gmail.com>
224
- Philip Jägenstedt <philip@foolip.org>
225
- Christian Kosmowski <ksmwsk@gmail.com>
226
- Liang Peng <poppinlp@gmail.com>
227
- TJ VanToll <tj.vantoll@gmail.com>
228
- Senya Pugach <upisfree@outlook.com>
229
- Aurelio De Rosa <aurelioderosa@gmail.com>
230
- Nazar Mokrynskyi <nazar@mokrynskyi.com>
231
- Amit Merchant <bullredeyes@gmail.com>
232
- Jason Bedard <jason+github@jbedard.ca>
233
- Arthur Verschaeve <contact@arthurverschaeve.be>
234
- Dan Hart <danhart@notonthehighstreet.com>
235
- Bin Xin <rhyzix@gmail.com>
236
- David Corbacho <davidcorbacho@gmail.com>
237
- Veaceslav Grimalschi <grimalschi@yandex.ru>
238
- Daniel Husar <dano.husar@gmail.com>
239
- Frederic Hemberger <mail@frederic-hemberger.de>
240
- Ben Toews <mastahyeti@gmail.com>
241
- Aditya Raghavan <araghavan3@gmail.com>
242
- Victor Homyakov <vkhomyackov@gmail.com>
243
- Shivaji Varma <contact@shivajivarma.com>
244
- Nicolas HENRY <icewil@gmail.com>
245
- Anne-Gaelle Colom <coloma@westminster.ac.uk>
246
- George Mauer <gmauer@gmail.com>
247
- Leonardo Braga <leonardo.braga@gmail.com>
248
- Stephen Edgar <stephen@netweb.com.au>
249
- Thomas Tortorini <thomastortorini@gmail.com>
250
- Winston Howes <winstonhowes@gmail.com>
251
- Jon Hester <jon.d.hester@gmail.com>
252
- Alexander O'Mara <me@alexomara.com>
253
- Bastian Buchholz <buchholz.bastian@googlemail.com>
254
- Arthur Stolyar <nekr.fabula@gmail.com>
255
- Calvin Metcalf <calvin.metcalf@gmail.com>
256
- Mu Haibao <mhbseal@163.com>
257
- Richard McDaniel <rm0026@uah.edu>
258
- Chris Rebert <github@rebertia.com>
259
- Gabriel Schulhof <gabriel.schulhof@intel.com>
260
- Gilad Peleg <giladp007@gmail.com>
261
- Martin Naumann <martin@geekonaut.de>
262
- Marek Lewandowski <m.lewandowski@cksource.com>
263
- Bruno Pérel <brunoperel@gmail.com>
264
- Reed Loden <reed@reedloden.com>
265
- Daniel Nill <daniellnill@gmail.com>
266
- Yongwoo Jeon <yongwoo.jeon@navercorp.com>
267
- Sean Henderson <seanh.za@gmail.com>
268
- Richard Kraaijenhagen <stdin+git@riichard.com>
269
- Connor Atherton <c.liam.atherton@gmail.com>
270
- Gary Ye <garysye@gmail.com>
271
- Christian Grete <webmaster@christiangrete.com>
272
- Liza Ramo <liza.h.ramo@gmail.com>
273
- Julian Alexander Murillo <julian.alexander.murillo@gmail.com>
274
- Joelle Fleurantin <joasqueeniebee@gmail.com>
275
- Jae Sung Park <alberto.park@gmail.com>
276
- Jun Sun <klsforever@gmail.com>
277
- Josh Soref <apache@soref.com>
278
- Henry Wong <henryw4k@gmail.com>
279
- Jon Dufresne <jon.dufresne@gmail.com>
280
- Martijn W. van der Lee <martijn@vanderlee.com>
281
- Devin Wilson <dwilson6.github@gmail.com>
282
- Steve Mao <maochenyan@gmail.com>
283
- Zack Hall <zackhall@outlook.com>
284
- Bernhard M. Wiedemann <jquerybmw@lsmod.de>
285
- Todor Prikumov <tono_pr@abv.bg>
286
- Jha Naman <createnaman@gmail.com>
287
- William Robinet <william.robinet@conostix.com>
288
- Alexander Lisianoi <all3fox@gmail.com>
289
- Vitaliy Terziev <vitaliyterziev@gmail.com>
290
- Joe Trumbull <trumbull.j@gmail.com>
291
- Alexander K <xpyro@ya.ru>
292
- Damian Senn <jquery@topaxi.codes>
293
- Ralin Chimev <ralin.chimev@gmail.com>
294
- Felipe Sateler <fsateler@gmail.com>
295
- Christophe Tafani-Dereeper <christophetd@hotmail.fr>
296
- Manoj Kumar <nithmanoj@gmail.com>
297
- David Broder-Rodgers <broder93@gmail.com>
298
- Alex Louden <alex@louden.com>
299
- Alex Padilla <alexonezero@outlook.com>
300
- 南漂一卒 <shiy007@qq.com>
301
- karan-96 <karanbatra96@gmail.com>
302
- Boom Lee <teabyii@gmail.com>
303
- Andreas Solleder <asol@num42.de>
304
- CDAGaming <cstack2011@yahoo.com>
305
- Pierre Spring <pierre@nelm.io>
306
- Shashanka Nataraj <shashankan.10@gmail.com>
307
- Erik Lax <erik@datahack.se>
308
- Matan Kotler-Berkowitz <205matan@gmail.com>
309
- Jordan Beland <jordan.beland@gmail.com>
310
- Henry Zhu <hi@henryzoo.com>
311
- Saptak Sengupta <saptak013@gmail.com>
312
- Nilton Cesar <niltoncms@gmail.com>
313
- basil.belokon <basil.belokon@gmail.com>
314
- tmybr11 <tomas.perone@gmail.com>
315
- Luis Emilio Velasco Sanchez <emibloque@gmail.com>
316
- Ed S <ejsanders@gmail.com>
317
- Bert Zhang <enbo@users.noreply.github.com>
318
- Andrei Fangli <andrei_fangli@outlook.com>
319
- Marja Hölttä <marja.holtta@gmail.com>
320
- abnud1 <ahmad13932013@hotmail.com>
321
- buddh4 <mail@jharrer.de>
322
- Pat O'Callaghan <patocallaghan@gmail.com>
323
- Ahmed.S.ElAfifi <ahmed.s.elafifi@gmail.com>
324
- Wonseop Kim <wonseop.kim@samsung.com>
325
- Christian Oliff <christianoliff@pm.me>
326
- Christian Wenz <christian@wenz.org>
327
- Sean Robinson <sean.robinson@scottsdalecc.edu>
@@ -1,20 +0,0 @@
1
- Copyright JS Foundation and other contributors, https://js.foundation/
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,62 +0,0 @@
1
- # jQuery
2
-
3
- > jQuery is a fast, small, and feature-rich JavaScript library.
4
-
5
- For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).
6
- For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
7
-
8
- If upgrading, please see the [blog post for 3.5.0](https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/). This includes notable differences from the previous version and a more readable changelog.
9
-
10
- ## Including jQuery
11
-
12
- Below are some of the most common ways to include jQuery.
13
-
14
- ### Browser
15
-
16
- #### Script tag
17
-
18
- ```html
19
- <script src="https://code.jquery.com/jquery-3.5.0.min.js"></script>
20
- ```
21
-
22
- #### Babel
23
-
24
- [Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
25
-
26
- ```js
27
- import $ from "jquery";
28
- ```
29
-
30
- #### Browserify/Webpack
31
-
32
- There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...
33
-
34
- ```js
35
- var $ = require( "jquery" );
36
- ```
37
-
38
- #### AMD (Asynchronous Module Definition)
39
-
40
- AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).
41
-
42
- ```js
43
- define( [ "jquery" ], function( $ ) {
44
-
45
- } );
46
- ```
47
-
48
- ### Node
49
-
50
- To include jQuery in [Node](nodejs.org), first install with npm.
51
-
52
- ```sh
53
- npm install jquery
54
- ```
55
-
56
- For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes.
57
-
58
- ```js
59
- const { JSDOM } = require( "jsdom" );
60
- const { window } = new JSDOM( "" );
61
- const $ = require( "jquery" )( window );
62
- ```
@@ -1,14 +0,0 @@
1
- {
2
- "name": "jquery",
3
- "main": "dist/jquery.js",
4
- "license": "MIT",
5
- "ignore": [
6
- "package.json"
7
- ],
8
- "keywords": [
9
- "jquery",
10
- "javascript",
11
- "browser",
12
- "library"
13
- ]
14
- }