Oh ok, yeah same just uses ='s instead of colon.
-----Original Message----- From: Alan Williamson [mailto:[email protected]] Sent: Monday, 30 November 2009 9:08 PM To: Open BlueDragon Subject: [OpenBD] Re: FW/1 and OpenBD 1.2 But what is CFSCRIPT syntax? The reason i asked is that i spotted this in Sean's code: ------------------- variables.framework = { base = getDirectoryFromPath( CGI.SCRIPT_NAME ) & 'introduction'; } ------------------- On Nov 30, 9:50 am, Andrew Scott <[email protected]> wrote: > Hmmm, hit enter before I changed it fully. > > JavaScript object literals are defined as > > var test = { > firstName: 'Andrew', > lastName: 'Scott', > roles: [ 'ColdFusion Developer', 'Flex Developer', 'Grails Developer', > 'JavaScript Developer'] > > }; > > Allan not sure what yours is from, but the above is correct for JavaScript > as of today. > > On Mon, Nov 30, 2009 at 7:53 PM, Andrew Scott <[email protected]>wrote: > > > No it should be > > > { > > a = "b", > > c = "d", > > } -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !! -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
