Giter VIP home page Giter VIP logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
Hi

I can't repoduce this issue.
Witch version of prototype did you use?
(See also: http://code.google.com/p/hyphenator/issues/detail?id=7&can=1)

thanks

Original comment by [email protected] on 15 Dec 2008 at 6:01

from hyphenator.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
I use the latest Prototype 1.6.0.3 and HyphenatorBeta10. The attached html 
reproduces
the issue.

Thanks for your reply.

Original comment by [email protected] on 16 Dec 2008 at 8:23

Attachments:

from hyphenator.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
Thanks

the attachment helped: I was able to reproduce the issue, but only on Firefox 
(OS X, 3.0.4) and Opera (OS X, 
9.60).
Safari (OS X, 3.2.1) and IE7 (XP) are working as exspected, here.

Original comment by [email protected] on 16 Dec 2008 at 12:48

  • Changed state: Accepted
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

from hyphenator.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
You are right, my formerly attached issue.zip works well in Safari 3.2.1 OSX 
and IE7
WinVista.

But, unfortunately, I am developing a rather complex html/css/js structure. 
Including
Hyphenator within this structure only works in Safari 3.2.1 OSX, but fails in 
all
other browsers (OSX: Firefox 3.0.4, WinVista: IE7/Firefox 3.0.4, WinXP: 
IE6/Opera
9.63). Sorry.

Original comment by [email protected] on 16 Dec 2008 at 3:04

from hyphenator.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
I see. The problem is the DOMContentLoaded-Event, I use. Prototype does 
something with this, too. But I did 
not completely understand what it does...

The same problem exists with other frameworks like jQuery.

I made a quick fix for prototype.js (Revision 250: 
http://hyphenator.googlecode.com/svn/trunk/Hyphenator.js)
Nevertheless, I will have to rethink everything. I can't include an exception 
for every possible library.

Original comment by [email protected] on 16 Dec 2008 at 7:09

  • Changed state: Started

from hyphenator.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
Fantastic, thanks a lot, the fix works for me.
At the same time I'm sorry for you that you will have to modify the script.

Anyway, keep up the good work!

Original comment by [email protected] on 17 Dec 2008 at 9:05

from hyphenator.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
You're welcome!
There's nothing to be sorry about: I need these feedbacks to bring my script to 
perfection - and there will alway 
be something to modify...

Keep looking for updates.

Thanks so long,
Regards, Mathias

Original comment by [email protected] on 17 Dec 2008 at 12:32

from hyphenator.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
The issue isn't as difficult to solve as I thought:

The problem is the runOnContentLoaded-function I copied from 
http://javascript.nwbox.com/ContentLoaded/: It checks a var document.load, this 
var has been set by 
prototype, too.

I changed the runOnContentLoaded to store the information in a local var 
documentloaded, instead of global 
document.loaded.

I also created a testcase 
(http://hyphenator.googlecode.com/svn/trunk/testsuite/test28.html) to check the 
compatibility with jQuery and prototype.
Other frameworks will be tested later...

Original comment by [email protected] on 19 Dec 2008 at 7:18

from hyphenator.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
test28 is testing for compatibility of all libraries hosted by google 
(http://code.google.com/intl/de-
DE/apis/ajaxlibs/; as of 19.12.2008).
There is currently no incompatibility.
Therefore I mark this issue as fixed.

Original comment by [email protected] on 19 Dec 2008 at 8:02

  • Changed state: Fixed

from hyphenator.

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.