remote control: remove /EXEC

This commit is contained in:
jean-emmanuel 2017-12-21 06:39:55 +01:00
parent ce7b6750c9
commit c904b941ba
2 changed files with 2 additions and 9 deletions

View file

@ -15,8 +15,8 @@
- widgets
- sliders: **new** `range` widget
- plots: **new** `image` widget
- misc
- absolute file paths in widgets' background images urls are now properly resolved
- remote control
- **removed** deprecated `/EXEX`
## 0.21.3

View file

@ -2,12 +2,6 @@ var {getObjectData, updateDom} = require('./editor/data-workers'),
widgetManager = require('./managers/widgets')
var callbacks = {
'/EXEC': function(args) {
// backward-compatibility
var [name, ...args] = args
if (name == 'edit') return callbacks['/EDIT'](args)
if (name == 'edit_soft') return callbacks['/EDIT_SOFT'](args)
},
'/EDIT': function(args) {
if (READ_ONLY) return
@ -76,7 +70,6 @@ var callbacks = {
},
'/TABS': function(args) {
// DEPRECATED
if (!Array.isArray(args)) args = [args]