Changed Google Picker MIME types filter
This commit is contained in:
parent
de396b68f4
commit
c4dcb897d1
@ -1 +1 @@
|
||||
CACHE MANIFEST
# v28
CACHE:
index.html
viewer.html
css/main-min.css
js/main-min.js
js/require.js
img/ajax-loader.gif
img/glyphicons-halflings.png
img/glyphicons-halflings-white.png
img/icons.png
img/stackedit-32.ico
img/stackedit-promo.png
lib/MathJax/MathJax.js?config=TeX-AMS_HTML
lib/MathJax/config/TeX-AMS_HTML.js
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff
lib/MathJax/images/CloseX-31.png
lib/MathJax/images/MenuArrow-15.png
lib/MathJax/jax/output/HTML-CSS/jax.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js
NETWORK:
*
|
||||
CACHE MANIFEST
# v29
CACHE:
index.html
viewer.html
css/main-min.css
js/main-min.js
js/require.js
img/ajax-loader.gif
img/glyphicons-halflings.png
img/glyphicons-halflings-white.png
img/icons.png
img/stackedit-32.ico
img/stackedit-promo.png
lib/MathJax/MathJax.js?config=TeX-AMS_HTML
lib/MathJax/config/TeX-AMS_HTML.js
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff
lib/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff
lib/MathJax/images/CloseX-31.png
lib/MathJax/images/MenuArrow-15.png
lib/MathJax/jax/output/HTML-CSS/jax.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js
lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js
NETWORK:
*
|
10
js/core.js
10
js/core.js
@ -571,7 +571,15 @@ define(
|
||||
};
|
||||
if(core.settings.lazyRendering === true) {
|
||||
previewWrapper = function(makePreview) {
|
||||
return _.debounce(makePreview, 500);
|
||||
var debouncedMakePreview = _.debounce(makePreview, 500);
|
||||
return function() {
|
||||
if(firstChange === true) {
|
||||
makePreview();
|
||||
}
|
||||
else {
|
||||
debouncedMakePreview();
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
editor.run(previewWrapper);
|
||||
|
@ -57,7 +57,7 @@ define(["jquery", "core", "synchronizer", "publisher", "sharing", "text!../WELCO
|
||||
};
|
||||
|
||||
fileManager.createFile = function(title, content, syncIndexes, isTemporary) {
|
||||
content = content || core.settings.defaultContent;
|
||||
content = content !== undefined ? content : core.settings.defaultContent;
|
||||
syncIndexes = syncIndexes || [];
|
||||
if (!title) {
|
||||
// Create a file title
|
||||
|
@ -41,6 +41,9 @@ define(["jquery", "core", "google-helper", "underscore"], function($, core, goog
|
||||
core.fileManager.selectFile(fileIndex);
|
||||
titleList.push('"' + file.title + '"');
|
||||
});
|
||||
if(titleList.length === 0) {
|
||||
return;
|
||||
}
|
||||
core.showMessage(titleList.join(", ") + ' imported successfully from Google Drive.');
|
||||
});
|
||||
});
|
||||
|
@ -392,7 +392,7 @@ define(["jquery", "core", "async-runner"], function($, core, asyncRunner) {
|
||||
loadPicker(task);
|
||||
task.onRun(function() {
|
||||
var view = new google.picker.View(google.picker.ViewId.DOCS);
|
||||
view.setMimeTypes("text/x-markdown,text/plain");
|
||||
view.setMimeTypes("text/x-markdown,text/plain,application/octet-stream");
|
||||
var pickerBuilder = new google.picker.PickerBuilder();
|
||||
pickerBuilder.enableFeature(google.picker.Feature.NAV_HIDDEN);
|
||||
pickerBuilder.enableFeature(google.picker.Feature.MULTISELECT_ENABLED);
|
||||
|
2
js/main-min.js
vendored
2
js/main-min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user