```js
Camera.prototype.setContinuousAutoFocus = function() {
  var mode =  (this.mode === 'video') ? 'continuous-video' : 'continuous-picture';
  this.mozCamera.focusMode = mode;
 }
```