How about including these inbuilt JS-function libraries by default? Thanks, Keith.
Jonathan Marsh wrote: > These functions are required by the stub, so I don't want them in a separate > file where one can forget to include them. > > Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> On Behalf Of Keith Chapman >> Sent: Friday, March 28, 2008 9:31 PM >> To: [email protected] >> Subject: Re: [mashup-dev] Extending Date prototype >> >> I like the concept of having some utility js functions. May be we drop >> them into some common directory where all mashups have access to. If we >> have that in place we can ship more utility js libraries. >> >> Thanks, >> Keith. >> >> Jonathan Marsh wrote: >>> The latest stubs include extensions to the Date object to parse and >>> serialize xs:date, xs:time, and xs:dateTime types. I implemented >> these as >>> extension methods for convenient, because these methods can be used >> by any >>> stub user (they're not just internal). >>> >>> >>> >>> However I don't think extending build-in objects is viewed as a good >>> practice - for instance it could conflict with other JS libraries. >>> >>> >>> >>> What do you think? Should I reformulate these are util methods of >> some >>> kind? Hide them from the public? Or is the current state good >> enough? >>> >>> >>> Jonathan Marsh - <http://www.wso2.com> http://www.wso2.com - >>> <http://auburnmarshes.spaces.live.com> >> http://auburnmarshes.spaces.live.com >>> >>> >>> >>> >>> >>> --------------------------------------------------------------------- >> --- >>> _______________________________________________ >>> Mashup-dev mailing list >>> [email protected] >>> http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev >> >> _______________________________________________ >> Mashup-dev mailing list >> [email protected] >> http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev > > _______________________________________________ Mashup-dev mailing list [email protected] http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
