Added method proxy to ve.ce.Surface

Change-Id: I2373df4c738b49685a897c8e13acebdd7ccb3e00
This commit is contained in:
Inez Korczynski 2012-05-23 13:34:52 -07:00
parent bea881daca
commit fe1482e0c4

View file

@ -27,6 +27,12 @@ ve.ce.Surface = function( $container, model ) {
/* Methods */
ve.ce.Surface.prototype.proxy = function( func ) {
var _this = this;
return( function() {
return func.apply( _this, arguments );
});
};
/**
* @method