mediawiki-extensions-Popups/tests/qunit
Sam Smith f6868d2567 reducers: Add the nextState helper function
OO.copy doesn't copy Element instances, whereas $.extend does. However,
OO.copy does copy properties whose values are undefined or null, whereas
$.extend doesn't.

Since the state tree contains an Element instance - the
preview.activeLink property - we need to use $.extend.

Add the nextState helper function which copies the current state tree
with $.extend and mixes in all updates manually.

Change-Id: Ie8edd9fa0cc3a62a792ed60b49288f85b3ca73e9
2016-11-17 21:41:56 +00:00
..
ext.popups reducers: Add the nextState helper function 2016-11-17 21:41:56 +00:00
ext.popups.core.test.js Add LINK_DWELL and LINK_ABANDON actions 2016-11-10 11:47:55 +00:00
ext.popups.desktopRenderer.test.js Directory structure should reflect the ResourceLoader definitions 2016-10-19 20:52:40 +00:00
ext.popups.renderer.article.test.js Remove optional survey link 2016-11-09 14:41:03 +00:00
ext.popups.schemaPopups.utils.test.js Hygiene: Rename getMassagedData to processHovercardEvent 2016-10-31 11:25:09 +00:00
ext.popups.settings.test.js Hovercards: Improve layout of settings dialog to design spec 2016-08-10 14:01:36 -04:00