{"action":"created","issue":{"url":"https://api.github.com/repos/cdmedia/cms.js/issues/42","repository_url":"https://api.github.com/repos/cdmedia/cms.js","labels_url":"https://api.github.com/repos/cdmedia/cms.js/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/cdmedia/cms.js/issues/42/comments","events_url":"https://api.github.com/repos/cdmedia/cms.js/issues/42/events","html_url":"https://github.com/cdmedia/cms.js/pull/42","id":129670863,"number":42,"title":"Eliminate jQuery.","user":{"login":"barryanders","id":5648875,"avatar_url":"https://avatars.githubusercontent.com/u/5648875?v=3","gravatar_id":"","url":"https://api.github.com/users/barryanders","html_url":"https://github.com/barryanders","followers_url":"https://api.github.com/users/barryanders/followers","following_url":"https://api.github.com/users/barryanders/following{/other_user}","gists_url":"https://api.github.com/users/barryanders/gists{/gist_id}","starred_url":"https://api.github.com/users/barryanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryanders/subscriptions","organizations_url":"https://api.github.com/users/barryanders/orgs","repos_url":"https://api.github.com/users/barryanders/repos","events_url":"https://api.github.com/users/barryanders/events{/privacy}","received_events_url":"https://api.github.com/users/barryanders/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-29T05:30:07Z","updated_at":"2016-02-11T00:53:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cdmedia/cms.js/pulls/42","html_url":"https://github.com/cdmedia/cms.js/pull/42","diff_url":"https://github.com/cdmedia/cms.js/pull/42.diff","patch_url":"https://github.com/cdmedia/cms.js/pull/42.patch"},"body":"Sticking with ES5 as requested. I wrote a small \"then\" in the get function to do something similar to ES6 promises. I liked the result: `get(url).then(success, error)`\r\n\r\nI'll let someone else tackle the class selectors. lol, they were giving me hell, because I couldn't get the tpl stuff to give me anything inside of the x-templates. I did finally get something working for posts, post, and page templates but it was too sloppy to push.\r\n\r\nI also pushed a second commit that moved the new get function (in place of AJAX) into CMS for organization. I put it on top of the specific get functions, kind of like how the plain render function was\r\nabove the specific render functions."},"comment":{"url":"https://api.github.com/repos/cdmedia/cms.js/issues/comments/182660872","html_url":"https://github.com/cdmedia/cms.js/pull/42#issuecomment-182660872","issue_url":"https://api.github.com/repos/cdmedia/cms.js/issues/42","id":182660872,"user":{"login":"barryanders","id":5648875,"avatar_url":"https://avatars.githubusercontent.com/u/5648875?v=3","gravatar_id":"","url":"https://api.github.com/users/barryanders","html_url":"https://github.com/barryanders","followers_url":"https://api.github.com/users/barryanders/followers","following_url":"https://api.github.com/users/barryanders/following{/other_user}","gists_url":"https://api.github.com/users/barryanders/gists{/gist_id}","starred_url":"https://api.github.com/users/barryanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryanders/subscriptions","organizations_url":"https://api.github.com/users/barryanders/orgs","repos_url":"https://api.github.com/users/barryanders/repos","events_url":"https://api.github.com/users/barryanders/events{/privacy}","received_events_url":"https://api.github.com/users/barryanders/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T00:53:50Z","updated_at":"2016-02-11T00:53:50Z","body":"If you are wanting me to include your work in this pull request, then you can push your changes to your own github branch, then I'll cherry pick those and add yours to this request. That way it had your name on it still and we can merge it at the same time."}}