Prepare release

This commit is contained in:
benweet 2013-12-14 22:44:59 +00:00
parent f6b8d636e3
commit 0985605a8e
5 changed files with 25 additions and 16 deletions

View File

@ -27,14 +27,6 @@ define([], function() {
constants.SSH_PROXY_URL = "https://stackedit-ssh-proxy.herokuapp.com/";
constants.HTMLTOPDF_URL = "https://stackedit-htmltopdf.herokuapp.com/";
// Use by Google's client.js
window.delayedFunction = undefined;
window.runDelayedFunction = function() {
if(window.delayedFunction !== undefined) {
window.delayedFunction();
}
};
// Site dependent
constants.BASE_URL = "http://localhost/";
constants.GOOGLE_CLIENT_ID = '241271498917-lev37kef013q85avc91am1gccg5g8lrb.apps.googleusercontent.com';

View File

@ -53,7 +53,7 @@ define([
}
return userActive && windowUnique;
}
// Used to only have 1 window of the application in the same browser
var windowId;
function checkWindowUnique() {
@ -72,6 +72,8 @@ define([
}
$(".modal").modal("hide");
$('.modal-non-unique').modal("show");
// Attempt to close the window
window.close();
}
}

View File

@ -840,6 +840,14 @@ define([
});
task.enqueue();
};
// Use by Google's client.js
window.delayedFunction = undefined;
window.runDelayedFunction = function() {
if(window.delayedFunction !== undefined) {
window.delayedFunction();
}
};
return googleHelper;
});

View File

@ -18,37 +18,37 @@
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url('../font/opensans-light-webfont.svg#open_sanslight') format('svg'), url("../font/opensans-light-webfont.woff") format('woff');
src: local('Open Sans Light'), local('OpenSans-Light'), url("../font/opensans-light-webfont.woff") format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url('../font/opensans-regular-webfont.svg#open_sansregular') format('svg'), url("../font/opensans-regular-webfont.woff") format('woff');
src: local('Open Sans'), local('OpenSans'), url("../font/opensans-regular-webfont.woff") format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('../font/opensans-bold-webfont.svg#open_sansbold') format('svg'), url("../font/opensans-bold-webfont.woff") format('woff');
src: local('Open Sans Bold'), local('OpenSans-Bold'), url("../font/opensans-bold-webfont.woff") format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 300;
src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url('../font/opensans-lightitalic-webfont.svg#open_sanslight_italic') format('svg'), url("../font/opensans-lightitalic-webfont.woff") format('woff');
src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url("../font/opensans-lightitalic-webfont.woff") format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('../font/opensans-italic-webfont.svg#open_sansitalic') format('svg'), url("../font/opensans-italic-webfont.woff") format('woff');
src: local('Open Sans Italic'), local('OpenSans-Italic'), url("../font/opensans-italic-webfont.woff") format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url('../font/opensans-bolditalic-webfont.svg#open_sansbold_italic') format('svg'), url("../font/opensans-bolditalic-webfont.woff") format('woff');
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url("../font/opensans-bolditalic-webfont.woff") format('woff');
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {

View File

@ -130,6 +130,13 @@ body {
tab-size: 4;
}
// Bug with SVG font on Windows
@media screen and (-webkit-min-device-pixel-ratio:0) {
select {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
}
#preview-contents {
padding: 15px;
margin: 0 auto 180px;