PageSourceSearch

https://chicagoimagists.com/js/views/milestones.js

js chicagoimagists.com collected 2026-10-02 11:35:21 UTC 1,014 bytes, 45 lines download raw bytes

1var MilestonesView = Backbone.View.extend({ 
2	className: 'milestone-content',
3    initialize: function () {
4        this.cleanUp();   
5        $("body").attr('id','milestones'); 
6        this.render();
7        this.afterRender();
8    },
9
10	render: function() {
11        this.collection.each(function(model) {
12            var milestoneView = new MilestoneView({ model: model });
13            this.$el.append(milestoneView.render().el);
14        }, this);
15        //console.log('Milestones Loaded!');
16        return this;
17    },
18
19    cleanUp: function(){
20        if (this != null) {
21           this.remove();
22           this.unbind();
23           //console.log('View was removed!');  
24        } 
25    },
26
27    afterRender: function(){
28
29    }
30
31
32}); 
33
34
35
36
37var MilestoneView = Backbone.View.extend({
38        className:'subpage',
39        render: function(){
40            this.id = this.model.get('idWord');
41            this.$el.attr('id',this.id).html(this.template(this.model.toJSON()));
42            return this;
43        }
44});
45

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.