Merge "Always set sourceMode=true on dm.MWWikitextSurface"

This commit is contained in:
jenkins-bot 2018-02-27 16:49:09 +00:00 committed by Gerrit Code Review
commit 92470ae024

View file

@ -12,10 +12,11 @@
*
* @constructor
* @param {ve.dm.Document} doc
* @param {Object} [config]
*/
ve.dm.MWWikitextSurface = function VeDmMwWikitextSurface() {
ve.dm.MWWikitextSurface = function VeDmMwWikitextSurface( doc, config ) {
// Parent constructors
ve.dm.MWWikitextSurface.super.apply( this, arguments );
ve.dm.MWWikitextSurface.super.call( this, doc, ve.extendObject( config, { sourceMode: true } ) );
};
/* Inheritance */