<commit_before>define('app/controllers/machine_add', ['ember'],
    /**
     *  Machine Add Controller
     *
     *  @returns Class
     */
    function() {
        return Ember.Object.extend({

            /**
             *  Properties
             */

            callback: null,
            formReady: null,

            newMachineKey: null,
            newMachineName: null,
            newMachineSize: null,
            newMachineImage: null,
            newMachineScript: null,
            newMachineLocation: null,
            newMachineProvider: null,
            newMachineMonitoring: true,


            /**
             *
             *  Methods
             *
             */

            open: function(callback) {
                // In case page is scrolled, opening the
                // panel introduces an unpleasant view.
                // Scrolling to top fixes that
                $('.ui-page-active').animate({scrollTop:0}, 'slow');
                $('#create-machine-panel .ui-panel-inner').animate({scrollTop:0}, 'slow');
                $('#create-machine-panel').panel('open');
                $('.ui-panel-dismiss-position-right').css('right',($('.ui-panel-position-right.ui-panel-open').width()));
                Ember.run.next(function(){
                    var panelHeight = $('.ui-panel-open').height(),
                        pageHeight = $('.ui-page-active').height();
                    if ( panelHeight > pageHeight) {
                        $('.ui-page-active').height(panelHeight);
                    }
                });<commit_msg>Fix hiding docker options<commit_after>define('app/controllers/machine_add', ['ember'],
    /**
     *  Machine Add Controller
     *
     *  @returns Class
     */
    function() {
        return Ember.Object.extend({

            /**
             *  Properties
             */

            callback: null,
            formReady: null,

            newMachineKey: null,
            newMachineName: null,
            newMachineSize: null,
            newMachineImage: null,
            newMachineScript: null,
            newMachineLocation: null,
            newMachineProvider: null,
            newMachineMonitoring: true,


            /**
             *
             *  Methods
             *
             */

            open: function(callback) {
                // In case page is scrolled, opening the
                // panel introduces an unpleasant view.
                // Scrolling to top fixes that
                $('#create-machine-panel .docker').hide();
                $('.ui-page-active').animate({scrollTop:0}, 'slow');
                $('#create-machine-panel .ui-panel-inner').animate({scrollTop:0}, 'slow');
                $('#create-machine-panel').panel('open');
                $('.ui-panel-dismiss-position-right').css('right',($('.ui-panel-position-right.ui-panel-open').width()));
                Ember.run.next(function(){
                    var panelHeight = $('.ui-panel-open').height(),
                        pageHeight = $('.ui-page-active').height();
                    if ( panelHeight > pageHeight) {
                        $('.ui-page-active').height(panelHeight);
                    }
                });
{'fraction_non_alphanumeric': 0.13702443550881535, 'fraction_numerical': 0.0012372409526755336, 'mean_word_length': 1.3266187050359712, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4622202', 'n_tokens_mistral': 824, 'n_tokens_neox': 763, 'n_words': 141}