Comments (3)
Thanks,
At present Drupal 7 runs against 1.5 or lower but with time will get to
1.6.
FYI Drupal core ships with a fixed version of jQuery (whatever the
current version was at time of release). As new versions of jQuery are
released, you can update your Drupal by installing the jquery_update
module (drupal.org/project/jquery_update) this replaces the javascript
(at run time, not physically on disk) with the newer files and any other
js in Drupal that requires updating for the new version. So as the
compatibility is written/tested, jquery_update moves along with newer
versions. You may or may not be familiar with Drupal but a key mantra is
'don't hack core' ie keep the core files shipped with Drupal as they
are. This makes updating a breeze as you don't have to go back and
reapply patches etc. Drupal is flexible enough that (almost) anything
can be modified without touching the core distribution - hence the role
jquery_update plays. In this case javascript files are added to a stack
by modules/core using drupal_add_js or drupal_add_library and then
before the head of the page is rendered, the stack of files is passed
off to any 'interested' module to examine and modify as required, the
resultant returned stack is then output in the head of the page. This is
called an 'alter hook' in Drupal speak and is key to Drupal's
flexibility. See http://api.lullabot.com/jquery_update_library_alter/7
for more information, this is what Drupalers call 'an implementation of
hook_library_alter' - ie a php function that follows a particular naming
pattern and hence is seen by Drupal to be 'interested' in modifying (in
this case) Drupal's library files. If you're already familiar with how
Drupal works, then please ignore my ramblings...
Finally, something light-hearted: http://heyrocker.com/hack_core.jpg
Lee
On Sun, 2011-05-08 at 15:14 -0700, pisi wrote:
Lee,
I took the liberty to add you as a collaborator to the Reel project here on Github and will be my pleasure if you accept. As a collaborator you will be able to receive tickets informing you about an upcoming release, so that you won't receive release announcement post-release like this one ;) I promise I won't bother you and will assign you tickets just from time to time, mostly before Reel releases to ideally sync up with Formatter releases.
Very recently Reel 1.1.2 was identified to be using an
.attr
class name definition syntax unfortunatelly problematic and incompatible with jQuery 1.6 released just a few days ago. This weekend I've addressed this sudden issue (GH-33) and I've changed the syntax to restore the declared 1.4.2+ compatibility. The compatible version is rolled out as fresh Reel 1.1.3, which is also the latest version served by the CDN.I don't really know whether Drupal sites are deployed with a fixed version of jQuery or if they use latest. Because if they do use the latest jQuery 1.6, your Formatter would have to be updated.
If your Formatter uses jQuery 1.5.2 or lower, just ignore this and simply close this issue. The update is neccessary only for jQuery 1.6.
Thanks for your time!
.pisi
from reel.
BTW I accept the collaboration, although I think the Reel plugin itself
is beyond my Javascript skills
On Sun, 2011-05-08 at 15:14 -0700, pisi wrote:
Lee,
I took the liberty to add you as a collaborator to the Reel project here on Github and will be my pleasure if you accept. As a collaborator you will be able to receive tickets informing you about an upcoming release, so that you won't receive release announcement post-release like this one ;) I promise I won't bother you and will assign you tickets just from time to time, mostly before Reel releases to ideally sync up with Formatter releases.
Very recently Reel 1.1.2 was identified to be using an
.attr
class name definition syntax unfortunatelly problematic and incompatible with jQuery 1.6 released just a few days ago. This weekend I've addressed this sudden issue (GH-33) and I've changed the syntax to restore the declared 1.4.2+ compatibility. The compatible version is rolled out as fresh Reel 1.1.3, which is also the latest version served by the CDN.I don't really know whether Drupal sites are deployed with a fixed version of jQuery or if they use latest. Because if they do use the latest jQuery 1.6, your Formatter would have to be updated.
If your Formatter uses jQuery 1.5.2 or lower, just ignore this and simply close this issue. The update is neccessary only for jQuery 1.6.
Thanks for your time!
.pisi
from reel.
Excellent! Thanks for the throughout explanation as all I know about Drupal is that it's PHP. And that isn't much... ;)
from reel.
Related Issues (20)
- Dragging within a range of sequence
- Reel.js is not working in Chrome when add next and previous button.
- data-loops = 'false' does not work on rows
- possibility to ude it merging some images to compose the shown one
- touch support HOT 1
- Reach event rotates one frame backwards before rotating correctly
- python
- sensitivity on touch movement
- responsive and Ajax - In russian is love)))
- Jquery reel larger than container
- how to stop image cache
- Dimension(s) of the target image unknown Ab HOT 3
- ReferenceError: jQuery is not defined
- Image Request Loop Issue HOT 3
- Using reel js object animated by a slider (jquery ui) inside a book of moodle. It doesn't work
- Not working properly on mobile Safari? HOT 8
- 360 spinner doesn't work well on mobile HOT 6
- Chrome: Jerky or not smooth scrolling if it is placed at about 3000px or below in height
- Implement in Vuejs
- Uncaught TypeError: Cannot use 'in' operator to search for 'length' in 50, latest JQuery jquery.min-3.6.0.js not working
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 reel.