epi/shell/_Command exposes inappropriate methods publicly

Fixed in

EPiServer.CMS.UI 10.0.2

Created

Aug 26, 2015

Updated

Oct 24, 2016

Area

CMS UI

State

Closed, Fixed and tested


Description

The methods watchModelChange and unwatchModelChange in epi/shell/_Command should not be public.

Breaking change
Calling watchModelChange and unwatchModelChange on _Command.js has been deprecated

Commands should always be allowed to update their internal state based on the current model.