padefla / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

Using SIMILE Timeline breaks the Mootools Framework and vice versa #383

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. include mootools-1.2.4-core.js
2. include timeline-api.js
3. watch Firebug console

What is the expected output? What do you see instead?

Expected nothing, but seeing errors.

What version of the product are you using? On what browser and what
operating system?

Lastest version from trunk. (we need zoom in/out)

Please provide any additional information below.

How could i work around this? Is it possible to rewrite small parts of he 
library? I think this happens because of the "$" check at the beginning... :/

Mootools and jQuery working perfectly together! See 
http://davidwalsh.name/jquery-mootools

Original issue reported on code.google.com by fiedler....@gmail.com on 9 Aug 2010 at 4:07

GoogleCodeExporter commented 8 years ago
One more thing, i really cant drop mootools! The whole site is based on it.

Original comment by fiedler....@gmail.com on 9 Aug 2010 at 4:09

GoogleCodeExporter commented 8 years ago
k, i got it working! Just removed all those:

    &&!("$" in window)

stuff from the simile ajax api. jQuery doesn´t need the "$" function in window.
Mootools does add this and the simile api "thinks" jQuery is already loaded. 
That´s bad! :/
Now it´s working fine!

greetings Sunny

Original comment by fiedler....@gmail.com on 10 Aug 2010 at 8:56

GoogleCodeExporter commented 8 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 9:34