diff --git a/demo.html b/demo.html index 241285e26..22f364666 100644 --- a/demo.html +++ b/demo.html @@ -1323,16 +1323,16 @@ } }); cmdm.add('set-device-desktop', { - run: ed => ed.setDevice('Desktop'), - stop() {}, + run: function(ed) { ed.setDevice('Desktop') }, + stop: function() {}, }); cmdm.add('set-device-tablet', { - run: ed => ed.setDevice('Tablet'), - stop() {}, + run: function(ed) { ed.setDevice('Tablet') }, + stop: function() {}, }); cmdm.add('set-device-mobile', { - run: ed => ed.setDevice('Mobile portrait'), - stop() {}, + run: function(ed) { ed.setDevice('Mobile portrait') }, + stop: function() {}, });