protoype 1.6.0
firefox 2.0.0.9
firebug
Hi guys,
some questions about prototype,
1) I have construct a Hash instance like this:
var h = $H({ version: 1.5, author: 'Sam Stephenson' });
using each méthode:
h.each(function(pair) {
alert(pair.key + ' = "' + pair.value + '"');
});
but return:
version = "1.5"
author = "'Sam Stephenson'"
extend = "function (object) {
return Object.extend.apply(this, [this, object]);
}"
why return extend ???
2) construct a Element return an Error with Firebug
new Element('p');
1 error:
String contains an invalid character" code: "5
any idea ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---