Skip to content

Commit

Permalink
added gitignore and update main
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimTanyalcin committed Oct 25, 2017
1 parent bb58c88 commit 1c64c66
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 5 deletions.
46 changes: 46 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

#Older versions
older/
10 changes: 5 additions & 5 deletions taskq.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
return this;
};
this.perform = function(){
var base = Math.max.apply(null,tasks.map(function(d,i){return (d._taskqWaitFor || []).length})) + 1,//About max 2^16 tasks
var base = Math.max.apply(null,tasks.map(function(d,i){return (d._taskqWaitFor || []).length;})) + 1,//About max 2^16 tasks
keywordStart = ["start","init","begin","loadstart","loadStart"],//regex could do also - executed first
keywordEnd = ["end","defer","finish","loadend","loadEnd"];//executed last
tasks.map(function(d,i){
Expand All @@ -38,7 +38,7 @@
} else if (!bL) {
return 1;
} else {
return aL.some(function(d,i){return d === bId})*base+aL.length - bL.some(function(d,i){return d === aId})*base - bL.length;
return aL.some(function(d,i){return d === bId;})*base+aL.length - bL.some(function(d,i){return d === aId;})*base - bL.length;
}
}).map(function(d,i){
return d[0];
Expand All @@ -51,7 +51,7 @@
captured[1]
.replace(/\s+/g,"")
.split(",")
.map(function(d,i){return exports[d]})
.map(function(d,i){return exports[d];})
:
void(0)
);
Expand All @@ -64,5 +64,5 @@
};
window.addEventListener("load",function(){
taskq.perform().flush();
},false)
}()
},false);
}();

0 comments on commit 1c64c66

Please sign in to comment.