Content deleted Content added
try to actual launch a vue display |
m createMwApp, function names |
||
Line 33:
);
const reporterName = $( this ).text();
EFFPRH.
} );
};
Line 56:
* Add a link next to the edit section link that will launch the report handler.
*/
EFFPRH.
console.log( reporterName, sectionNum );
const $handlerLink = $( '<a>' )
Line 63:
function () {
console.log( 'Should launch for: ', reporterName, sectionNum );
EFFPRH.
}
);
Line 76:
* Actually show the handler for a given reporter name and section number.
*/
EFFPRH.
const targetDivId = 'script-EFFPRH-' + sectionNum;
const handlerApp = {
data: function () {
return {
Line 87 ⟶ 86:
},
template: `<div>Section {{ sectionNum }} for report by {{ reporterName }}.</div>`
}
Vue.createMwApp( handlerApp ).mount( '#' + targetDivId );
};
|