{"action":"created","issue":{"url":"https://api.github.com/repos/Gapminder/vizabi/issues/952","labels_url":"https://api.github.com/repos/Gapminder/vizabi/issues/952/labels{/name}","comments_url":"https://api.github.com/repos/Gapminder/vizabi/issues/952/comments","events_url":"https://api.github.com/repos/Gapminder/vizabi/issues/952/events","html_url":"https://github.com/Gapminder/vizabi/issues/952","id":117104263,"number":952,"title":"Rename use: \"value\" to use: \"constant\"","user":{"login":"arthurcamara1","id":3584238,"avatar_url":"https://avatars.githubusercontent.com/u/3584238?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurcamara1","html_url":"https://github.com/arthurcamara1","followers_url":"https://api.github.com/users/arthurcamara1/followers","following_url":"https://api.github.com/users/arthurcamara1/following{/other_user}","gists_url":"https://api.github.com/users/arthurcamara1/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurcamara1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurcamara1/subscriptions","organizations_url":"https://api.github.com/users/arthurcamara1/orgs","repos_url":"https://api.github.com/users/arthurcamara1/repos","events_url":"https://api.github.com/users/arthurcamara1/events{/privacy}","received_events_url":"https://api.github.com/users/arthurcamara1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Gapminder/vizabi/labels/comp:%20vizabi-core","name":"comp: vizabi-core","color":"bfd4f2"},{"url":"https://api.github.com/repos/Gapminder/vizabi/labels/effort1:%20easy%20(hour)","name":"effort1: easy (hour)","color":"bfe5bf"},{"url":"https://api.github.com/repos/Gapminder/vizabi/labels/P4:%20nice%20to%20have","name":"P4: nice to have","color":"e6e6e6"},{"url":"https://api.github.com/repos/Gapminder/vizabi/labels/type:%20code%20quality","name":"type: code quality","color":"009800"},{"url":"https://api.github.com/repos/Gapminder/vizabi/labels/type:%20enhancement","name":"type: enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Gapminder/vizabi/milestones/10","html_url":"https://github.com/Gapminder/vizabi/milestones/%E2%AC%87%EF%B8%8E%20Later","labels_url":"https://api.github.com/repos/Gapminder/vizabi/milestones/10/labels","id":1269715,"number":10,"title":"⬇︎ Later","description":"","creator":{"login":"arthurcamara1","id":3584238,"avatar_url":"https://avatars.githubusercontent.com/u/3584238?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurcamara1","html_url":"https://github.com/arthurcamara1","followers_url":"https://api.github.com/users/arthurcamara1/followers","following_url":"https://api.github.com/users/arthurcamara1/following{/other_user}","gists_url":"https://api.github.com/users/arthurcamara1/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurcamara1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurcamara1/subscriptions","organizations_url":"https://api.github.com/users/arthurcamara1/orgs","repos_url":"https://api.github.com/users/arthurcamara1/repos","events_url":"https://api.github.com/users/arthurcamara1/events{/privacy}","received_events_url":"https://api.github.com/users/arthurcamara1/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":0,"state":"open","created_at":"2015-08-24T16:00:10Z","updated_at":"2015-11-27T23:42:28Z","due_on":"2015-12-28T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-11-16T11:25:45Z","updated_at":"2015-11-29T04:57:38Z","closed_at":null,"body":"Hooks are normally used to determine which properties or indicators are used in each model. The example below determines population values should be used for `axis_x`:\r\n\r\n```javascript\r\naxis_x: {\r\n    use: \"indicator\",\r\n    which: \"pop\"\r\n}\r\n```\r\n\r\n**However**, we can also define use as \"value\", which determines that the hook has a **constant** value.\r\n\r\nThe example below, for instance, determines that the value for axis_x should always be 40\r\n\r\n```javascript\r\naxis_x: {\r\n    use: \"value\",\r\n    which: 40\r\n}\r\n```\r\n\r\n\"value\" is not a very descriptive word. \"constant\" would be better. Rename it so that we would write the following for constant values:\r\n\r\n```javascript\r\naxis_x: {\r\n    use: \"constant\",\r\n    which: 40\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Gapminder/vizabi/issues/comments/160371720","html_url":"https://github.com/Gapminder/vizabi/issues/952#issuecomment-160371720","issue_url":"https://api.github.com/repos/Gapminder/vizabi/issues/952","id":160371720,"user":{"login":"plward11","id":1934849,"avatar_url":"https://avatars.githubusercontent.com/u/1934849?v=3","gravatar_id":"","url":"https://api.github.com/users/plward11","html_url":"https://github.com/plward11","followers_url":"https://api.github.com/users/plward11/followers","following_url":"https://api.github.com/users/plward11/following{/other_user}","gists_url":"https://api.github.com/users/plward11/gists{/gist_id}","starred_url":"https://api.github.com/users/plward11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plward11/subscriptions","organizations_url":"https://api.github.com/users/plward11/orgs","repos_url":"https://api.github.com/users/plward11/repos","events_url":"https://api.github.com/users/plward11/events{/privacy}","received_events_url":"https://api.github.com/users/plward11/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T04:57:38Z","updated_at":"2015-11-29T04:57:38Z","body":"I've been a longtime admirer of Gapminder's inspirational and empowering work. If it's acceptable, I'd like to contribute what I can to Vizabi.\r\n\r\nI just issued a pull request for this issue. I sanity checked basic functionality of each chart on the following browser/platforms:\r\n\r\n- Windows 7 / Chrome 46\r\n- Windows 7 / Firefox 42\r\n- Mac OS X Yosemite / Chrome 46\r\n- Mac OS X Yosemite / Firefox 42\r\n- Nexus 5 / Android 6.0 / Chrome 46"}}