ソースを参照

Merge pull request #54 from umbreak/patch-6

Extra space not matching the replace condition on build
pull/57/head
Matthew Petroff 9年前
コミット
fe26418071
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      utils/build/build.py

+ 1
- 1
utils/build/build.py ファイルの表示

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


読み込み中…
キャンセル
保存