Widget:Sandbox: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
function test(){ | function test(){ | ||
var api = new mw.Api(); | |||
var api = new mw.Api(); api.parse( "'''Hello world'''" ) .done( function ( html ) { alert( 'Parsed result:', html ); } ); | |||
api. | |||
} | } |