import Utils from './utils';
import {DateOnly} from './util/time';

export default class TaskModel {
	constructor(description, id = Utils.guid(), completed = null, dateAdded = DateOnly()) {
    this.description = description;
    this.id = id;
    this.completed = completed;
    this.dateAdded = dateAdded
  }
}
@@ -123,27 +123,8 @@
 ion,
- id = Utils.guid(),
  com
@@ -160,16 +160,35 @@
 teOnly()
+, id = Utils.guid()
 ) %7B%0A    
@@ -223,26 +223,8 @@
 on;%0A
-    this.id = id;%0A
     
@@ -251,16 +251,16 @@
 pleted;%0A
-
     this
@@ -282,13 +282,31 @@
 teAdded%0A
+    this.id = id;%0A
   %7D%0A%7D

Change order of arguments