浏览代码

Updated build script.

pull/1/merge
Matthew Petroff 12 年前
父节点
当前提交
e6ad0deaca
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      utils/build.py

+ 2
- 2
utils/build.py 查看文件

@@ -5,7 +5,7 @@ import tempfile
import sys

JS = [
'js/Three.js',
'js/libpannellum.js',
'js/RequestAnimationFrame.js',
'js/pannellum.js'
]
@@ -105,7 +105,7 @@ def build(files, css, html, filename):
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('<script type="text/javascript" src="js/Three.js"></script>','')
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>')
html = html.replace('"_blank">Pannellum</a></span>','"_blank">Pannellum</a> ' + read('../VERSION') + '</span>')


正在加载...
取消
保存