Coder Social home page Coder Social logo

Comments (14)

jhilden avatar jhilden commented on July 26, 2024

Is there any way one could help with that?

from jquery-ui-rails.

joliss avatar joliss commented on July 26, 2024

Is there any way one could help with that?

Sure, that'd be lovely.

Mostly, the dependencies will need updating. The 1.8 dependencies in
the dependencies.js file were copied and pasted from the website. Can
we get a better source for the 1.9 dependencies? jquery-ui recently
changed to grunt as their build system, so I'm hopeful we don't have
to resort to copy and paste anymore.

from jquery-ui-rails.

jhilden avatar jhilden commented on July 26, 2024

@joliss Could you outline a little more in detail what would need to happen it what order?

@jzaefferer would you maybe be available to help with that here in Cologne at some point?

from jquery-ui-rails.

jzaefferer avatar jzaefferer commented on July 26, 2024

Sure, once I'm back, so early November.

Meanwhile, take a look at the manifest files that are in the release zip files (Downloads on GitHub or use grunt manifest to generate from source). They contain dependencies for each component. You should be able to generate dependencies.js based on that.

from jquery-ui-rails.

joliss avatar joliss commented on July 26, 2024

On Thu, Oct 18, 2012 at 5:37 PM, Jörn Zaefferer
[email protected] wrote:

You should be able to generate dependencies.js based on that.

I'm actually OK changing the format of dependencies.js - it was just
the JS hash that happened to be on the website.

It gets picked up in the Rakefile (try running rake assets). We can
adjust the Rakefile code however we want, so that we can take the
upstream dependency definitions as verbatim as possible.

from jquery-ui-rails.

jzaefferer avatar jzaefferer commented on July 26, 2024

You can see the files here: https://github.com/jquery/jquery-ui/tree/1.9.0

As an example, here are the dependencies for autocomplete: https://github.com/jquery/jquery-ui/blob/1.9.0/ui.autocomplete.jquery.json#L56

from jquery-ui-rails.

joliss avatar joliss commented on July 26, 2024

On Thu, Oct 18, 2012 at 6:31 PM, Jörn Zaefferer
[email protected] wrote:

As an example, here are the dependencies for autocomplete:
https://github.com/jquery/jquery-ui/blob/1.9.0/ui.autocomplete.jquery.json#L56

Oh sweet. We may be able to read these files directly from the
Rakefile, perhaps?

from jquery-ui-rails.

Aeon avatar Aeon commented on July 26, 2024

what specifically needs to be done to make this happen? I am willing to help

from jquery-ui-rails.

luiscruz avatar luiscruz commented on July 26, 2024

+1
I cannot use gem 'jquery-fileupload-rails', because my jquery-ui-widget is not updated.
One of the main advantages of using 'jquery-ui-rails' is to update libraries easier.
+1

from jquery-ui-rails.

TylerRick avatar TylerRick commented on July 26, 2024

Looking forwarding to using the Spinner widget from 1.9... (http://blog.jqueryui.com/2012/10/jquery-ui-1-9-0/)

from jquery-ui-rails.

jhilden avatar jhilden commented on July 26, 2024

I took a stab at upgrading to jquery-ui 1.9.x and I think I got it figured out to resolve the Javascript dependencies using the newly provided .json files from jquery-ui, as mentioned by @jzaefferer

However, I'm not so sure on how the dependencies of the CSS files were figured out and what would need to change there.

You can find the code here: https://github.com/jhilden/jquery-ui-rails/tree/1-9-stable

Help is appreciated.

from jquery-ui-rails.

jzaefferer avatar jzaefferer commented on July 26, 2024

Generally CSS files always come in pairs to the JS files, so you should just match those, then add core and theme files. Widget doesn't have CSS.

from jquery-ui-rails.

jhilden avatar jhilden commented on July 26, 2024

Thanks for the pull request @stmontgomery

I looked over the code and your changes seem to be either equivalent or above mine. I also did a diff on the resulting assets and there were no differences.

So, I think we can close this issue in favor of #27 and I say +1 for merging the pull request.

from jquery-ui-rails.

joliss avatar joliss commented on July 26, 2024

Fixed by #27.

from jquery-ui-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.