Sha256: dc09e5c7f4b08eecf2e3493e7c0ab0b3af5b34545092c0077e02f87cbc4fff11

Contents?: true

Size: 162 Bytes

Versions: 47

Compression:

Stored size: 162 Bytes

Contents

# Content-Security-Policy nonce for inline scripts
cspNonce = Rails.cspNonce = ->
  meta = document.querySelector('meta[name=csp-nonce]')
  meta and meta.content

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
jets-1.9.7 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.9.6 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.9.5 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.9.4 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.9.3 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.9.2 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.9.1 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.9.0 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.14 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.13 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.12 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.11 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.10 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.9 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.8 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.7 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.6 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.5 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.4 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee
jets-1.8.3 vendor/rails/actionview/app/assets/javascripts/rails-ujs/utils/csp.coffee