donum / curvycorners

Automatically exported from code.google.com/p/curvycorners
0 stars 0 forks source link

class matching fails with multiple classes on a div #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a div with multiple classes.
    <div class="myClass curvyClass"></div>
2. Use curvyCorners with the class name option
    var cornersObj = new curvyCorners(settings, "curvyClass");

What is the expected output? What do you see instead?
    The corners should be rounded but are not.

What version of the product are you using? On what operating system?
    v 1.2.10

Please provide any additional information below.
    The problem lies in the regexp used.  the "\s" should be "\\s", and
also when the code is compressed, you will need to verify that the double
escape is preserved (the 1.2.10 sources shows a single escape, with the
compressed having no escapes).

Original issue reported on code.google.com by jhit...@gmail.com on 11 Dec 2008 at 6:27

GoogleCodeExporter commented 9 years ago

Original comment by camsoft2...@gmail.com on 24 Dec 2008 at 10:55

GoogleCodeExporter commented 9 years ago
This seems to have been addressed in v2.0.x.

Original comment by c.1%smit...@gtempaccount.com on 30 Apr 2009 at 6:33