eywa-dropbox
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -138,5 +138,5 @@ "use strict"; | ||
var mute = arguments.length <= 4 || arguments[4] === undefined ? false : arguments[4]; | ||
var clientModified = arguments.length <= 5 || arguments[5] === undefined ? undefined : arguments[5]; | ||
var client_modified = arguments.length <= 5 || arguments[5] === undefined ? undefined : arguments[5]; | ||
if (clientModified) return this.content('/files/upload', { path: path, mode: mode, autorename: autorename, mute: mute, clientModified: clientModified }, content);else return this.content('/files/upload', { path: path, mode: mode, autorename: autorename, mute: mute }, content); | ||
if (client_modified) return this.content('/files/upload', { path: path, mode: mode, autorename: autorename, mute: mute, client_modified: client_modified }, content);else return this.content('/files/upload', { path: path, mode: mode, autorename: autorename, mute: mute }, content); | ||
} | ||
@@ -143,0 +143,0 @@ }, { |
{ | ||
"name": "eywa-dropbox", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "a dropbox file sync driver for the browser", | ||
@@ -5,0 +5,0 @@ "main": "dist/dropbox-api.js", |
@@ -90,4 +90,4 @@ /** Created by ge on 5/12/16. | ||
upload(path, content, mode = "add", autorename = true, mute = false, clientModified = undefined) { | ||
if (clientModified) return this.content('/files/upload', {path, mode, autorename, mute, clientModified}, content); | ||
upload(path, content, mode = "add", autorename = true, mute = false, client_modified = undefined) { | ||
if (client_modified) return this.content('/files/upload', {path, mode, autorename, mute, client_modified}, content); | ||
else return this.content('/files/upload', {path, mode, autorename, mute}, content); | ||
@@ -94,0 +94,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43193