stevenwy / datejs

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

Continuously get a Stack overflow on Line 40 error #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. <script language="javascript">
         $(document).ready(function() {
             $("a").click(function(event) {

                 event.preventDefault();
                 var d1 = Date.parse('today');

                 alert('hello');
                 alert(d1);
             });
         });
        </script>
    <p>
        Test date <a href="http://www.threenine.co.uk" title="a test
website">Click the link</a>.

    </p>
2.
3.

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

What version of the product are you using? On what operating system?
Alpha -1  XP 

Please provide any additional information below.
Trying to use the library for the fierst time.

Original issue reported on code.google.com by gary.woo...@gmail.com on 12 Jan 2010 at 4:36

GoogleCodeExporter commented 9 years ago
Forget about this. I realised my mistake. I had included two date.js files by 
mistake
in the script import   i.e date.js   and date-en-GB.js.
I removed one and it all works now.

Original comment by gary.woo...@gmail.com on 12 Jan 2010 at 4:55