I've been really bad about maintaining Data::JavaScript, so if anybody is interested in getting contributor maintenance rights for CPAN let me know, preferably with a respectable sample patch*.
Here are some of the things on the TO DO list:
#AB's code output
var facts = new Object;
facts.string = 'Joseph';
facts.xor = new Array;
facts.xor[0] = new Array;
facts.xor[0][0] = 0;
facts.xor[0][1] = 1;
facts.xor[1] = new Array;
facts.xor[1][0] = 1;
facts.xor[1][1] = 0;
#vs. SW output
var facts = new Array(new function() {
this.string = 'Joseph';
this.xor = new Array(new Array(0,1),new Array(1,0));
}
*The patch could be for (part of) something on the TO DO list, or anything else appropriate.
new Array/new Object (Score:2)
[]resp.{}. On the contrary: will produce an array of 3 null items, while will produce an array of 2 items: the values 3 and 4.Re: (Score:2)
a) This is very old code, and we try to support older JavaScript versions (though there is no reason why, when you you tell the module you want v1.4 that it shouldn't use the slimmer syntax)
b) I'm not the original author. I wrote LiteObject and said I'd maintain this when Ariel passed away.
c) See the points already made in the original post (less verbose format, JSON-like format)
So the real question is, if it offends you so, are you going to submit a patch to gain commit rights?
Were that I say, pancakes?
Re: (Score:2)
Re: (Score:2)
Were that I say, pancakes?
Re: (Score:2)
Re: (Score:2)
Were that I say, pancakes?