I believe you need a comma after all but the last function, because they are
name : value pairs in an object.
On 8/28/07, juliandormon [EMAIL PROTECTED] wrote:
I'm trying to use both afterFileAppend and afterFileRemove. I get an
syntax
error in javascript:
Missing } after property list
The syntax for defining an object is:
{
key1: 'value1',
key2: 'value2'
}
When one of the values in a function, it looks like:
{
key1: function() {...},
key2: '...'
}
Your problem is you need a comma before afterFileAppend:
--Erik
On 8/28/07, juliandormon [EMAIL PROTECTED] wrote:
Thanks Eric,
I see my mistake now. Doh!
Erik Beeson wrote:
The syntax for defining an object is:
{
key1: 'value1',
key2: 'value2'
}
When one of the values in a function, it looks like:
{
key1: function() {...},
key2: '...'
}
Your problem is you need a comma
3 matches
Mail list logo