code: function(event) {
          if(event.modified) {
              var feature = event.feature;
              if (typeof feature.geometry.split === "function") {
                  this.feature = event.feature;
                  this.considerSplit(event.feature);
              }
          }
      }
docs: Method: afterFeatureModified
  Registered as a listener for the afterfeaturemodified event on the
  editable layer.
  
  Parameters:
  event - {Object} The after feature modified event.