Skip to content

Instantly share code, notes, and snippets.

@papilip
Created December 20, 2017 09:45
Show Gist options
  • Save papilip/9da724ce54c24ba9a0c0f98f06183f65 to your computer and use it in GitHub Desktop.
Save papilip/9da724ce54c24ba9a0c0f98f06183f65 to your computer and use it in GitHub Desktop.
Hyperloop console JS with simple helloword
Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:10 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:11 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:12 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:13 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:14 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:15 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:111 Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.
r @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:111
(anonymous) @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:350
(anonymous) @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:350
t @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:32
(anonymous) @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:340
t @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:32
(anonymous) @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:32
t @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:32
(anonymous) @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:32
(anonymous) @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:32
localhost/:16 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:17 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:18 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'opal'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'browser' # CLIENT ONLY
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'hyperloop-config'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'hyper-component'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'hyper-model'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'hyper-store'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'react/react-source-browser'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'opal-jquery' # CLIENT ONLY
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'browser/delay' # CLIENT ONLY
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'react_ujs' # CLIENT ONLY
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'hyper-react'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'browser/interval' # CLIENT ONLY
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'hyper-operation'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'reactrb/auto-import'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'hyper-router'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'hyper-router/react-router-source'
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:9 require 'components/helloworld'
localhost/:19 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:20 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:24 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-sWjlCUcIaw+ZrKOyRXSt1DgODAqzcQ3z40Gsw+y+fs0='), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:24 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-/yFLAsOi/ylVCmbyDeaPHmfMlBQ8y+8RPIeytm8EQzA='), or a nonce ('nonce-...') is required to enable inline execution.
localhost/:29 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-shc5nP0jfjX5X6rjDCziMOLQMTh7+stYdt2Vfq8GywI='), or a nonce ('nonce-...') is required to enable inline execution.
hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:1920 Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' https:".
at eval (<anonymous>)
at Object.getConstructor (hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:1920)
at Object.mountComponents (hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:1920)
at HTMLDocument.<anonymous> (hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:1920)
at HTMLDocument.dispatch (jquery.self-e9d0f099c909c9f95c3a072d3260510cefde6c56c4142985510b1a24be4f59fb.js?body=1:5227)
at HTMLDocument.elemData.handle (jquery.self-e9d0f099c909c9f95c3a072d3260510cefde6c56c4142985510b1a24be4f59fb.js?body=1:4879)
at Object.t.dispatch (turbolinks.self-335621ceb76f8c6d8189fcfd6521bb794a3c70f10cda9069c0cdcda378d17e45.js?body=1:6)
at r.notifyApplicationAfterPageLoad (turbolinks.self-335621ceb76f8c6d8189fcfd6521bb794a3c70f10cda9069c0cdcda378d17e45.js?body=1:7)
at r.pageLoaded (turbolinks.self-335621ceb76f8c6d8189fcfd6521bb794a3c70f10cda9069c0cdcda378d17e45.js?body=1:6)
at turbolinks.self-335621ceb76f8c6d8189fcfd6521bb794a3c70f10cda9069c0cdcda378d17e45.js?body=1:6
getConstructor @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:1920
mountComponents @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:1920
(anonymous) @ hyperloop-loader-system.self-fe6d85224c4865fc2bed3d98a375ed5743387bdf9ed91ce572f036f207d7ede7.js?body=1:1920
dispatch @ jquery.self-e9d0f099c909c9f95c3a072d3260510cefde6c56c4142985510b1a24be4f59fb.js?body=1:5227
elemData.handle @ jquery.self-e9d0f099c909c9f95c3a072d3260510cefde6c56c4142985510b1a24be4f59fb.js?body=1:4879
t.dispatch @ turbolinks.self-335621ceb76f8c6d8189fcfd6521bb794a3c70f10cda9069c0cdcda378d17e45.js?body=1:6
r.notifyApplicationAfterPageLoad @ turbolinks.self-335621ceb76f8c6d8189fcfd6521bb794a3c70f10cda9069c0cdcda378d17e45.js?body=1:7
r.pageLoaded @ turbolinks.self-335621ceb76f8c6d8189fcfd6521bb794a3c70f10cda9069c0cdcda378d17e45.js?body=1:6
(anonymous) @ turbolinks.self-335621ceb76f8c6d8189fcfd6521bb794a3c70f10cda9069c0cdcda378d17e45.js?body=1:6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment