jx 0.4.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 +10 -12
- {jx-0.4.0.dist-info → jx-0.5.1.dist-info}/METADATA +1 -1
- {jx-0.4.0.dist-info → jx-0.5.1.dist-info}/RECORD +6 -6
- {jx-0.4.0.dist-info → jx-0.5.1.dist-info}/WHEEL +0 -0
- {jx-0.4.0.dist-info → jx-0.5.1.dist-info}/licenses/LICENSE +0 -0
- {jx-0.4.0.dist-info → jx-0.5.1.dist-info}/top_level.txt +0 -0
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
|
-
"
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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)
|
|
@@ -232,8 +230,8 @@ class Catalog:
|
|
|
232
230
|
globals = globals or {}
|
|
233
231
|
globals.update({
|
|
234
232
|
"assets": {
|
|
235
|
-
"
|
|
236
|
-
"
|
|
233
|
+
"collect_css": co.collect_css,
|
|
234
|
+
"collect_js": co.collect_js,
|
|
237
235
|
"render_css": co.render_css,
|
|
238
236
|
"render_js": co.render_js,
|
|
239
237
|
"render": co.render_assets,
|
|
@@ -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=
|
|
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.
|
|
10
|
-
jx-0.
|
|
11
|
-
jx-0.
|
|
12
|
-
jx-0.
|
|
13
|
-
jx-0.
|
|
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
|
|
File without changes
|