var Player_chapter = Player_subtype.extend({
initialize_sections: function() {
this._super();
// chapter-specific stuff here
var $h2 = $('h2');
var h2_txt = $h2.text();
if (match = h2_txt.match(/(Problem Verbs: )(Be)/)) {
$h2.html(match[1] + "" + match[2] + "");
}
else if (match = h2_txt.match(/(Problem Verbs: )(Can) and (Will)( \d+)/)) {
$h2.html(match[1] + "" + match[2] + " and " + match[3] + "" + match[4]);
}
},
initialize2: function() {
this._super();
// chapter-specific stuff here
}
});
player = new Player_chapter();