This repository has been archived by the owner on Jan 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Migration 0.5 to 0.6
wpbasti edited this page Mar 23, 2012
·
8 revisions
- Session, Formatting and Optimization objects are globally initialized
- Projects are automatically scanned for. No need to add projects to the session manually. Configure project dependencies using new "require" section in jasyscript.py. The
addProject()
method is still available but there should not be a need to call it manually. - Permutations are still configured on the
session
object viasetField
orpermutateField
. Just use the pre-existing object instead of your own instance. - Permutation instance is not passed around anymore. It's a globally available variable as soon as one call
for xyz in session.permutate(): ...
. The variable of the loop is not important for the system to work. Update your calls toResolver
,Sorter
to not contain a permutation variable anymore. - Support was added for manual project structures like typical 3rd party JavaScript. It should be now possible to deal with all kinds of other JavaScript libraries. For an idea how to use that feature have a look at the Jasy Compat project.
-
Asset
was renamed toAssetManager
to differentiate with theAsset
class being used by projects right now. -
storeCompressed
does not support the parametersformatting
,optimization
andpermutation
anymore. -
storeKernel
does not support theformatting
parameter anymore. -
session.clearCache()
was renamed tosession.clean()
-
Resolver
does not has any parameters anymore. -
Sorter
has only one parameter now (resolver
)