{"action":"opened","issue":{"url":"https://api.github.com/repos/foam-framework/foam/issues/465","labels_url":"https://api.github.com/repos/foam-framework/foam/issues/465/labels{/name}","comments_url":"https://api.github.com/repos/foam-framework/foam/issues/465/comments","events_url":"https://api.github.com/repos/foam-framework/foam/issues/465/events","html_url":"https://github.com/foam-framework/foam/issues/465","id":114872483,"number":465,"title":"U2 Nesting Lifecycle issue","user":{"login":"kgrgreer","id":7460787,"avatar_url":"https://avatars.githubusercontent.com/u/7460787?v=3","gravatar_id":"","url":"https://api.github.com/users/kgrgreer","html_url":"https://github.com/kgrgreer","followers_url":"https://api.github.com/users/kgrgreer/followers","following_url":"https://api.github.com/users/kgrgreer/following{/other_user}","gists_url":"https://api.github.com/users/kgrgreer/gists{/gist_id}","starred_url":"https://api.github.com/users/kgrgreer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgrgreer/subscriptions","organizations_url":"https://api.github.com/users/kgrgreer/orgs","repos_url":"https://api.github.com/users/kgrgreer/repos","events_url":"https://api.github.com/users/kgrgreer/events{/privacy}","received_events_url":"https://api.github.com/users/kgrgreer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kgrgreer","id":7460787,"avatar_url":"https://avatars.githubusercontent.com/u/7460787?v=3","gravatar_id":"","url":"https://api.github.com/users/kgrgreer","html_url":"https://github.com/kgrgreer","followers_url":"https://api.github.com/users/kgrgreer/followers","following_url":"https://api.github.com/users/kgrgreer/following{/other_user}","gists_url":"https://api.github.com/users/kgrgreer/gists{/gist_id}","starred_url":"https://api.github.com/users/kgrgreer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgrgreer/subscriptions","organizations_url":"https://api.github.com/users/kgrgreer/orgs","repos_url":"https://api.github.com/users/kgrgreer/repos","events_url":"https://api.github.com/users/kgrgreer/events{/privacy}","received_events_url":"https://api.github.com/users/kgrgreer/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-03T17:55:33Z","updated_at":"2015-11-03T17:55:33Z","closed_at":null,"body":"This should work\r\n\r\n      return this.X.E('product')\r\n        .start('div').cls('md-subhead').cls('heading').add(this.data.productName).end()\r\n        .add(function(url) {\r\n          return url && this.E('img').cls('colorable-img').attrs({\r\n            src: url,\r\n          }).style({\r\n            background: this.color$,\r\n          });\r\n        }.bind(this).on$(this.X, this.data.colorableImageUrl$))\r\n        .start('div').cls('md-body').cls('content').add(this.data.productDetails).end();\r\n\r\nRe-render image when this.data.colorableImageUrl changes, but only change the image's background color (not full re-render of image tag) when this.color changes."}}