fix(github) athorize

This commit is contained in:
coderaiser 2014-12-08 04:20:33 -05:00
parent 9ee13cfbbf
commit 7feadb6207
2 changed files with 20 additions and 44 deletions

View file

@ -3,12 +3,13 @@
<head></head>
<body>
<script>
(function(){
(function() {
'use strict';
window.addEventListener('message', function(event) {
event.source.postMessage(window.location.search, event.origin);
});
window.opener
.CloudCmd
.GitHub
.authorize(window.location.search);
})();
</script>