bpmn-js/lib/NavigatedViewer.js
Nico Rehwaldt 3996408404 chore(project): migrate to modularized lodash@3
* use specialized lodash utilities
* consistently apply 'use strict'

Related to #185
2015-02-02 14:46:21 +01:00

26 lines
597 B
JavaScript

'use strict';
var Viewer = require('./Viewer');
/**
* A viewer that includes mouse navigation facilities
*
* @param {Object} options
*/
function NavigatedViewer(options) {
Viewer.call(this, options);
}
NavigatedViewer.prototype = Object.create(Viewer.prototype);
module.exports = NavigatedViewer;
NavigatedViewer.prototype._navigationModules = [
require('diagram-js/lib/navigation/zoomscroll'),
require('diagram-js/lib/navigation/movecanvas')
];
NavigatedViewer.prototype._modules = [].concat(
NavigatedViewer.prototype._modules,
NavigatedViewer.prototype._navigationModules);