Support for IE8
This commit is contained in:
parent
400b5ccac9
commit
41de5de606
@ -192,9 +192,9 @@ var gdrive = (function($) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
gdrive.createFile = function(folderId, title, content) {
|
gdrive.createFile = function(folderId, title, content) {
|
||||||
const boundary = '-------314159265358979323846';
|
var boundary = '-------314159265358979323846';
|
||||||
const delimiter = "\r\n--" + boundary + "\r\n";
|
var delimiter = "\r\n--" + boundary + "\r\n";
|
||||||
const close_delim = "\r\n--" + boundary + "--";
|
var close_delim = "\r\n--" + boundary + "--";
|
||||||
|
|
||||||
var contentType = 'text/x-markdown';
|
var contentType = 'text/x-markdown';
|
||||||
var metadata = { 'title' : title, 'mimeType' : contentType, 'parents' : [ { 'kind' : 'drive#fileLink', 'id' : folderId } ] };
|
var metadata = { 'title' : title, 'mimeType' : contentType, 'parents' : [ { 'kind' : 'drive#fileLink', 'id' : folderId } ] };
|
||||||
|
Loading…
Reference in New Issue
Block a user