Browse Source

Updated build script.

pull/1/merge
Matthew Petroff 12 years ago
parent
commit
e6ad0deaca
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      utils/build.py

+ 2
- 2
utils/build.py View File

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


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


Loading…
Cancel
Save