From 6e29dbeeee4f7a8b4f140d26cb3805b0c335e04f Mon Sep 17 00:00:00 2001 From: unknown <马赐崇> Date: Wed, 21 Dec 2016 21:04:55 +0800 Subject: [PATCH] Init --- README.md | 2 +- handle.vue | 4 ++-- index.js | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fc4efcd..305dbd3 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ import Vue from 'vue' import VueDragZone from 'vue-drag-zone' -// require with Webpack/Node.js +// require with Webpack const Vue = require('vue') const VueDragZone = require('vue-drag-zone') diff --git a/handle.vue b/handle.vue index 44df943..44468cc 100644 --- a/handle.vue +++ b/handle.vue @@ -189,7 +189,7 @@ // 最大minwidth let nextElementsMinMaxWidth = Math.max.apply(null, elementsWidths(nextElementsToDo, 'minWidth', true)) - console.log(average, nextElementsMinMaxWidth) + // console.log(average, nextElementsMinMaxWidth) // 如果平均分配的值大于最大的minwidth,则平均分配 if (average >= nextElementsMinMaxWidth) { @@ -208,7 +208,7 @@ }) // 给没有minwidth的设置(toDoWidth - minwidth之和) / 自己数量 $(notHasMinWidthElements).css(buildStyle, (toDoWidth - nextElementsMinMaxWidth) / notHasMinWidthElements.length) - console.log($(notHasMinWidthElements)) + // console.log($(notHasMinWidthElements)) } } } diff --git a/index.js b/index.js index 920ccf5..35b9f69 100644 --- a/index.js +++ b/index.js @@ -1,8 +1,7 @@ /** * - * Vue-touch-ripple - * Adapted from rippleJS (https://github.com/samthor/rippleJS) - * removed jQuery + * Vue-Drag-Zone + * Author @Surmon.me * */