mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Merge "Convert "var\t" to "var ""
This commit is contained in:
commit
8a8a731a34
|
@ -108,7 +108,7 @@ ve.FormatAction.prototype.convert = function ( type, attributes ) {
|
|||
* @param {ve.Range} selection
|
||||
*/
|
||||
ve.FormatAction.splitAndUnwrap = function ( model, list, firstItem, lastItem, selection ) {
|
||||
var doc = model.getDocument(),
|
||||
var doc = model.getDocument(),
|
||||
start = firstItem.getOuterRange().start,
|
||||
end = lastItem.getOuterRange().end,
|
||||
tx;
|
||||
|
|
|
@ -56,12 +56,12 @@ ve.ce.AlienNode.rules = {
|
|||
* @param {jQuery.Event} e
|
||||
*/
|
||||
ve.ce.AlienNode.prototype.onMouseEnter = function () {
|
||||
var $phantoms = $( [] ),
|
||||
var $phantoms = $( [] ),
|
||||
$phantomTemplate = ve.ce.Surface.static.$phantomTemplate,
|
||||
surface = this.root.getSurface();
|
||||
|
||||
this.$.find( '.ve-ce-node-shield' ).each( function () {
|
||||
var $shield = $( this ),
|
||||
var $shield = $( this ),
|
||||
offset = $shield.offset();
|
||||
$phantoms = $phantoms.add(
|
||||
$phantomTemplate.clone().css( {
|
||||
|
|
|
@ -71,7 +71,7 @@ ve.dm.MWInternalLinkAnnotation.prototype.getAnnotationData = function ( element
|
|||
* @returns {Object} HTML element information, including tag and attributes properties
|
||||
*/
|
||||
ve.dm.MWInternalLinkAnnotation.prototype.toHTML = function () {
|
||||
var href,
|
||||
var href,
|
||||
parentResult = ve.dm.LinkAnnotation.prototype.toHTML.call( this );
|
||||
if (
|
||||
this.data.origTitle &&
|
||||
|
|
Loading…
Reference in a new issue