From 0471557c6701025a8ea7a5152d4eb28e52fd72fb Mon Sep 17 00:00:00 2001 From: David Greenspan Date: Mon, 9 Jul 2012 17:48:41 -0700 Subject: [PATCH] notes --- packages/liveui/liveui_tests.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/packages/liveui/liveui_tests.js b/packages/liveui/liveui_tests.js index dfe158affc..3c7a212d1d 100644 --- a/packages/liveui/liveui_tests.js +++ b/packages/liveui/liveui_tests.js @@ -2185,5 +2185,32 @@ Tinytest.add("liveui - chunk matching", function(test) { test.equal(buf, "off0,off1".split(',')); }); +// TO TEST: +// - options.constant +// - as top-level +// - below top-level +// - when it differs between old/new +// - preservation of surrounding liveranges +// - chunk matching +// - Handlebars branch keys +// - top-level replacement always matches +// - options.branch +// - preserve nodes +// - API (one-match selectors, lambdas) +// - in lists +// - onscreen/offscreen/created callbacks +// - timing of calls +// - custom vs. original object +// - arguments to offscreen +// - when differ between old/new +// - on listChunk +// - old and new data + +// API Notes: +// - { constant: true } requires branch key; doesn't preserve liveranges +// - { preserve: ... } takes array of selectors or map of selector to value or lambda; +// also requires branch key +// - event this is calculated from currentTarget +// - options.data; deprecate event_data? })();