Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

相册层添加回调函数 #50

Open
wants to merge 2 commits 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
72 changes: 72 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/ws/*

# should not ignored #
!*.java
!*.gitignore
!*.xml
!*.jsp
!*.html
!*.htm
!*.js
!*.css
!*.jpg
!*.gif
!*.properties


# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.war
*.ear

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db

# eclipse generated files #
######################
.project
.classpath
.iml
*.iml
.settings/
.idea/

# temp folder #
######################
target/
classes/
bin/
*.*~
2 changes: 2 additions & 0 deletions src/layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1218,9 +1218,11 @@ layer.photos = function(options, loop, key){
dict.event(layero);
options.tab && options.tab(data[start], layero);
typeof success === 'function' && success(layero);
typeof options.successCallback === 'function' && options.successCallback();
}, end: function(){
dict.end = true;
$(document).off('keyup', dict.keyup);
typeof options.endCallback === 'function' && options.endCallback();
}
}, options));
}, function(){
Expand Down