{"action":"created","issue":{"url":"https://api.github.com/repos/sociomantic-tsunami/flounder/issues/81","repository_url":"https://api.github.com/repos/sociomantic-tsunami/flounder","labels_url":"https://api.github.com/repos/sociomantic-tsunami/flounder/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/sociomantic-tsunami/flounder/issues/81/comments","events_url":"https://api.github.com/repos/sociomantic-tsunami/flounder/issues/81/events","html_url":"https://github.com/sociomantic-tsunami/flounder/issues/81","id":149801205,"number":81,"title":"flounder rebuild: if props are passed, not only the passed are changed ","user":{"login":"kevin-krug-sociomantic","id":6839359,"avatar_url":"https://avatars.githubusercontent.com/u/6839359?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-krug-sociomantic","html_url":"https://github.com/kevin-krug-sociomantic","followers_url":"https://api.github.com/users/kevin-krug-sociomantic/followers","following_url":"https://api.github.com/users/kevin-krug-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/kevin-krug-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-krug-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-krug-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/kevin-krug-sociomantic/orgs","repos_url":"https://api.github.com/users/kevin-krug-sociomantic/repos","events_url":"https://api.github.com/users/kevin-krug-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-krug-sociomantic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-20T15:20:05Z","updated_at":"2016-04-23T09:44:09Z","closed_at":null,"body":"## Current \r\n\r\nnow the flounder rebuild api method also resets props that are not passed as arguments: \r\n\r\nE.g.\r\n```\r\nvar flounder = new Flounder(<yourselect>, {data: [1,2,3], selectDataOverride: true} );\r\nflounder.rebuild([1,2], {onSelect: function(){console.log('selected')}});\r\n```\r\nyields:\r\n```flounder.selectDataOverride``` is reset to ```false```. \r\n\r\n## Wanted\r\n\r\nonly the passed props should be altered. at least that's my request/suggestion/what i expected when using the api. \r\n"},"comment":{"url":"https://api.github.com/repos/sociomantic-tsunami/flounder/issues/comments/213704279","html_url":"https://github.com/sociomantic-tsunami/flounder/issues/81#issuecomment-213704279","issue_url":"https://api.github.com/repos/sociomantic-tsunami/flounder/issues/81","id":213704279,"user":{"login":"mousemke","id":1480168,"avatar_url":"https://avatars.githubusercontent.com/u/1480168?v=3","gravatar_id":"","url":"https://api.github.com/users/mousemke","html_url":"https://github.com/mousemke","followers_url":"https://api.github.com/users/mousemke/followers","following_url":"https://api.github.com/users/mousemke/following{/other_user}","gists_url":"https://api.github.com/users/mousemke/gists{/gist_id}","starred_url":"https://api.github.com/users/mousemke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mousemke/subscriptions","organizations_url":"https://api.github.com/users/mousemke/orgs","repos_url":"https://api.github.com/users/mousemke/repos","events_url":"https://api.github.com/users/mousemke/events{/privacy}","received_events_url":"https://api.github.com/users/mousemke/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T09:44:09Z","updated_at":"2016-04-23T09:44:09Z","body":"i think rebuild should stay how it is.  we could add another api function that took the passed props and extended the original props before passing it to rebuild"}}