diff --git a/cache.manifest b/cache.manifest index 39528250..103bfd45 100644 --- a/cache.manifest +++ b/cache.manifest @@ -1,5 +1,5 @@ CACHE MANIFEST -#Date Tue Sep 03 2013 18:36:17 +#Date Tue Sep 03 2013 22:51:17 CACHE: index.html diff --git a/res-min/main.js b/res-min/main.js index 516c3ee7..62a89a1e 100644 --- a/res-min/main.js +++ b/res-min/main.js @@ -4542,10 +4542,13 @@ define("config", function() {}), define("settings", [ "underscore", "config" ], }), a = !0; 0 !== i.length; ) { var s = i[0]; if (a === !1 && /(^| )wmd-title($| )/.test(s.className)) break; - a = !1, "DIV" == s.tagName && "footnotes" == s.className ? e.each(s.querySelectorAll("ol > li"), function(e) { + if (a = !1, "DIV" == s.tagName && "footnotes" == s.className) e.each(s.querySelectorAll("ol > li"), function(e) { var t = e.id.substring(3); y[t] = e; - }) : r.appendChild(s), i.shift(); + }); else try { + r.appendChild(s); + } catch (l) {} + i.shift(); } o.appendChild(r); }); @@ -11152,9 +11155,9 @@ function(e) { template: [ "
", "
", "

", "
", " ", "
" ].join("") }); t.addSteps([ { - element: ".ui-layout-resizer-north", - title: "Welcome to StackEdit 2.0!", - content: "Please click Next to start a small tour...", + element: ".navbar-inner", + title: "Welcome to StackEdit 2.0", + content: "Please click Next to start a small tour.", placement: "bottom" }, { element: ".navbar .action-create-file", @@ -17742,7 +17745,7 @@ var viewerMode = /(^| )viewer($| )/.test(document.body.className), theme = local e(function() { t.onReady(), window.applicationCache && window.applicationCache.addEventListener("updateready", function() { window.applicationCache.status === window.applicationCache.UPDATEREADY && (window.applicationCache.swapCache(), - n.onMessage("New version available.\nPlease refresh the page to upgrade.")); + n.onMessage("New version available.\nJust refresh the page to upgrade.")); }, !1); }); }), define("main", function() {}); \ No newline at end of file diff --git a/res-min/themes/blue-gray.css b/res-min/themes/blue-gray.css index 5b217a4e..f5915dbb 100644 --- a/res-min/themes/blue-gray.css +++ b/res-min/themes/blue-gray.css @@ -1518,8 +1518,8 @@ div.dropdown-menu textarea{width:250px;height:150px;resize:none} input[type="file"]{line-height:inherit;height:inherit;border:none !important} .drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb} .modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px} -.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)} -.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px} +.popover{max-width:360px;padding:15px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)} +.popover .popover-title{font-weight:500;font-size:24px;padding:10px 15px} .popover .disabled{display:none} div.jGrowl{z-index:1040;font-size:inherit} div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px} diff --git a/res-min/themes/default.css b/res-min/themes/default.css index e82f21a2..584d5166 100644 --- a/res-min/themes/default.css +++ b/res-min/themes/default.css @@ -1518,8 +1518,8 @@ div.dropdown-menu textarea{width:250px;height:150px;resize:none} input[type="file"]{line-height:inherit;height:inherit;border:none !important} .drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb} .modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px} -.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)} -.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px} +.popover{max-width:360px;padding:15px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)} +.popover .popover-title{font-weight:500;font-size:24px;padding:10px 15px} .popover .disabled{display:none} div.jGrowl{z-index:1040;font-size:inherit} div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px} diff --git a/res-min/themes/night.css b/res-min/themes/night.css index 37470aec..2e183a63 100644 --- a/res-min/themes/night.css +++ b/res-min/themes/night.css @@ -1518,8 +1518,8 @@ div.dropdown-menu textarea{width:250px;height:150px;resize:none} input[type="file"]{line-height:inherit;height:inherit;border:none !important} .drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb} .modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px} -.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)} -.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px} +.popover{max-width:360px;padding:15px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)} +.popover .popover-title{font-weight:500;font-size:24px;padding:10px 15px} .popover .disabled{display:none} div.jGrowl{z-index:1040;font-size:inherit} div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(86,86,86,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px} diff --git a/res/extensions/partialRendering.js b/res/extensions/partialRendering.js index e73b6ec0..a851b7cf 100644 --- a/res/extensions/partialRendering.js +++ b/res/extensions/partialRendering.js @@ -138,7 +138,12 @@ define([ }); } else { - sectionElt.appendChild(elt); + try { + sectionElt.appendChild(elt); + } + catch(e) { + // IE fails with some text nodes + } } markdownEltList.shift(); }; diff --git a/res/extensions/welcomeTour.js b/res/extensions/welcomeTour.js index 27c2132a..0226158e 100644 --- a/res/extensions/welcomeTour.js +++ b/res/extensions/welcomeTour.js @@ -33,9 +33,9 @@ define([ }); tour.addSteps([ { - element: ".ui-layout-resizer-north", - title: "Welcome to StackEdit 2.0!", - content: "Please click Next to start a small tour...", + element: ".navbar-inner", + title: "Welcome to StackEdit 2.0", + content: "Please click Next to start a small tour.", placement: "bottom", }, { diff --git a/res/main.js b/res/main.js index 120693ec..87c15862 100644 --- a/res/main.js +++ b/res/main.js @@ -152,7 +152,7 @@ require([ window.applicationCache.addEventListener('updateready', function(e) { if(window.applicationCache.status === window.applicationCache.UPDATEREADY) { window.applicationCache.swapCache(); - eventMgr.onMessage('New version available.\nPlease refresh the page to upgrade.'); + eventMgr.onMessage('New version available.\nJust refresh the page to upgrade.'); } }, false); } diff --git a/res/styles/main.less b/res/styles/main.less index 3db21448..83117682 100644 --- a/res/styles/main.less +++ b/res/styles/main.less @@ -1112,13 +1112,13 @@ input[type="file"] { *********************/ .popover { - max-width: 400px; - padding: 20px; + max-width: 360px; + padding: 15px; .box-shadow(0 5px 30px rgba(0,0,0,.4)); .popover-title { font-weight: @headings-font-weight; font-size: 24px; - padding: 5px 15px 10px; + padding: 10px 15px; } .disabled { display: none;