Ver código fonte

Merge pull request #54 from umbreak/patch-6

Extra space not matching the replace condition on build
pull/57/head
Matthew Petroff 9 anos atrás
pai
commit
fe26418071
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      utils/build/build.py

+ 1
- 1
utils/build/build.py Ver arquivo

@@ -108,7 +108,7 @@ def build(files, css, html, filename):
print('=' * 40)
html = merge(html)
html = html.replace('<link type="text/css" rel="Stylesheet" href="css/pannellum.css" />','<style type="text/css">' + css + '</style>')
html = html.replace('<link type="text/css" rel="Stylesheet" href="css/pannellum.css"/>','<style type="text/css">' + css + '</style>')
html = html.replace('<script type="text/javascript" src="js/libpannellum.js"></script>','')
html = html.replace('<script type="text/javascript" src="js/RequestAnimationFrame.js"></script>','')
html = html.replace('<script type="text/javascript" src="js/pannellum.js"></script>','<script type="text/javascript">' + js + '</script>')


Carregando…
Cancelar
Salvar