<!DOCTYPE html>
<html>
    <head>
        <title>Hello World!</title>
    </head>
    <body>
        <script>
            var remote = require("remote");
            var globalShortcut = remote.require('global-shortcut');
            var ret = globalShortcut.register('ctrl+x', function() {
                console.log('ctrl+x is pressed');
                great_things_done.application_info.js_get_current_app_data(function(data) {
                    console.log(data);
                });
            });
        </script>

        <!-- We are using node.js <script>document.write(process.version)</script> -->
        <!-- and atom-shell <script>document.write(process.versions['atom-shell'])</script>. -->
        <script type="text/javascript" src="http://localhost:3449/helpers/import.js"></script>

        <script type="text/javascript" src="http://localhost:3449/webjars/react/0.12.0/react-with-addons.js"></script>
        <script type="text/javascript" src="http://localhost:3449/js/great-things-done-out/goog/base.js"></script>
        <script type="text/javascript" src="http://localhost:3449/js/great-things-done-core.js"></script>
        <script type="text/javascript">goog.require('core.core')</script>
    </body>
</html>

<!DOCTYPE html>
<html>
    <head>
        <title>Hello World!</title>
    </head>
    <body>
        <script>
            var remote = require("remote");
            var globalShortcut = remote.require('global-shortcut');
            var ret = globalShortcut.register('ctrl+x', function() {
                console.log('ctrl+x is pressed');
                great_things_done.application_info.js_get_current_app_data(function(data) {
                    data.forEach(function(each) {
                        console.log(each);
                    })
                });
            });
        </script>

        <!-- We are using node.js <script>document.write(process.version)</script> -->
        <!-- and atom-shell <script>document.write(process.versions['atom-shell'])</script>. -->
        <script type="text/javascript" src="http://localhost:3449/helpers/import.js"></script>

        <script type="text/javascript" src="http://localhost:3449/webjars/react/0.12.0/react-with-addons.js"></script>
        <script type="text/javascript" src="http://localhost:3449/js/great-things-done-out/goog/base.js"></script>
        <script type="text/javascript" src="http://localhost:3449/js/great-things-done-core.js"></script>
        <script type="text/javascript">goog.require('core.core')</script>
    </body>
</html>

Update to support multiple selection
Update to support multiple selection
