<commit_before>var Gaffa = require('gaffa'),
    actionType = "pop";

function Pop(){}
Pop = Gaffa.createSpec(Pop, Gaffa.Action);
Pop.prototype.type = actionType;
Pop.prototype.trigger = function(){

    if(this.source.value && this.source.value.pop){
        var popFrom = this.source.value,
            poppedValue = popFrom.pop();

        this.target.binding && this.target.set(poppedValue, this);
        this.source.set(popFromArray, this);
    }
};
Pop.prototype.target = new Gaffa.Property();
Pop.prototype.source = new Gaffa.Property();



module.exports = Pop;<commit_msg>made not totaly broken<commit_after>var Gaffa = require('gaffa'),
    actionType = "pop";

function Pop(){}
Pop = Gaffa.createSpec(Pop, Gaffa.Action);
Pop.prototype.type = actionType;
Pop.prototype.trigger = function(){

    if(this.source.value && this.source.value.pop){
        var popFrom = this.source.value,
            poppedValue = popFrom.pop();

        if(this.target.binding){
            this.target.set(poppedValue, this);
        }

        this.source.set(popFrom, this);
    }
};
Pop.prototype.target = new Gaffa.Property();
Pop.prototype.source = new Gaffa.Property();



module.exports = Pop;
{'fraction_non_alphanumeric': 0.15088013411567477, 'fraction_numerical': 0.0, 'mean_word_length': 3.2491103202846974, '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': '3027998', 'n_tokens_mistral': 390, 'n_tokens_neox': 381, 'n_words': 70}