Comments (14)
Is there any way one could help with that?
from jquery-ui-rails.
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.
@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.
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.
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.
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.
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.
what specifically needs to be done to make this happen? I am willing to help
from jquery-ui-rails.
+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.
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.
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.
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.
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.
Fixed by #27.
from jquery-ui-rails.
Related Issues (20)
- Please support url link for image and support iframe. HOT 1
- couldn't find file 'jquery-ui/datepicker' with type 'application/javascript' HOT 1
- Clarifying README about Jquery Rails Conflict HOT 2
- RequireJS looking at the wrong path
- Impossible to load jquery-ui HOT 12
- Autocomplete dependency not resolved HOT 2
- Inconsistency between widget css/js locations
- Failed to load resource: ui-icons_222222_256x240.png HOT 1
- UI issue on Rails 5 (datepicker) HOT 1
- copy of assets files on the app required? HOT 1
- Nobody should use this because of security vulnerabilities HOT 1
- SyntaxError on ruby 2.5
- is there a way to get this to work with application.sass instead of application.css? HOT 1
- loads all the component files individually HOT 1
- .ui-helper-reset overrides .ui-widget-content
- CSS SyntaxError HOT 1
- SOOOO many questions (and don't use this gem) HOT 3
- Version 7.0.0 not published to rubygems.org HOT 14
- Please release the latest version HOT 6
- Possible typo in release title
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-ui-rails.