mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Got tests working again
I think what happened here is I added the skeleton code, Kranitor came through and removed the unused arguments, then I merged in my implementations without pulling, then pushed - git merged cleanly, the arguments I thought were there were not there, and tests broke. Change-Id: I5aa2968fef164c774a10db83a6df1753c93cd2dc
This commit is contained in:
parent
58e37e78a9
commit
2c3142225f
|
@ -473,7 +473,7 @@ ve.dm.SurfaceFragment.prototype.convertNodes = function ( type, attr ) {
|
|||
* @param {Object} [wrapper.attributes] Attributes of wrapper
|
||||
* @returns {ve.dm.SurfaceFragment} This fragment
|
||||
*/
|
||||
ve.dm.SurfaceFragment.prototype.wrapNodes = function () {
|
||||
ve.dm.SurfaceFragment.prototype.wrapNodes = function ( wrapper ) {
|
||||
// Handle null fragment
|
||||
if ( !this.surface ) {
|
||||
return this;
|
||||
|
@ -544,7 +544,7 @@ ve.dm.SurfaceFragment.prototype.rewrapNodes = function () {
|
|||
* @param {Object} [wrapper.attributes] Attributes of wrapper
|
||||
* @returns {ve.dm.SurfaceFragment} This fragment
|
||||
*/
|
||||
ve.dm.SurfaceFragment.prototype.wrapAllNodes = function () {
|
||||
ve.dm.SurfaceFragment.prototype.wrapAllNodes = function ( wrapper ) {
|
||||
// Handle null fragment
|
||||
if ( !this.surface ) {
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue