Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix_bug: shutdown debugger(去掉源码中的debugger) #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion scrollbar/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ export default {
let heightPercentage, widthPercentage;
const wrap = this.wrap;
if (!wrap) return;
debugger
heightPercentage = (wrap.clientHeight * 100 / wrap.scrollHeight);
widthPercentage = (wrap.clientWidth * 100 / wrap.scrollWidth);
this.sizeHeight = (heightPercentage < 100) ? (heightPercentage + '%') : '';
Expand Down
1 change: 0 additions & 1 deletion scrollbar/src/utils/scroll-into-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default function scrollIntoView(container, selected) {
container.scrollTop = 0;
return;
}
debugger
const top = selected.offsetTop;
const bottom = selected.offsetTop + selected.offsetHeight;
const viewRectTop = container.scrollTop;
Expand Down
2 changes: 0 additions & 2 deletions src/components/EasyScroll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@
mounted:function () {
var bodyHei = document.documentElement.clientHeight;
this.$refs.root.style.height = bodyHei;
debugger

},
methods:{
addOption:function () {
Expand Down