<commit_before>async function(args) {
/*
is_app(true)
display_name("Editor App")
description("This will return the editor app")
base_component_id("appEditorV2")
hide_header(true)
load_once_from_file(true)
*/

    var argBaseComponentId = args.base_component_id

    Vue.component("app_editor",
    {
      template: `<div>
                    <div>
                        <h2  class='caption' style='display: inline-block;'>Editing {{app_component_name}} </h2>
                        <div class='btn-group' style='float: right;' role=group >
                            <button  type=button class='btn btn-primary'      v-on:click='chooseApp()'  >App</button>
                            <button  type=button class=' btn btn-secondary'   v-on:click='chooseCode()' >Code</button>
                            <button  type=button class=' btn btn-info'        v-on:click='chooseBoth()' >Both</button>
                        </div>
                    </div>



                  <div id=editor_id v-bind:style="'height: 100%; width: ' + code_width + '; left: 0px;display: inline-block; visibility: ' + (code_shown?'':'hidden') + ';'">
                      <component  v-bind:is="editor_component" v-if="editor_loaded" ref="editorComponentRef">
                                      <button v-bind:style="'visibility: ' + ((app_shown && code_shown)?'':'hidden')"
                                              slot-scope="editor_component"
                                              v-on:click='save(base_component_id, code_id, editor_component.text2)'
                                              type="button" class="btn btn-primary">

                                                  Update App
                                     </button>
                      </component>
                  </div>





                  <div v-bind:style="'height: 100%; width: '+app_width+'; right: 0px;display: inline-block;visibility: ' + (app_shown?'':'hidden')+';vertical-align: top;'">
                      <component  v-bind:is="app_component_name" v-if="app_loaded">
                        APP HERE
                      </component>

                      <div  v-if="!app_loaded">


                      </div><commit_msg>trying to fix editor on mobile devices<commit_after>async function(args) {
/*
is_app(true)
display_name("Editor App")
description("This will return the editor app")
base_component_id("appEditorV2")
hide_header(true)
load_once_from_file(true)
*/

    var argBaseComponentId = args.base_component_id

    Vue.component("app_editor",
    {
      template: `<div>
                    <div>
                        <h2  class='caption' style='display: inline-block;'>Editing {{app_component_name}} </h2>
                        <div class='btn-group' style='float: right;' role=group >
                            <button  type=button class='btn btn-primary'      v-on:click='chooseApp()'  >App</button>
                            <button  type=button class=' btn btn-secondary'   v-on:click='chooseCode()' >Code</button>
                            <button  type=button class=' btn btn-info'        v-on:click='chooseBoth()' >Both</button>
                        </div>
                    </div>



                  <div id=editor_id v-bind:style="'height: 100%; width: ' + code_width + '; left: 0px; display: ' + (code_shown?'inline-block':'none') + ';'">
                      <component  v-bind:is="editor_component" v-if="editor_loaded" ref="editorComponentRef">
                                      <button v-bind:style="'visibility: ' + ((app_shown && code_shown)?'':'hidden')"
                                              slot-scope="editor_component"
                                              v-on:click='save(base_component_id, code_id, editor_component.text2)'
                                              type="button" class="btn btn-primary">

                                                  Update App
                                     </button>
                      </component>
                  </div>





                  <div v-bind:style="'height: 100%; width: '+app_width+'; right: 0px;display: ' + (app_shown?'inline-block':'none')+';vertical-align: top;'">
                      <component  v-bind:is="app_component_name" v-if="app_loaded">
                        APP HERE
                      </component>

                      <div  v-if="!app_loaded">


                      </div>
{'fraction_non_alphanumeric': 0.1328843995510662, 'fraction_numerical': 0.0053872053872053875, 'mean_word_length': 1.5160926030491249, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5990642', 'n_tokens_mistral': 1246, 'n_tokens_neox': 1126, 'n_words': 211}