Upgrade to Bootstrap 3

This commit is contained in:
benweet 2013-08-26 06:58:18 +02:00
parent 4fe858817f
commit fec26ea3d6
213 changed files with 10 additions and 6 deletions

View File

@ -3,7 +3,7 @@ CACHE MANIFEST
CACHE: CACHE:
index.html index.html
viewer.html viewer.html
js/libs/require.js res/libs/require.js
lib/MathJax/MathJax.js?config=TeX-AMS_HTML lib/MathJax/MathJax.js?config=TeX-AMS_HTML
lib/MathJax/config/Safe.js lib/MathJax/config/Safe.js
lib/MathJax/config/TeX-AMS_HTML.js lib/MathJax/config/TeX-AMS_HTML.js

View File

@ -13,7 +13,7 @@
<meta name="msvalidate.01" content="5E47EE6F67B069C17E3CDD418351A612" /> <meta name="msvalidate.01" content="5E47EE6F67B069C17E3CDD418351A612" />
<script> <script>
// Use http://.../?debug to serve original JavaScript files instead of minified // Use http://.../?debug to serve original JavaScript files instead of minified
var baseDir = 'js'; var baseDir = 'res';
if(!location.search.match(/(\?|&)debug/)) { if(!location.search.match(/(\?|&)debug/)) {
baseDir += '-min'; baseDir += '-min';
} }

View File

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 144 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 766 B

View File

Before

Width:  |  Height:  |  Size: 447 B

After

Width:  |  Height:  |  Size: 447 B

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -614,7 +614,7 @@ define([
theme = theme || 'default'; theme = theme || 'default';
if(currentTheme != theme) { if(currentTheme != theme) {
var themeModule = "less!themes/" + theme; var themeModule = "less!themes/" + theme;
if(baseDir == 'js-min') { if(baseDir.indexOf('-min') !== -1) {
themeModule = "css!themes/" + theme; themeModule = "css!themes/" + theme;
} }
// Undefine the module in RequireJS // Undefine the module in RequireJS

View File

@ -9,11 +9,13 @@ define([
var dialogAbout = new Extension("dialogAbout", 'Dialog "About"'); var dialogAbout = new Extension("dialogAbout", 'Dialog "About"');
var libraries = { var libraries = {
"Bootstrap": "http://twitter.github.io/bootstrap/", "Bootstrap": "http://getbootstrap.com/",
"crel": "https://github.com/KoryNunn/crel", "crel": "https://github.com/KoryNunn/crel",
"CSS Browser Selector": "https://github.com/rafaelp/css_browser_selector/", "CSS Browser Selector": "https://github.com/rafaelp/css_browser_selector/",
"Dropbox-js": "https://github.com/dropbox/dropbox-js", "Dropbox-js": "https://github.com/dropbox/dropbox-js",
"FileSaver.js": "https://github.com/eligrey/FileSaver.js/", "FileSaver.js": "https://github.com/eligrey/FileSaver.js/",
"Fontello": "http://fontello.com/",
"Font Awesome and others...": "res/libs/fontello/LICENSE.txt",
"Gatekeeper": "https://github.com/prose/gatekeeper", "Gatekeeper": "https://github.com/prose/gatekeeper",
"Github.js": "https://github.com/michael/github", "Github.js": "https://github.com/michael/github",
"Glyphicons": "http://glyphicons.com/", "Glyphicons": "http://glyphicons.com/",
@ -21,12 +23,14 @@ define([
"jGrowl": "https://github.com/stanlemon/jGrowl/", "jGrowl": "https://github.com/stanlemon/jGrowl/",
"jQuery": "http://jquery.com/", "jQuery": "http://jquery.com/",
"jQuery Mouse Wheel Plugin": "https://github.com/brandonaaron/jquery-mousewheel", "jQuery Mouse Wheel Plugin": "https://github.com/brandonaaron/jquery-mousewheel",
"LESS": "http://lesscss.org/",
"MathJax": "http://www.mathjax.org/", "MathJax": "http://www.mathjax.org/",
"Mousetrap": "http://craig.is/killing/mice", "Mousetrap": "http://craig.is/killing/mice",
"PageDown": "https://code.google.com/p/pagedown/", "PageDown": "https://code.google.com/p/pagedown/",
"Pagedown-extra": "https://github.com/jmcmanus/pagedown-extra/", "Pagedown-extra": "https://github.com/jmcmanus/pagedown-extra/",
"Prettify": "https://code.google.com/p/google-code-prettify/", "Prettify": "https://code.google.com/p/google-code-prettify/",
"RequireJS": "http://requirejs.org/", "RequireJS": "http://requirejs.org/",
"RequireJS LESS plugin": "https://github.com/guybedford/require-less",
"stacktrace.js": "http://stacktracejs.com/", "stacktrace.js": "http://stacktracejs.com/",
"to-markdown": "https://github.com/domchristie/to-markdown", "to-markdown": "https://github.com/domchristie/to-markdown",
"UI Layout": "http://layout.jquery-dev.net/", "UI Layout": "http://layout.jquery-dev.net/",

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Some files were not shown because too many files have changed in this diff Show More