Quellcode durchsuchen

Merge pull request #54 from umbreak/patch-6

Extra space not matching the replace condition on build
pull/57/head
Matthew Petroff vor 9 Jahren
Ursprung
Commit
fe26418071
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      utils/build/build.py

+ 1
- 1
utils/build/build.py Datei anzeigen

@@ -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>')


Laden…
Abbrechen
Speichern