summaryrefslogtreecommitdiff
path: root/src/js/io/mxTerminalChangeCodec.js
diff options
context:
space:
mode:
authoradhitya2016-04-12 07:02:39 +0000
committeradhitya2016-04-12 07:02:39 +0000
commitdd83478e3fcaac98de690aa59e6288ad41a1c351 (patch)
tree38653bdf0ae95053f66777c4ac3fe5be5d8fbd33 /src/js/io/mxTerminalChangeCodec.js
parent92f3207b50a1caca07df5c5b238212af3358905b (diff)
downloadxcos-on-web-dd83478e3fcaac98de690aa59e6288ad41a1c351.tar.gz
xcos-on-web-dd83478e3fcaac98de690aa59e6288ad41a1c351.tar.bz2
xcos-on-web-dd83478e3fcaac98de690aa59e6288ad41a1c351.zip
Keyboard shortcuts work properly
Diffstat (limited to 'src/js/io/mxTerminalChangeCodec.js')
-rw-r--r--src/js/io/mxTerminalChangeCodec.js42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/js/io/mxTerminalChangeCodec.js b/src/js/io/mxTerminalChangeCodec.js
deleted file mode 100644
index a51d871..0000000
--- a/src/js/io/mxTerminalChangeCodec.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * $Id: mxTerminalChangeCodec.js,v 1.7 2010-09-13 15:58:36 gaudenz Exp $
- * Copyright (c) 2006-2010, JGraph Ltd
- */
-mxCodecRegistry.register(function()
-{
- /**
- * Class: mxTerminalChangeCodec
- *
- * Codec for <mxTerminalChange>s. This class is created and registered
- * dynamically at load time and used implicitely via <mxCodec> and
- * the <mxCodecRegistry>.
- *
- * Transient Fields:
- *
- * - model
- * - previous
- *
- * Reference Fields:
- *
- * - cell
- * - terminal
- */
- var codec = new mxObjectCodec(new mxTerminalChange(),
- ['model', 'previous'], ['cell', 'terminal']);
-
- /**
- * Function: afterDecode
- *
- * Restores the state by assigning the previous value.
- */
- codec.afterDecode = function(dec, node, obj)
- {
- obj.previous = obj.terminal;
-
- return obj;
- };
-
- // Returns the codec into the registry
- return codec;
-
-}());