Sha256: 77bf4f3dbf42b2565574e4973d2900502cc5eb0547aacae7876c7070cd69bb20

Contents?: true

Size: 1.96 KB

Versions: 10

Compression:

Stored size: 1.96 KB

Contents

{:uriI"file://app/assets/javascripts/admin/swal.js?type=application/javascript&pipeline=self&id=8672e38ddd29dbd1c1fa0a6ee883758935340548cc2dbcd59bfbae783e688c40:ET:load_pathI"app/assets/javascripts;T:
filenameI")app/assets/javascripts/admin/swal.js;T:	nameI"admin/swal;T:logical_pathI"admin/swal.self.js;T:content_typeI"application/javascript;T:sourceI"A$(document).on('turbolinks:load', function() {
  $(function ($) {
    $('.delete').click(function(e){
      e.preventDefault()
      swal({
        title: 'Submit your Github username',
        input: 'text',
        inputAttributes: {
          autocapitalize: 'off'
        },
        showCancelButton: true,
        confirmButtonText: 'Look up',
        showLoaderOnConfirm: true,
        preConfirm: (login) => {
          return fetch(`//api.github.com/users/${login}`)
            .then(response => {
              if (!response.ok) {
                throw new Error(response.statusText)
              }
              return response.json()
            })
            .catch(error => {
              swal.showValidationError(
                `Request failed: ${error}`
              )
            })
        },
        allowOutsideClick: () => !swal.isLoading()
      }).then((result) => {
        if (result.value) {
          swal({
            title: `${result.value.login}'s avatar`,
            imageUrl: result.value.avatar_url
          })
        }
      })
    })
  });
});
;T:
metadata{:dependencieso:Set:
@hash}
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"7file-digest://app/assets/javascripts/admin/swal.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"% QShj´F~ǷÎ	QiJR:lengthiA:dependencies_digest"%2QFGO&O݇+ÌA
:idI"E8672e38ddd29dbd1c1fa0a6ee883758935340548cc2dbcd59bfbae783e688c40;F:
mtimel+{[

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
keppler-2.1.11 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache
keppler-2.1.10 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache
keppler-2.1.6 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache
keppler-2.1.5 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache
keppler-2.1.4 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache
keppler-2.1.3 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache
keppler-2.1.2 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache
keppler-2.1.1 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache
keppler-2.1.pre.p1 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache
keppler-2.1 installer/core/tmp/cache/assets/sprockets/v3.0/T_/T_Yl8l8MrNtqMRRj1gDnHYqckwJB4-iI_Ly1-u6DVuc.cache