XPConnect Chrome Object Wrappers: Difference between revisions

m
__exposedProps__ should use colon, not equal sign
(→‎COWing Objects: fixed outdated info)
m (__exposedProps__ should use colon, not equal sign)
 
Line 49: Line 49:


var MyObj = {
var MyObj = {
   __exposedProps__ = {foo: "r", bar: "rw"},
   __exposedProps__: {foo: "r", bar: "rw"},


   foo: function foo(obj) {
   foo: function foo(obj) {
1

edit