Merge "Got tests working again"

This commit is contained in:
Catrope 2012-10-05 19:01:38 +00:00 committed by Gerrit Code Review
commit ffc34ee15a

View file

@ -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;