{"action":"created","issue":{"url":"https://api.github.com/repos/less/less.js/issues/2054","labels_url":"https://api.github.com/repos/less/less.js/issues/2054/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/2054/comments","events_url":"https://api.github.com/repos/less/less.js/issues/2054/events","html_url":"https://github.com/less/less.js/pull/2054","id":35558474,"number":2054,"title":"allow `less.modifyVars` option to overwrite variable before initial parse","user":{"login":"t83714","id":674387,"avatar_url":"https://avatars.githubusercontent.com/u/674387?v=3","gravatar_id":"","url":"https://api.github.com/users/t83714","html_url":"https://github.com/t83714","followers_url":"https://api.github.com/users/t83714/followers","following_url":"https://api.github.com/users/t83714/following{/other_user}","gists_url":"https://api.github.com/users/t83714/gists{/gist_id}","starred_url":"https://api.github.com/users/t83714/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t83714/subscriptions","organizations_url":"https://api.github.com/users/t83714/orgs","repos_url":"https://api.github.com/users/t83714/repos","events_url":"https://api.github.com/users/t83714/events{/privacy}","received_events_url":"https://api.github.com/users/t83714/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/less/less.js/labels/2.0","name":"2.0","color":"f7c6c7"},{"url":"https://api.github.com/repos/less/less.js/labels/Browser","name":"Browser","color":"e102d8"},{"url":"https://api.github.com/repos/less/less.js/labels/Feature+Request","name":"Feature Request","color":"fe9400"},{"url":"https://api.github.com/repos/less/less.js/labels/Medium+Priority","name":"Medium Priority","color":"0000E0"},{"url":"https://api.github.com/repos/less/less.js/labels/ReadyForImplementation","name":"ReadyForImplementation","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-06-12T08:14:21Z","updated_at":"2015-01-04T08:13:47Z","closed_at":"2015-01-04T08:12:16Z","pull_request":{"url":"https://api.github.com/repos/less/less.js/pulls/2054","html_url":"https://github.com/less/less.js/pull/2054","diff_url":"https://github.com/less/less.js/pull/2054.diff","patch_url":"https://github.com/less/less.js/pull/2054.patch"},"body":"When Set options in a global less object before loading the less.js script, less.modifyVars config option doesn't work as promised here:\r\n\r\nhttp://lesscss.org/usage/#using-less-in-the-browser-poll\r\n\r\nIt will be useful when you define variable default value in a less file and overwrite default in the runtime before the first time parse.\r\n\r\ne.g. overwrite the default value using the value in cookie"},"comment":{"url":"https://api.github.com/repos/less/less.js/issues/comments/68624966","html_url":"https://github.com/less/less.js/pull/2054#issuecomment-68624966","issue_url":"https://api.github.com/repos/less/less.js/issues/2054","id":68624966,"user":{"login":"lukeapage","id":309321,"avatar_url":"https://avatars.githubusercontent.com/u/309321?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeapage","html_url":"https://github.com/lukeapage","followers_url":"https://api.github.com/users/lukeapage/followers","following_url":"https://api.github.com/users/lukeapage/following{/other_user}","gists_url":"https://api.github.com/users/lukeapage/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeapage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeapage/subscriptions","organizations_url":"https://api.github.com/users/lukeapage/orgs","repos_url":"https://api.github.com/users/lukeapage/repos","events_url":"https://api.github.com/users/lukeapage/events{/privacy}","received_events_url":"https://api.github.com/users/lukeapage/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T08:13:47Z","updated_at":"2015-01-04T08:13:47Z","body":"I have implemented part of this - less will no longer cache if modifyVars is set.\r\nless has moved on too much, so if you want to change that to cache the modify vars and compare it, please make a new pr and I will merge it.\r\nSorry this didn't get merged in time."}}