| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 // Should become auto-generated. | 5 // Should become auto-generated. |
| 6 | 6 |
| 7 library todomvc_presenter_model; | 7 library todomvc_presenter_model; |
| 8 | 8 |
| 9 import 'todomvc_service.dart'; | 9 import 'todomvc_service.dart'; |
| 10 | 10 |
| 11 /* | 11 /* |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 Immutable oldContent; | 369 Immutable oldContent; |
| 370 Patch(this.path, this.content, this.oldContent); | 370 Patch(this.path, this.content, this.oldContent); |
| 371 | 371 |
| 372 void serialize(PatchBuilder builder, EventManager events) { | 372 void serialize(PatchBuilder builder, EventManager events) { |
| 373 trace("Patch::serialize"); | 373 trace("Patch::serialize"); |
| 374 oldContent.unregisterEvents(events); | 374 oldContent.unregisterEvents(events); |
| 375 Path.serialize(path, builder); | 375 Path.serialize(path, builder); |
| 376 content.serialize(builder.initContent(), events); | 376 content.serialize(builder.initContent(), events); |
| 377 } | 377 } |
| 378 } | 378 } |
| OLD | NEW |