{"action":"created","issue":{"url":"https://api.github.com/repos/Volicon/backbone.nestedTypes/issues/49","labels_url":"https://api.github.com/repos/Volicon/backbone.nestedTypes/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Volicon/backbone.nestedTypes/issues/49/comments","events_url":"https://api.github.com/repos/Volicon/backbone.nestedTypes/issues/49/events","html_url":"https://github.com/Volicon/backbone.nestedTypes/issues/49","id":47507176,"number":49,"title":"Advanced Views","user":{"login":"gaperton","id":469462,"avatar_url":"https://avatars.githubusercontent.com/u/469462?v=3","gravatar_id":"","url":"https://api.github.com/users/gaperton","html_url":"https://github.com/gaperton","followers_url":"https://api.github.com/users/gaperton/followers","following_url":"https://api.github.com/users/gaperton/following{/other_user}","gists_url":"https://api.github.com/users/gaperton/gists{/gist_id}","starred_url":"https://api.github.com/users/gaperton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaperton/subscriptions","organizations_url":"https://api.github.com/users/gaperton/orgs","repos_url":"https://api.github.com/users/gaperton/repos","events_url":"https://api.github.com/users/gaperton/events{/privacy}","received_events_url":"https://api.github.com/users/gaperton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Volicon/backbone.nestedTypes/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-01T14:30:43Z","updated_at":"2015-05-20T23:28:12Z","closed_at":"2015-05-20T23:28:12Z","body":"- can take an object, which is used as a spec for BaseView.Model.extend( spec )\r\n- subviews spec, which is used to specify types of subviews\r\n```\r\nsubviews : {\r\n   left : FilterView, \r\n   middle : PlayerView,\r\n   right : ClipView\r\n}\r\n\r\ninitialize : function(){\r\n   this.left = { options };\r\n   this.right = { options };\r\n}\r\n```\r\n- subviews must behave like an attributes\r\n- subviews must be inherited from the base view\r\n- subviews type spec must support some options (get, set, value, type, event bubbling, might be custom listener specs)\r\n- subviews must be attached automatically in 'render' inside tags with 'subview' attribute\r\n- render must be template-neutral, expecting function in View.template"},"comment":{"url":"https://api.github.com/repos/Volicon/backbone.nestedTypes/issues/comments/104070579","html_url":"https://github.com/Volicon/backbone.nestedTypes/issues/49#issuecomment-104070579","issue_url":"https://api.github.com/repos/Volicon/backbone.nestedTypes/issues/49","id":104070579,"user":{"login":"gaperton","id":469462,"avatar_url":"https://avatars.githubusercontent.com/u/469462?v=3","gravatar_id":"","url":"https://api.github.com/users/gaperton","html_url":"https://github.com/gaperton","followers_url":"https://api.github.com/users/gaperton/followers","following_url":"https://api.github.com/users/gaperton/following{/other_user}","gists_url":"https://api.github.com/users/gaperton/gists{/gist_id}","starred_url":"https://api.github.com/users/gaperton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaperton/subscriptions","organizations_url":"https://api.github.com/users/gaperton/orgs","repos_url":"https://api.github.com/users/gaperton/repos","events_url":"https://api.github.com/users/gaperton/events{/privacy}","received_events_url":"https://api.github.com/users/gaperton/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T23:28:12Z","updated_at":"2015-05-20T23:28:12Z","body":"Closed in favor of another idea. ViewModel"}}