Sha256: 4eb1d79dff7e166a3cac4327e456ef57c405100f1e8bf6c1e935527f4d9f5ea9

Contents?: true

Size: 1.52 KB

Versions: 1

Compression:

Stored size: 1.52 KB

Contents

{:uriI"file:///home/franco/Documents/mumuki/laboratory/app/assets/javascripts/application/csrf-token.js?type=application/javascript&pipeline=self&id=7b5012b19799bef6fd36da935a82467d606047907c97e6ce4b58751f69db92ca:ET:load_pathI"D/home/franco/Documents/mumuki/laboratory/app/assets/javascripts;T:
filenameI"^/home/franco/Documents/mumuki/laboratory/app/assets/javascripts/application/csrf-token.js;T:	nameI"application/csrf-token;T:logical_pathI"#application/csrf-token.self.js;T:content_typeI"application/javascript;T:sourceI"var mumuki = mumuki || {};
(function (mumuki) {
  function CsrfToken() {
    this.value = $('meta[name="csrf-token"]').attr('content');
  }

  CsrfToken.prototype = {
    newRequest: function (data) {
      var self = this;
      data.beforeSend = function (xhr) {
        xhr.setRequestHeader('X-CSRF-Token', self.value);
      };
      return data;
    }
  };

  mumuki.CsrfToken = CsrfToken;
}(mumuki));
;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"lfile-digest:///home/franco/Documents/mumuki/laboratory/app/assets/javascripts/application/csrf-token.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%>J&,൘X]^ om:lengthi:dependencies_digest"%	2x;TX*Jڶ:7I:idI"E7b5012b19799bef6fd36da935a82467d606047907c97e6ce4b58751f69db92ca;F:
mtimel+DK[

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mumuki-laboratory-6.0.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/5D/5DeaOJEfz6cq4XtKoC473XhVOQBp139y0jtlzDofGTg.cache