mqjueditor
Advanced tools
Comparing version 1.2.6 to 1.2.7
@@ -33,3 +33,4 @@ var Busboy = require('busboy'); | ||
var ueditor = function (static_url, config = {}, handel) { | ||
var ueditor = function (static_url, config, handel) { | ||
config=config||{} | ||
return function (req, res, next) { | ||
@@ -40,3 +41,4 @@ var _respond = respond(static_url, config, handel); | ||
}; | ||
var respond = function (static_url, config = {}, callback) { | ||
var respond = function (static_url, config, callback) { | ||
config=config||{} | ||
if (typeof config === 'function') { | ||
@@ -43,0 +45,0 @@ callback = config |
{ | ||
"name": "mqjueditor", | ||
"decription": "nodejs for ueditor", | ||
"decription": "from nodejs for ueditor", | ||
"author": { | ||
"name": "Night_elf" | ||
"name": "maqunjing" | ||
}, | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"dependencies": { | ||
@@ -9,0 +9,0 @@ "busboy": "^0.2.9", |
3876570
61642