app/scripts/cesiumviewer/cesium-viewer.service.js
Function CesiumViewerService
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function CesiumViewerService(Cesium) {
return {
init: function(element) {
this.clock = new Cesium.Clock({
multiplier : 500.0
Function init
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function(element) {
this.clock = new Cesium.Clock({
multiplier : 500.0
});
this.clockViewModel = new Cesium.ClockViewModel(this.clock);