w3co / jcf

Advanced form elements customization using CSS/JS
MIT License
202 stars 55 forks source link

Which file should to be hosted? #34

Closed kennynaoh closed 8 years ago

kennynaoh commented 8 years ago

Hello @inferpse I am the member of cdnjs project. We want to host this library. But there is a question want to ask. Which files need to be hosted? Thanks for your help!

https://github.com/cdnjs/cdnjs/issues/8725

inferpse commented 8 years ago

Hey @kennynaoh !

Its a good idea! I think that you need to host all files under the dist/ folder in this repo. All of them are important but most of people probably use only jcf.select.js and jcf.scrollable.js

kennynaoh commented 8 years ago

Thanks!

kennynaoh commented 8 years ago

Because there isn't has dist folder in v1.0.0~v1.2.1, but I think the file we need to add are js/ and css/ without demo.css, right? Thanks!

inferpse commented 8 years ago

Yes, for these versions you could use files from js/ folder. These files: jquery.js and ie.js shouldn't be hosted as well.

Since 1.2.2 we have minified files in dist/ folder so maybe it's better to host them instead of the source files? Sorry for this mess in the repo :)

kennynaoh commented 8 years ago

Thanks a lot!

inferpse commented 8 years ago

Thanks to you! I'll add the link to cdnjs in a project readme when jcf will be available there :)