Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>The source code</title>
  5. <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  6. <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  7. </head>
  8. <body onload="prettyPrint();">
  9. <pre class="prettyprint lang-js">/*!
  10. * Ext JS Library 3.3.1
  11. * Copyright(c) 2006-2010 Sencha Inc.
  12. * licensing@sencha.com
  13. * http://www.sencha.com/license
  14. */
  15. Ext.Direct.Event = function(config){
  16. Ext.apply(this, config);
  17. };
  18. Ext.Direct.Event.prototype = {
  19. status: true,
  20. getData: function(){
  21. return this.data;
  22. }
  23. };
  24. Ext.Direct.RemotingEvent = Ext.extend(Ext.Direct.Event, {
  25. type: 'rpc',
  26. getTransaction: function(){
  27. return this.transaction || Ext.Direct.getTransaction(this.tid);
  28. }
  29. });
  30. Ext.Direct.ExceptionEvent = Ext.extend(Ext.Direct.RemotingEvent, {
  31. status: false,
  32. type: 'exception'
  33. });
  34. Ext.Direct.eventTypes = {
  35. 'rpc': Ext.Direct.RemotingEvent,
  36. 'event': Ext.Direct.Event,
  37. 'exception': Ext.Direct.ExceptionEvent
  38. };
  39. </pre>
  40. </body>
  41. </html>