Hello Andrea, you are right jsFiddle gives not an error-message. But if you try it with moo-more and without you will see that the behavier of the star- color is different. without moo-more it will go back to the begining star with leaving the star-area. with you will get the error and the color do not go back to the begining.
On 28 Jul., 12:37, Andrea Dessì <[email protected]> wrote: > Hi hamburger, > > I've tried your example just now, > and seems to work good. > > with and without -more. > > -- > Andrea Dessì > > Email: [email protected] > Skype: nkjoep > Blog:http://www.stealthefish.com/ > LinkedIn:http://www.linkedin.com/in/andreadessi > Jabber: [email protected] > Twitter:http://www.twitter.com/NKjoep > > On Wed, Jul 28, 2010 at 12:17, hamburger <[email protected]> wrote: > > Hello cracks, > > i have a class witch work fine with mootools-1.2.4.-core. If I add > > mootools-1.2.4.4-more i get an error message. > > (here: var bits = type.match(match); > > > please look here:http://jsfiddle.net/2U3ma/1/ > > > any idea for help? thanks in advance. > > > the error code in moo-1.2.4.4-more: > > /* > > --- > > script: Element.Delegation.js > > description: Extends the Element native object to include the delegate > > method for more efficient event management. > > credits: > > - "Event checking based on the work of Daniel Steigerwald. License: > > MIT-style license. Copyright: Copyright (c) 2008 Daniel Steigerwald, > > daniel.steigerwald.cz" > > license: MIT-style license > > authors: > > - Aaron Newton > > - Daniel Steigerwald > > > requires: > > - core:1.2.4/Element.Event > > - core:1.2.4/Selectors > > - /MooTools.More > > > provides: [Element.Delegation] > > > ... > > */ > > > (function(addEvent, removeEvent){ > > > var match = /(.*?):relay\(([^)]+)\)$/, > > combinators = /[+>~\s]/, > > splitType = function(type){ > > var bits = type.match(match); > > return !bits ? {event: type} : { > > event: bits[1], > > selector: bits[2] > > }; > > }, > > ... > > > <script type="text/javascript" src="js/mootools-1.2.4-core-yc.js"></ > > script> > > <script type="text/javascript" src="js/mootools-1.2.4.4-more.js"></ > > script>
