Sha256: 1f669a371af36143e6672369fc49e49b91cc215dce6c5de2f2e1bfd6065b7968

Contents?: true

Size: 1.84 KB

Versions: 13

Compression:

Stored size: 1.84 KB

Contents

{:uriI"file://app/assets/javascripts/images.js?type=application/javascript&pipeline=self&id=18f1fb0fec75b0a93489fbd7a43c10e5961c1b2de759043c4c6350fb6f71239c:ET:load_pathI"app/assets/javascripts;T:
filenameI"%app/assets/javascripts/images.js;T:	nameI"images;T:logical_pathI"images.self.js;T:content_typeI"application/javascript;T:sourceI"var generateSignature = function(callback, params_to_sign){
	params_to_sign["_id"] = $("#image_id").text();
	params_to_sign["parent_id"] = $("#parent_id").text();
	params_to_sign["parent_class"] = $("#parent_class").text();
    $.ajax({
     	url     : "/auth/images",
     	type    : "POST",
     	dataType: "text",
     	data    : { image: params_to_sign
     			  },
     	complete: function() {console.log("complete")},
     	success : function(signature, textStatus, xhr) {
     	 console.log("signature returned is:");
     	 console.log(signature);
     	 callback(signature); },
     	error   : function(xhr, status, error) { console.log(xhr, status, error); }
    });
}


document.addEventListener("turbolinks:load", function() {
  $('#upload_widget_opener').cloudinary_upload_widget(
  { cloud_name: "doohavoda", api_key:"393369625566631", upload_signature: generateSignature,
  public_id: $("#image_id").text()},
  function(error, result) { console.log(error, result) });
})
;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"3file-digest://app/assets/javascripts/images.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%'p(6~QsW/N?_2+:lengthi:dependencies_digest"%dLÚ4-X>73r:idI"E18f1fb0fec75b0a93489fbd7a43c10e5961c1b2de759043c4c6350fb6f71239c;F:
mtimel+N\

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
wordjelly-auth-1.5.4 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.5.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.5.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.5.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.5.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.4.9 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.4.8 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.4.7 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.4.6 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.4.5 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.4.4 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.4.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache
wordjelly-auth-1.4.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pt/PtM54QYZqornlZVQzg4zcRESJBwc1sqqkTaSNsmNcAs.cache