<commit_before>Polymer('polymer-windows', {

    ready: function() {
    },

    page: 0,

    afterTransition: function(e) {
        if ((e.target == this.$.topAnimate && e.target.lastSelected == 0) || 
             (e.target == this.$.scriptAnimate && e.target.lastSelected == 1)) {
            var code = this.$.codeMirror;
            code.style.display = "block";
            code.refresh();
            code.focus();
        }
    }
<commit_msg>fixed code-mirror<commit_after>Polymer('polymer-windows', {

    ready: function() {
    },

    page: 0,

    afterTransition: function(e) {
        if(page == 'scriptWindow') {
            var code = this.$.codeMirror;
            code.style.display = "block";
            code.refresh();
            code.focus();
        }
    }

{'fraction_non_alphanumeric': 0.15943877551020408, 'fraction_numerical': 0.00510204081632653, 'mean_word_length': 1.8035714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4509322', 'n_tokens_mistral': 246, 'n_tokens_neox': 230, 'n_words': 40}