// Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (DwrShortcutsHandler == null) var DwrShortcutsHandler = {}; DwrShortcutsHandler._path = '/dwr'; DwrShortcutsHandler.getShortcuts = function(callback) { dwr.engine._execute(DwrShortcutsHandler._path, 'DwrShortcutsHandler', 'getShortcuts', false, false, callback); } DwrShortcutsHandler.addShortcut = function(p0, p1, p2, callback) { dwr.engine._execute(DwrShortcutsHandler._path, 'DwrShortcutsHandler', 'addShortcut', p0, p1, p2, false, false, callback); } DwrShortcutsHandler.removeShortcut = function(p0, callback) { dwr.engine._execute(DwrShortcutsHandler._path, 'DwrShortcutsHandler', 'removeShortcut', p0, false, false, callback); }