Sha256: 283fdb2318f5ead3b183405cccce33be5a2ad08d78b48ec0bba4c86f42175652

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"!web_console/repl_sessions.js;TI"
pathname;TI"^/Users/genadi/Development/web-console/app/assets/javascripts/web_console/repl_sessions.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+~†SI"length;Ti¸I"digest;TI"%a322791fb19e6ac04e1b6e3e40dbc6c9;FI"source;TI"¸$(function() {
  var ERROR_CLASS = 'jquery-console-message-error';

  var $console = $('#console');
  var instance = $console.console({
    autofocus: true,
    promptLabel: $console.data('initial-prompt'),
    animateScroll: true,
    commandHandle: function(line, report) {
      $.ajax({
        url: $console.data('remote-path'),
        type: 'PUT',
        dataType: 'json',
        data: { input: line },
        success: function(response) {
          instance.promptLabel(response.prompt);
          report([{msg: response.output}]);
        },
        error: function(xhr) {
          report([{msg: xhr.responseJSON.error, className: ERROR_CLASS}]);
        }
      });
    }
  });
});
;TI"required_assets_digest;TI"%aa996f0214a0305dedf6c2edd81700d4;FI"
_version;TI"%7ea39fbd96a2fa436855b2c797aedb88;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
web-console-2.0.0.beta3 test/dummy/tmp/cache/assets/development/sprockets/127a54171eea8d294e4673599861787d
web-console-2.0.0.beta3 test/dummy/tmp/cache/assets/development/sprockets/34f21019a876722b8c24a6da4f0ef50b
web-console-2.0.0.beta1 test/dummy/tmp/cache/assets/development/sprockets/127a54171eea8d294e4673599861787d
web-console-2.0.0.beta1 test/dummy/tmp/cache/assets/development/sprockets/34f21019a876722b8c24a6da4f0ef50b