remote control: remove /EXEC
This commit is contained in:
parent
ce7b6750c9
commit
c904b941ba
2 changed files with 2 additions and 9 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue