Authored by lore-w

code review by yue.liu

... ... @@ -859,7 +859,7 @@ var jQuery = require('jquery');
}
$.fn.uploadifive = function(method) {
$.fn.upload = function(method) {
if (methods[method]) {
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
... ...
... ... @@ -23,7 +23,7 @@ var $uploadImgList = $('.upload-img-list'),
imgStr = '',
uploadImgNum = 0;
require('./jquery.uploadifive');
require('./jquery.upload');
imgTpl = '{{# imgList}}' +
'<li>' +
... ... @@ -34,7 +34,7 @@ imgTpl = '{{# imgList}}' +
imgTemplate = Handlebars.compile(imgTpl);
$('#upload-img').uploadifive({
$('#upload-img').upload({
auto: true,
fileType: 'image/*',
uploadScript: '/home/suggestimgUpload',
... ...