Expand all

ve.ce.MWPreNode

Extends

Constructor

new ve.ce.MWPreNode(model, [config]) #

Parameters:

Name Type Attributes Description
model ve.dm.MWPreNode

Model to observe

config Object optional

Configuration options

Source:
ContentEditable MediaWiki pre node.

Methods

onParseError(deferred, response) #

Handle an unsuccessful response from the parser for the wikitext fragment.

Parameters:

Name Type Description
deferred jQuery.Deferred

The promise object created by generateContents

response Object

Response data

Inherited from:
Source:
Handle an unsuccessful response from the parser for the wikitext fragment.

onParseSuccess(deferred, response) #

Handle a successful response from the parser for the wikitext fragment.

Parameters:

Name Type Description
deferred jQuery.Deferred

The Deferred object created by generateContents

response Object

Response data

Inherited from:
Source:
Handle a successful response from the parser for the wikitext fragment.