Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Dec 21, 2016
1 parent 496c54d commit 6e29dbe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
4 changes: 2 additions & 2 deletions handle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -208,7 +208,7 @@
})
// 给没有minwidth的设置(toDoWidth - minwidth之和) / 自己数量
$(notHasMinWidthElements).css(buildStyle, (toDoWidth - nextElementsMinMaxWidth) / notHasMinWidthElements.length)
console.log($(notHasMinWidthElements))
// console.log($(notHasMinWidthElements))
}
}
}
Expand Down
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Vue-touch-ripple
* Adapted from rippleJS (https://github.com/samthor/rippleJS)
* removed jQuery
* Vue-Drag-Zone
* Author @Surmon.me
*
*/

Expand Down

0 comments on commit 6e29dbe

Please sign in to comment.