Now I have another cuestion related to this: I have a class with an object inside:
var > onewClass.prototype = {
initialize : function() {
this.variable = "fooo";
},
myrules : {"fooo" : this.variable
}
};
and I intance it like this:
var newClass = new onewClass();
if I do alert(newClass.myrules.fooo) it doesn´t show "fooo". How can I do to correct this? Thank you!!
--
Daniel Herrero Dávila
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs