Looks like both do

    function something(){};

instead of

   var something=function(){}

and therefore they both put and share functions in the global namespace.

On Sunday, 23 December 2012 00:26:15 UTC-6, Yarin wrote:
>
> Not errors, just incorrect results- fails to parse dates, and returns 
> isValid() false when testing valid date strings- see my bug report for a 
> reproducable example- 
>
> On Sat, Dec 22, 2012 at 10:27 PM, Massimo Di Pierro 
> <massimo....@gmail.com<javascript:>
> > wrote:
>
>> Do you get any error in the chrome console? 
>>
>>
>> On Saturday, 22 December 2012 20:41:43 UTC-6, Yarin wrote:
>>>
>>> We've found that the popular date library moment.js fails on date 
>>> parsing when used alongside the calendar.js file included by default with 
>>> web2py projects.
>>>
>>> I've submitted a bug report:
>>> http://code.google.com/p/**web2py/issues/detail?id=1243<http://code.google.com/p/web2py/issues/detail?id=1243>
>>>
>>> We removed calendar.js from our projects, but I'm unclear as to what 
>>> it's there for? Where is it used, and why is it included by default? Is 
>>> there a reason web2py doesn't use jquery's datepicker instead?
>>>
>>>
>>>  -- 
>>  
>>  
>>  
>>
>
>

-- 



Reply via email to