Blog  |   Sitemap  |   Search  |   Language:  eng рус
HomeBlogObjects signatures changed

Objects signatures changed

The classes/objects and methods implementation in Ample SDK has always been hidden from the end developer in order to not confuse him. So executing "alert(AMLNode)" would return "[AMLNode]", or executing "alert(AMLNode.prototype.appendChild)" would return "function appendChild(){[ample code]}".

Recently we found out that object signature implementation was actually wrong. That is now corrected and the object signatures in Ample SDK changed to return "function AMLNode(){[ample code]}" when executing "alert(AMLNode)", which is applicable to any object defined in Ample Runtime.

Note, while introspecting browser native objects Gecko still returns "[DOMParser]", while other browsers - "function DOMParser(){[native code]}".