diff --git a/website/_config.yml b/website/_config.yml index 054592016..d3cc6f3e2 100644 --- a/website/_config.yml +++ b/website/_config.yml @@ -5,9 +5,9 @@ # Uppy versions, auto updated by update.js uppy_version: 0.0.1 -uppy_dev_size: "87.41" -uppy_min_size: "87.41" -uppy_gz_size: "87.41" +uppy_dev_size: "87.40" +uppy_min_size: "87.40" +uppy_gz_size: "87.40" # Theme google_analytics: UA-63083-12 diff --git a/website/package.json b/website/package.json index d4af22e9c..839f9576b 100644 --- a/website/package.json +++ b/website/package.json @@ -18,7 +18,6 @@ "hexo-renderer-marked": "0.2.4", "hexo-renderer-postcss": "https://github.com/arturi/hexo-renderer-postcss#afca2bc12f5816067b15a9d24017c70e077b9f0b", "hexo-renderer-scss": "1.0.1", - "hexo-renderer-uppyexamples": "file:./private_modules/hexo-renderer-uppyexamples", "hexo-server": "0.1.2", "hexo-tag-emojis": "2.0.0", "hexo-util": "0.2.1", diff --git a/website/private_modules/hexo-renderer-uppyexamples/index.js b/website/private_modules/hexo-renderer-uppyexamples/index.js index 4d8ce37e8..d4c4db441 100644 --- a/website/private_modules/hexo-renderer-uppyexamples/index.js +++ b/website/private_modules/hexo-renderer-uppyexamples/index.js @@ -48,4 +48,4 @@ function parseExamplesBrowserify (data, options, callback) { } -// hexo.extend.renderer.register('es6', 'js', parseExamplesBrowserify); +hexo.extend.renderer.register('es6', 'js', parseExamplesBrowserify); diff --git a/website/themes/uppy/source/uppy/uppy.js b/website/themes/uppy/source/uppy/uppy.js index 64ef2484a..3f85437bb 100644 --- a/website/themes/uppy/source/uppy/uppy.js +++ b/website/themes/uppy/source/uppy/uppy.js @@ -2103,9 +2103,9 @@ var Translator = (function () { if (options && options.smart_count) { var plural = this.opts.locale.pluralize(options.smart_count); return this.interpolate(this.opts.locale.strings[key][plural], options); - } else { - return this.interpolate(this.opts.locale.strings[key], options); } + + return this.interpolate(this.opts.locale.strings[key], options); } }]); @@ -2349,7 +2349,7 @@ var DragDrop = (function (_Plugin) { this.opts = defaultOptions; Object.assign(this.opts, opts); - // get the element where Drag & Drop event will occur + // get the element where the Drag & Drop event will occur this.dropzone = document.querySelectorAll(this.opts.selector)[0]; this.dropzoneInput = document.querySelectorAll('.UppyDragDrop-input')[0];