'use strict';

export default class Clock {
	constructor() {
		this.lastUpdate = window.performance.now();
		this.deltaTime = 0;
	}
	update() {
		var now = window.performance.now();
		var delta = now - this.lastUpdate;
		this.lastUpdate = now;
		this.deltaTime = delta / 1000;
		return delta;
	}
}

@@ -291,21 +291,30 @@
 %09return 
+this.
 delta
+Time
 ;%0D%0A%09%7D%0D%0A%7D

Return the correct deltaTime in clock.update