{"action":"created","issue":{"url":"https://api.github.com/repos/anywhichway/proxy-observe/issues/15","repository_url":"https://api.github.com/repos/anywhichway/proxy-observe","labels_url":"https://api.github.com/repos/anywhichway/proxy-observe/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/anywhichway/proxy-observe/issues/15/comments","events_url":"https://api.github.com/repos/anywhichway/proxy-observe/issues/15/events","html_url":"https://github.com/anywhichway/proxy-observe/issues/15","id":188981448,"number":15,"title":"Delay is not defined by \"add\" ","user":{"login":"Globik","id":8457017,"avatar_url":"https://avatars.githubusercontent.com/u/8457017?v=3","gravatar_id":"","url":"https://api.github.com/users/Globik","html_url":"https://github.com/Globik","followers_url":"https://api.github.com/users/Globik/followers","following_url":"https://api.github.com/users/Globik/following{/other_user}","gists_url":"https://api.github.com/users/Globik/gists{/gist_id}","starred_url":"https://api.github.com/users/Globik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Globik/subscriptions","organizations_url":"https://api.github.com/users/Globik/orgs","repos_url":"https://api.github.com/users/Globik/repos","events_url":"https://api.github.com/users/Globik/events{/privacy}","received_events_url":"https://api.github.com/users/Globik/received_events","type":"User","site_admin":false},"labels":[{"id":267481888,"url":"https://api.github.com/repos/anywhichway/proxy-observe/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-13T17:07:11Z","updated_at":"2016-11-15T09:55:14Z","closed_at":"2016-11-15T07:03:29Z","body":"Hi, I am on node.js v6.1.0. Stopped at a very basic example:\r\nrequire('proxy-observe');\r\nvar to={property:true};\r\nfunction onupdate(change){\r\n\tconsole.log('changes: ',change);\r\n}\r\nto=Object.observe(to, onupdate, [\"add\",\"update\",\"reconfigure\"]);\r\nto.property=false;\r\nto.another=\"Hello world!\";\r\nWith an error like this:\r\nchanges:  [ { object: { property: false },\r\n    name: 'property',\r\n    type: 'update',\r\n    oldValue: true } ]\r\nC:\\Users\\User\\node_modules\\proxy-observe\\index.js:80\r\n                                deliver(false,(typeof(deliver.delay)===\"number\r\n? delay : 10));\r\n\r\n  ^\r\n\r\nReferenceError: delay is not defined\r\n    at Observer.set (C:\\Users\\User\\node_modules\\proxy-observe\\index.js:80:62)\r\n    at Object.<anonymous> (C:\\Users\\User\\c.js:14:11)\r\n    at Module._compile (module.js:541:32)\r\n    at Object.Module._extensions..js (module.js:550:10)\r\n    at Module.load (module.js:456:32)\r\n    at tryModuleLoad (module.js:415:12)\r\n    at Function.Module._load (module.js:407:3)\r\n    at Function.Module.runMain (module.js:575:10)\r\n    at startup (node.js:160:18)\r\n    at node.js:445:3\r\nSo there is a question if proxy-observe does not allow extensions?"},"comment":{"url":"https://api.github.com/repos/anywhichway/proxy-observe/issues/comments/260596968","html_url":"https://github.com/anywhichway/proxy-observe/issues/15#issuecomment-260596968","issue_url":"https://api.github.com/repos/anywhichway/proxy-observe/issues/15","id":260596968,"user":{"login":"anywhichway","id":4958795,"avatar_url":"https://avatars.githubusercontent.com/u/4958795?v=3","gravatar_id":"","url":"https://api.github.com/users/anywhichway","html_url":"https://github.com/anywhichway","followers_url":"https://api.github.com/users/anywhichway/followers","following_url":"https://api.github.com/users/anywhichway/following{/other_user}","gists_url":"https://api.github.com/users/anywhichway/gists{/gist_id}","starred_url":"https://api.github.com/users/anywhichway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anywhichway/subscriptions","organizations_url":"https://api.github.com/users/anywhichway/orgs","repos_url":"https://api.github.com/users/anywhichway/repos","events_url":"https://api.github.com/users/anywhichway/events{/privacy}","received_events_url":"https://api.github.com/users/anywhichway/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T09:55:14Z","updated_at":"2016-11-15T09:55:14Z","body":"deliver is the function defined on line 19. delay is an argument to the constructor on line 17."}}
{"actor":{"display_login":"anywhichway"}}