{"action":"created","issue":{"url":"https://api.github.com/repos/tweenjs/tween.js/issues/418","repository_url":"https://api.github.com/repos/tweenjs/tween.js","labels_url":"https://api.github.com/repos/tweenjs/tween.js/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/tweenjs/tween.js/issues/418/comments","events_url":"https://api.github.com/repos/tweenjs/tween.js/issues/418/events","html_url":"https://github.com/tweenjs/tween.js/issues/418","id":331891988,"node_id":"MDU6SXNzdWUzMzE4OTE5ODg=","number":418,"title":"why _valuesStartRepeat[property] is added by _valuesEnd[property] when the type of _valuesEnd[property] is string?","user":{"login":"nfyfamr","id":21192900,"node_id":"MDQ6VXNlcjIxMTkyOTAw","avatar_url":"https://avatars0.githubusercontent.com/u/21192900?v=4","gravatar_id":"","url":"https://api.github.com/users/nfyfamr","html_url":"https://github.com/nfyfamr","followers_url":"https://api.github.com/users/nfyfamr/followers","following_url":"https://api.github.com/users/nfyfamr/following{/other_user}","gists_url":"https://api.github.com/users/nfyfamr/gists{/gist_id}","starred_url":"https://api.github.com/users/nfyfamr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfyfamr/subscriptions","organizations_url":"https://api.github.com/users/nfyfamr/orgs","repos_url":"https://api.github.com/users/nfyfamr/repos","events_url":"https://api.github.com/users/nfyfamr/events{/privacy}","received_events_url":"https://api.github.com/users/nfyfamr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-13T08:27:36Z","updated_at":"2018-06-17T18:10:55Z","closed_at":null,"author_association":"NONE","body":"I wrote some easy code using tween.\r\n\r\n    const origin = [ 0, 0, 0 ];\r\n    const target = [ '1', '0', '0' ];\r\n    const t = new TWEEN.Tween( origin )\r\n            .to( target )\r\n            .repeat( Infinity )\r\n            .onUpdate( obj => console.log(obj) )\r\n            .start();\r\n\r\nI wished the obj value will be changed in range between [0,0,0] and [1,0,0] repeatedly, but the result was not that way. the result look like starting point is moving at each repetition.\r\nAfter some inspection I found that when _valuesEnd[property] is sting, _valuesStartRepeat[property] is added by it.\r\nWhy this codes inserted? If there is no reason, I think this should be edited.\r\n\r\nthe link of problem line is following: https://github.com/tweenjs/tween.js/blob/f58e2f0e6f979ac8261952b1292501a7fed6afcf/src/Tween.js#L404"},"comment":{"url":"https://api.github.com/repos/tweenjs/tween.js/issues/comments/397896210","html_url":"https://github.com/tweenjs/tween.js/issues/418#issuecomment-397896210","issue_url":"https://api.github.com/repos/tweenjs/tween.js/issues/418","id":397896210,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzg5NjIxMA==","user":{"login":"nfyfamr","id":21192900,"node_id":"MDQ6VXNlcjIxMTkyOTAw","avatar_url":"https://avatars0.githubusercontent.com/u/21192900?v=4","gravatar_id":"","url":"https://api.github.com/users/nfyfamr","html_url":"https://github.com/nfyfamr","followers_url":"https://api.github.com/users/nfyfamr/followers","following_url":"https://api.github.com/users/nfyfamr/following{/other_user}","gists_url":"https://api.github.com/users/nfyfamr/gists{/gist_id}","starred_url":"https://api.github.com/users/nfyfamr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfyfamr/subscriptions","organizations_url":"https://api.github.com/users/nfyfamr/orgs","repos_url":"https://api.github.com/users/nfyfamr/repos","events_url":"https://api.github.com/users/nfyfamr/events{/privacy}","received_events_url":"https://api.github.com/users/nfyfamr/received_events","type":"User","site_admin":false},"created_at":"2018-06-17T18:10:55Z","updated_at":"2018-06-17T18:10:55Z","author_association":"NONE","body":"ok i understand. thanks"}}
{"actor":{"display_login":"nfyfamr"}}