Browse Source

Moved comment below DOCTYPE to avoid entering Internet Explorer quirks mode.

tags/1.0
Matthew Petroff 12 years ago
parent
commit
3e37112a8b
2 changed files with 15 additions and 12 deletions
  1. +13
    -11
      build/pannellum.htm
  2. +2
    -1
      utils/build.py

+ 13
- 11
build/pannellum.htm
File diff suppressed because it is too large
View File


+ 2
- 1
utils/build.py View File

@@ -70,7 +70,8 @@ def htmlCompress(text):
return compressed

def addHeader(text):
return '<!-- Pannellum, http://pannellum.sf.net/ -->\n' + text
text = text.replace('<!DOCTYPE HTML>','');
return '<!DOCTYPE HTML>\n<!-- Pannellum, http://pannellum.sf.net/ -->\n' + text

def build(files, css, html, filename):
folder = ''


Loading…
Cancel
Save