Sha256: d4227bab4bc609ae1429036ebeb37c63533876564ee86dd6902f1159fa516c55

Contents?: true

Size: 429 Bytes

Versions: 21

Compression:

Stored size: 429 Bytes

Contents

jQuery(function ($) {
    var download_button = $('#configuration-download');

    // Create a blob object.
    var bb = new Blob(
        [<%= Arachni::Options.hash_to_save_data( report.options ).to_json %>],
        { type : 'application/yaml' }
    );

    download_button.attr( 'href', window.URL.createObjectURL( bb ) );
    download_button.attr( 'download', '<%= "#{Arachni::URI( report.url ).host}-profile.afp" %>' );
});

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
arachni-1.0 components/reporters/html/default/js/configuration.js.erb