<commit_before>define([
        'lakaxita/utils/views', 
        'lakaxita/lost_found/collections',
        ], function(Views, Collections) {

    Item = Views.View.extend({
        tagName: 'li',
        template: 'scroll_item',
        title: function() { return this.model.title(); },
        hover: function() { return this.model.date(); },
        image: function() { return this.model.thumbnail(); },
        status: function() { return this.model.returned(); },
        url: function() { return this.reverse('lost_found', 'detail', this.model); },
    });

    ItemScroll = Views.ScrollView.extend({
        subView: Item,
    });

    ItemDetail = Item.extend({
        tagName: 'article',
        template: 'lost_found/item_detail',
        image: function() { return this.model.image(); },
        events: {'click button': 'notify'},
        notify: function(event) {
            event.preventDefault();
            var view = new ItemNotificationForm({
                collection: new Collections.Notifications(),
                item: this.model.id,
            });
            this.$el.append(view.render().el);
        },
    });

    ItemNotificationForm = Views.View.extend({
        initialize: function(options) {
            this.item = options.item;
            this.collection.on('add', this.success, this);
        },<commit_msg>issue #13 solved, every section#menu > ul > li defines his own class<commit_after>define([
        'lakaxita/utils/views', 
        'lakaxita/lost_found/collections',
        ], function(Views, Collections) {

    Item = Views.View.extend({
        tagName: 'li',
        template: 'scroll_item',
        title: function() { return this.model.title(); },
        hover: function() { return this.model.date(); },
        image: function() { return this.model.thumbnail(); },
        status: function() { return this.model.returned(); },
        url: function() { return this.reverse('lost_found', 'detail', this.model); },
    });

    ItemScroll = Views.ScrollView.extend({
        className: 'lost-found scroll',
        subView: Item,
    });

    ItemDetail = Item.extend({
        tagName: 'article',
        template: 'lost_found/item_detail',
        image: function() { return this.model.image(); },
        events: {'click button': 'notify'},
        notify: function(event) {
            event.preventDefault();
            var view = new ItemNotificationForm({
                collection: new Collections.Notifications(),
                item: this.model.id,
            });
            this.$el.append(view.render().el);
        },
    });

    ItemNotificationForm = Views.View.extend({
        initialize: function(options) {
            this.item = options.item;
            this.collection.on('add', this.success, this);
        },
{'fraction_non_alphanumeric': 0.14944583482302468, 'fraction_numerical': 0.0007150518412584912, 'mean_word_length': 2.1904218928164196, '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': '1077501', 'n_tokens_mistral': 773, 'n_tokens_neox': 746, 'n_words': 159}