jx 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl

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.
jx/catalog.py CHANGED
@@ -172,17 +172,15 @@ class Catalog:
172
172
  co = self.get_component(relpath)
173
173
 
174
174
  globals = globals or {}
175
- globals.update(
176
- {
177
- "assets": {
178
- "css": co.collect_css,
179
- "js": co.collect_js,
180
- "render_css": co.render_css,
181
- "render_js": co.render_js,
182
- "render": co.render_assets,
183
- },
175
+ globals.update({
176
+ "assets": {
177
+ "collect_css": co.collect_css,
178
+ "collect_js": co.collect_js,
179
+ "render_css": co.render_css,
180
+ "render_js": co.render_js,
181
+ "render": co.render_assets,
184
182
  }
185
- )
183
+ })
186
184
  co.globals = globals
187
185
 
188
186
  return co.render(**kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jx
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: Replace your HTML templates with Python server-Side components
5
5
  Author-email: Juan Pablo Scaletti <juanpablo@jpscaletti.com>
6
6
  Project-URL: Code, https://github.com/jpsca/jx
@@ -1,13 +1,13 @@
1
1
  jx/__init__.py,sha256=f05q3I3xvO72xqVOhtWI_KMSVa0vACbGsK2eMrhzO1g,126
2
2
  jx/attrs.py,sha256=3cSSJb-idpD2CdhA_BZLX-OId1t8c2nzJp0jSJpTjvs,11344
3
- jx/catalog.py,sha256=o6NLtCgUJbx8S_8J_evp-d7YPjQNClhbu187iNYxXJA,13528
3
+ jx/catalog.py,sha256=NenZZeSoFsRBxFSDwusxzIJWvljOeoRS_N6VmEon_Nw,13489
4
4
  jx/component.py,sha256=04Ic7wGm65uUPAiVGhz8YbD2orBbasKd1dFo4FtbIv4,7004
5
5
  jx/exceptions.py,sha256=eQVCjt49FOgOjdGPPAhU4eIgBvumQ6BXmTh_siYpyIg,1493
6
6
  jx/meta.py,sha256=nKSeZzgdtJEjPoc7PaYGhBkBbwFRC97XZc_GUMBndPI,5167
7
7
  jx/parser.py,sha256=AtjSqCwLps18gi2fzi4CkkszH0iqSIzBbGNX76kCuNc,12843
8
8
  jx/utils.py,sha256=BTxDPhiWuKHRcVCND07OGkYLhzPp9G6iDgDC7H2o4Lo,643
9
- jx-0.5.0.dist-info/licenses/LICENSE,sha256=RHwNifuIFfQM9QUhA2FQfnqlBcnhBHlJEVp8QcRllew,1076
10
- jx-0.5.0.dist-info/METADATA,sha256=ui4eW1QhDzEgl5Z9nVuclSZMnSo927n6cHWPjtfR7PQ,2722
11
- jx-0.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- jx-0.5.0.dist-info/top_level.txt,sha256=P61YQxqfmzVpxTMe3C48gt0vc6fnHLF8Ml0JXC-QuEI,3
13
- jx-0.5.0.dist-info/RECORD,,
9
+ jx-0.5.1.dist-info/licenses/LICENSE,sha256=RHwNifuIFfQM9QUhA2FQfnqlBcnhBHlJEVp8QcRllew,1076
10
+ jx-0.5.1.dist-info/METADATA,sha256=962jklA9-leX_gkSR9C3rpk54bcYvsUgWAbGFB7Fn3s,2722
11
+ jx-0.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ jx-0.5.1.dist-info/top_level.txt,sha256=P61YQxqfmzVpxTMe3C48gt0vc6fnHLF8Ml0JXC-QuEI,3
13
+ jx-0.5.1.dist-info/RECORD,,
File without changes
File without changes