Fixed disabling hexo-uppyexamples

This commit is contained in:
Artur Paikin 2016-01-19 12:00:24 -05:00
parent 23b8ac2d8a
commit b896df1990
4 changed files with 7 additions and 8 deletions

View file

@ -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

View file

@ -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",

View file

@ -48,4 +48,4 @@ function parseExamplesBrowserify (data, options, callback) {
}
// hexo.extend.renderer.register('es6', 'js', parseExamplesBrowserify);
hexo.extend.renderer.register('es6', 'js', parseExamplesBrowserify);

View file

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