On Thursday, March 10, 2016 at 2:42:14 PM UTC-5, Ted Mielczarek wrote:
> On Thu, Mar 10, 2016, at 01:23 PM, Devan Shah wrote:
> > hello
> > 
> > When I set a custom property such as element.listofSomething = [] and
> > then build the list and add it back to the same element. Then this
> > element is passed to a function, now in that function I am no longer to
> > access this property that I added to the function. 
> > 
> > Was there any sort of changes that would impact this?
> > 
> > Also if I make use of Element.prototype to set a custom variable and try
> > to access it for an element it is not available any more. IS there
> > something that I am missing. (note this is when inside a plugin)
> 
> FYI, I don't know what your particular bug is, but setting custom
> properties on DOM elements is called "expandos", which might help you
> file a more useful bug report:
> https://developer.mozilla.org/en-US/docs/Glossary/Expando
> 
> -Ted

Thanks Ted, I will take a look at this.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to