Support for IE8

This commit is contained in:
benweet 2013-03-26 22:48:35 +00:00
parent 400b5ccac9
commit 41de5de606

View File

@ -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 } ] };