Skip to content

JS/CSS resource loading compatibility for both 2.8 and 2.9 ckan version.#62

Open
sagargg-zz wants to merge 2 commits intomasterfrom
fix/assest-resource-support-2.9
Open

JS/CSS resource loading compatibility for both 2.8 and 2.9 ckan version.#62
sagargg-zz wants to merge 2 commits intomasterfrom
fix/assest-resource-support-2.9

Conversation

@sagargg-zz
Copy link
Copy Markdown

CKAN v2.9 doesn’t support resource js/css imports. This PR includes both resource and assets importer so that it will compatible with both v2.9 and v2.8.

@tomeksabala
Copy link
Copy Markdown
Contributor

Thanks for this change @sagargg-zz . It was a great help in my project which uses blobstorage and CKAN 2.9 (which depricated fanstatic support with 2.9.3 release).

It'd be great to have it merged to the original repo.

@tomeksabala
Copy link
Copy Markdown
Contributor

You might also want to have a look at some changes I needed to do in order to make it work with CKAN 2.9.3
I have also updated webassets configuration so it matches default suggested by CKAN ("assets" resources directory name, hypens instead of underscore in names for consistency, etc.)
fjelltopp@cb22c11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants