From c45ba9600aeb636ea5eb6896e0ce79fc4d6e01e2 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Thu, 30 Apr 2015 21:52:38 -0400 Subject: [PATCH] add migration note --- docs/change-log.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/change-log.md b/docs/change-log.md index 6ae07123..ca0da489 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -14,6 +14,8 @@ - `m.module` has been renamed `m.mount`. Calling `m.module` will still work, but should be considered deprecated. Rationale: Mithril modules and components are the same thing, therefore from now on, they will be referred to as components, since that name is more descriptive of their purpose, and causes less confusion in the face of ES6 modules. + In order to migrate, search for `m.module` calls and replace them with `m.mount`. The method signature is the same. + ### Bug Fixes: - fix diff edge case in `