mirror of
https://github.com/sensebox/blockly-app
synced 2025-04-06 19:00:27 +02:00
removed logs and warnings
This commit is contained in:
parent
f1ed71417b
commit
a6399cf4e9
1 changed files with 0 additions and 5 deletions
|
@ -20,7 +20,6 @@ import { OtaWifiProvider, WifiStrategy } from '../../providers/ota-wifi/ota-wifi
|
||||||
import { CompilerProvider } from '../../providers/compiler/compiler';
|
import { CompilerProvider } from '../../providers/compiler/compiler';
|
||||||
import { LoggingProvider } from '../../providers/logging/logging';
|
import { LoggingProvider } from '../../providers/logging/logging';
|
||||||
import {ErrorPage} from '../../pages/error/error'
|
import {ErrorPage} from '../../pages/error/error'
|
||||||
import { isUndefined } from 'ionic-angular/umd/util/util';
|
|
||||||
@IonicPage()
|
@IonicPage()
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'page-ota-wizard',
|
selector: 'page-ota-wizard',
|
||||||
|
@ -53,7 +52,6 @@ export class OtaWizardPage implements OnInit, OnDestroy {
|
||||||
private counts = { compile: 0, connect: 0, upload: 0 }
|
private counts = { compile: 0, connect: 0, upload: 0 }
|
||||||
private modus;
|
private modus;
|
||||||
private OTAAddress = '192.168.0.46'
|
private OTAAddress = '192.168.0.46'
|
||||||
private wifiSlideHidden = false;
|
|
||||||
constructor(
|
constructor(
|
||||||
private network: Network,
|
private network: Network,
|
||||||
private otaWifi: OtaWifiProvider,
|
private otaWifi: OtaWifiProvider,
|
||||||
|
@ -163,7 +161,6 @@ export class OtaWizardPage implements OnInit, OnDestroy {
|
||||||
// call logic for each slide
|
// call logic for each slide
|
||||||
onSlideChange() {
|
onSlideChange() {
|
||||||
this.slideHistory.push(OtaSlides[this.currentSlide])
|
this.slideHistory.push(OtaSlides[this.currentSlide])
|
||||||
console.log("currentSlide",this.currentSlide);
|
|
||||||
switch (this.currentSlide) {
|
switch (this.currentSlide) {
|
||||||
case OtaSlides.Intro:
|
case OtaSlides.Intro:
|
||||||
break
|
break
|
||||||
|
@ -188,7 +185,6 @@ export class OtaWizardPage implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
get currentSlide(): OtaSlides {
|
get currentSlide(): OtaSlides {
|
||||||
console.log(this.OTAAddress);
|
|
||||||
let current = this.slides.getActiveIndex()
|
let current = this.slides.getActiveIndex()
|
||||||
const hiddenOffset = this.hiddenSlides.filter(slide => slide <= current).length
|
const hiddenOffset = this.hiddenSlides.filter(slide => slide <= current).length
|
||||||
if(current === 3 && this.slideIsHidden(this.slideWifi)){
|
if(current === 3 && this.slideIsHidden(this.slideWifi)){
|
||||||
|
@ -228,7 +224,6 @@ export class OtaWizardPage implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
private handleCompilation() {
|
private handleCompilation() {
|
||||||
console.log("handleCompilation",this.compiledSketch);
|
|
||||||
this.slides.lockSwipeToNext(!this.compiledSketch)
|
this.slides.lockSwipeToNext(!this.compiledSketch)
|
||||||
|
|
||||||
// need to go online for compilation. compilation is retriggered via this.onlineSub
|
// need to go online for compilation. compilation is retriggered via this.onlineSub
|
||||||
|
|
Loading…
Add table
Reference in a new issue