Skip to content

Commit

Permalink
new SRI
Browse files Browse the repository at this point in the history
  • Loading branch information
daGoloubev committed Aug 1, 2017
1 parent cbc01b5 commit a2dd586
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 29 deletions.
117 changes: 89 additions & 28 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion views/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ html(lang="se")
link(rel='stylesheet', href="//cdnjs.cloudflare.com/ajax/libs/ol3/4.1.1/ol.css", integrity='sha384-qvEMHURr32YrejBOU8/dilpPAN+57iD03+SUiYjxgbpKgXGN5+4gVpajdyRw4QgJ', crossorigin='anonymus')
link(rel='stylesheet', href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css', integrity='sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u', crossorigin='anonymus')
link(rel='stylesheet', href='//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', integrity='sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN', crossorigin='anonymus')
//- REMEMBER TO CHANGE SRI
- var inDevelopmentMODE = false;
- if(inDevelopmentMODE)
link(rel='stylesheet', href='/stylesheets/layout_style.css')
Expand Down Expand Up @@ -46,7 +47,7 @@ html(lang="se")
script(type='text/javascript', src='/javascripts/map.js')
- else
script(type='text/javascript', src='/javascripts/layout_script.js', integrity='sha384-7FGc33MOg7EGu2h7xme1PJRRH1vE5iwa6ZaCoYiyOm6dYlPyCt3MHV4pQ88aAefH', crossorigin='anonymus')
script(type='text/javascript', src='/javascripts/map.js', integrity='sha384-8haTWq2U8N0HXlACv0u/rf+MZAyizDQK1UTWQP4eVTxGlEdXPHCd2yjmmOD5y8ni', crossorigin='anonymus')
script(type='text/javascript', src='/javascripts/map.js', integrity='sha384-ayB0dJjT3auw61nSwgJd1ccTTcBHC5GpxghsgoABiuIhJcFmFqDMP9LVzQwgcJ9F', crossorigin='anonymus')
script(type='text/javascript', src='/javascripts/sketch.js', integrity='sha384-muxhAwivPn4P4fA6MXl0kbE0gurubDt71zQ3xy2bNkx/fbFqno48sQiFteVuEbZa', crossorigin='anonymous')
//- FOR PRODUCTION
//- script(type='text/javascript', src='/javascripts/layout_script.js', integrity='sha384-7FGc33MOg7EGu2h7xme1PJRRH1vE5iwa6ZaCoYiyOm6dYlPyCt3MHV4pQ88aAefH', crossorigin='anonymus')
Expand Down

0 comments on commit a2dd586

Please sign in to comment.