{"action":"created","issue":{"url":"https://api.github.com/repos/chrisblakley/Nebula/issues/927","labels_url":"https://api.github.com/repos/chrisblakley/Nebula/issues/927/labels{/name}","comments_url":"https://api.github.com/repos/chrisblakley/Nebula/issues/927/comments","events_url":"https://api.github.com/repos/chrisblakley/Nebula/issues/927/events","html_url":"https://github.com/chrisblakley/Nebula/issues/927","id":127953615,"number":927,"title":"How to keep child.js updated?","user":{"login":"chrisblakley","id":6349678,"avatar_url":"https://avatars.githubusercontent.com/u/6349678?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisblakley","html_url":"https://github.com/chrisblakley","followers_url":"https://api.github.com/users/chrisblakley/followers","following_url":"https://api.github.com/users/chrisblakley/following{/other_user}","gists_url":"https://api.github.com/users/chrisblakley/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisblakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisblakley/subscriptions","organizations_url":"https://api.github.com/users/chrisblakley/orgs","repos_url":"https://api.github.com/users/chrisblakley/repos","events_url":"https://api.github.com/users/chrisblakley/events{/privacy}","received_events_url":"https://api.github.com/users/chrisblakley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrisblakley/Nebula/labels/Frontend%20(Script)","name":"Frontend (Script)","color":"f1bf26"},{"url":"https://api.github.com/repos/chrisblakley/Nebula/labels/Parent%20/%20Child%20Theme","name":"Parent / Child Theme","color":"c7def8"},{"url":"https://api.github.com/repos/chrisblakley/Nebula/labels/Question%20/%20Research","name":"Question / Research","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/chrisblakley/Nebula/milestones/4","html_url":"https://github.com/chrisblakley/Nebula/milestones/4.0%20Red%20Rectangle","labels_url":"https://api.github.com/repos/chrisblakley/Nebula/milestones/4/labels","id":821700,"number":4,"title":"4.0 Red Rectangle","description":"Version 4.0 is named after the [Red Rectangle Nebula](http://en.wikipedia.org/wiki/Red_Rectangle_Nebula).\r\n\r\nThis release is the first major framework change (from Gumby to Bootstrap), and is the first version release after IE8 support has been dropped.","creator":{"login":"chrisblakley","id":6349678,"avatar_url":"https://avatars.githubusercontent.com/u/6349678?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisblakley","html_url":"https://github.com/chrisblakley","followers_url":"https://api.github.com/users/chrisblakley/followers","following_url":"https://api.github.com/users/chrisblakley/following{/other_user}","gists_url":"https://api.github.com/users/chrisblakley/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisblakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisblakley/subscriptions","organizations_url":"https://api.github.com/users/chrisblakley/orgs","repos_url":"https://api.github.com/users/chrisblakley/repos","events_url":"https://api.github.com/users/chrisblakley/events{/privacy}","received_events_url":"https://api.github.com/users/chrisblakley/received_events","type":"User","site_admin":false},"open_issues":187,"closed_issues":192,"state":"open","created_at":"2014-10-10T21:14:45Z","updated_at":"2016-01-21T15:46:09Z","due_on":"2016-05-01T04:00:00Z","closed_at":null},"comments":0,"created_at":"2016-01-21T15:46:09Z","updated_at":"2016-01-22T15:43:41Z","closed_at":null,"body":"When a change is made to main.js in the parent theme, how can we prevent errors in child.js (since it overrides main.js and may not be compatible with the change without manually updating it to match).\r\n\r\nMy initial thought is to split main.js into two scripts (one for core functionality and one for custom settings), then child.js will override just the custom settings script file. Only thing I dislike about this method is it requires an additional JS call/response.\r\n\r\nOpen to other ideas."},"comment":{"url":"https://api.github.com/repos/chrisblakley/Nebula/issues/comments/173956202","html_url":"https://github.com/chrisblakley/Nebula/issues/927#issuecomment-173956202","issue_url":"https://api.github.com/repos/chrisblakley/Nebula/issues/927","id":173956202,"user":{"login":"chrisblakley","id":6349678,"avatar_url":"https://avatars.githubusercontent.com/u/6349678?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisblakley","html_url":"https://github.com/chrisblakley","followers_url":"https://api.github.com/users/chrisblakley/followers","following_url":"https://api.github.com/users/chrisblakley/following{/other_user}","gists_url":"https://api.github.com/users/chrisblakley/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisblakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisblakley/subscriptions","organizations_url":"https://api.github.com/users/chrisblakley/orgs","repos_url":"https://api.github.com/users/chrisblakley/repos","events_url":"https://api.github.com/users/chrisblakley/events{/privacy}","received_events_url":"https://api.github.com/users/chrisblakley/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T15:43:41Z","updated_at":"2016-01-22T15:43:41Z","body":"https://www.reddit.com/r/ProWordPress/comments/42624o/child_theme_javascript_without_overriding_the/"}}