From bed8bf715b7b892a434e4b7154e50a6827a49a67 Mon Sep 17 00:00:00 2001 From: Juan David Pastas Date: Sun, 4 Sep 2016 23:17:06 -0500 Subject: [PATCH] Update README.md Change JavaScript hook from Sync to RenderSync. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b70e11a..845c26a 100644 --- a/README.md +++ b/README.md @@ -298,15 +298,15 @@ Sync allows you to hook into and override or extend all of the actions it perfor partial name 'list_row', resource name 'todo', order of lookup: - 1. Sync.TodoListRow - 2. Sync.ListRow - 3. Sync.View (Default fallback) + 1. RenderSync.TodoListRow + 2. RenderSync.ListRow + 3. RenderSync.View (Default fallback) For example, if you wanted to fade in/out a row in a sync'd todo list instead of the Sync.View default of instant insert/remove: ```coffeescript -class Sync.TodoListRow extends Sync.View +class RenderSync.TodoListRow extends RenderSync.View beforeInsert: ($el) -> $el.hide()