Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
A resource.

A resource specifies a single resource in a library so that it can
be included in a web page. This is useful for Javascript and CSS
resources in particular. Some static resources such as images are
not included in this way and therefore do not have to be defined
this way.

:param library: the :py:class:`Library` this resource is in.

src/j/s/js.jquery_spin-1.0/js/jquery_spin/__init__.py   js.jquery_spin(Download)
from fanstatic import Library, Resource
from js.spin import spin
library = Library('jquery.spin', 'resources')
spin = Resource(library, 'jquery.spin.js', depends=[spin])