{"action":"created","issue":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/2202","labels_url":"https://api.github.com/repos/ractivejs/ractive/issues/2202/labels{/name}","comments_url":"https://api.github.com/repos/ractivejs/ractive/issues/2202/comments","events_url":"https://api.github.com/repos/ractivejs/ractive/issues/2202/events","html_url":"https://github.com/ractivejs/ractive/pull/2202","id":110508439,"number":2202,"title":"Relative partial context - #1880","user":{"login":"evs-chris","id":161978,"avatar_url":"https://avatars.githubusercontent.com/u/161978?v=3","gravatar_id":"","url":"https://api.github.com/users/evs-chris","html_url":"https://github.com/evs-chris","followers_url":"https://api.github.com/users/evs-chris/followers","following_url":"https://api.github.com/users/evs-chris/following{/other_user}","gists_url":"https://api.github.com/users/evs-chris/gists{/gist_id}","starred_url":"https://api.github.com/users/evs-chris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evs-chris/subscriptions","organizations_url":"https://api.github.com/users/evs-chris/orgs","repos_url":"https://api.github.com/users/evs-chris/repos","events_url":"https://api.github.com/users/evs-chris/events{/privacy}","received_events_url":"https://api.github.com/users/evs-chris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-08T17:57:58Z","updated_at":"2015-10-08T20:47:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ractivejs/ractive/pulls/2202","html_url":"https://github.com/ractivejs/ractive/pull/2202","diff_url":"https://github.com/ractivejs/ractive/pull/2202.diff","patch_url":"https://github.com/ractivejs/ractive/pull/2202.patch"},"body":"I ran into this in a late night coding session. The fix, more-or-less as suggested by @Crisfole, is to simply not allow whitespace in refinements if the relaxedNames flag is set. Any objections?\r\n\r\nFor reference in #1880, whitespace is normally allowed in refinements because all of the following are equivalent in js:\r\n```js\r\nconst foo = { bar: 'baz' };\r\nfoo.bar;\r\n// and\r\nfoo  .  bar;\r\n// and\r\nfoo.\r\n   bar;\r\n// and\r\nfoo\r\n  .bar;\r\n// and\r\nfoo    ['bar'];\r\n// and\r\nfoo\r\n    [\r\n       'bar'\r\n];\r\n```"},"comment":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/comments/146680827","html_url":"https://github.com/ractivejs/ractive/pull/2202#issuecomment-146680827","issue_url":"https://api.github.com/repos/ractivejs/ractive/issues/2202","id":146680827,"user":{"login":"evs-chris","id":161978,"avatar_url":"https://avatars.githubusercontent.com/u/161978?v=3","gravatar_id":"","url":"https://api.github.com/users/evs-chris","html_url":"https://github.com/evs-chris","followers_url":"https://api.github.com/users/evs-chris/followers","following_url":"https://api.github.com/users/evs-chris/following{/other_user}","gists_url":"https://api.github.com/users/evs-chris/gists{/gist_id}","starred_url":"https://api.github.com/users/evs-chris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evs-chris/subscriptions","organizations_url":"https://api.github.com/users/evs-chris/orgs","repos_url":"https://api.github.com/users/evs-chris/repos","events_url":"https://api.github.com/users/evs-chris/events{/privacy}","received_events_url":"https://api.github.com/users/evs-chris/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T20:47:58Z","updated_at":"2015-10-08T20:47:58Z","body":"@martypdx yeah, I started to do that initially, but went the slightly lazier and less flaggy way instead. I have added an additional flag to avoid confusion."}}