-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Comparing changes
Open a pull request
base repository: petkaantonov/bluebird
base: ddba7842e6a2a91854cd8859447103d364d4032d
head repository: petkaantonov/bluebird
compare: 750bd7f87fefaa0f918a6f0a25caec32ffdaddd8
Commits on Dec 3, 2015
-
Add a first draft of an Async Dialog Tutorial
This is an attempt to show Bluebird and Promises when used as values from a dialog box. I use only Bluebird as a dependency and the DOM code is vanilla JS not jQuery. I first compare the `window.confirm` synchronous code with a asynchronous dialog written in the DOM. Then I refactor the example to a few OOP abstractions which allow be to demonstrate different types of dialogs like a prompt. I follow this with an explanation on how to best handle the cancellation of the dialog box using custom Errors. And finally I offer and example on how to provide progress updates by using a progress bar dialog.
Configuration menu - View commit details
-
Copy full SHA for 873b291 - Browse repository at this point
Copy the full SHA 873b291View commit details
Commits on Dec 10, 2015
-
Configuration menu - View commit details
-
Copy full SHA for bd52696 - Browse repository at this point
Copy the full SHA bd52696View commit details
Commits on Dec 14, 2015
-
Configuration menu - View commit details
-
Copy full SHA for ced339b - Browse repository at this point
Copy the full SHA ced339bView commit details
Commits on Dec 19, 2015
-
Configuration menu - View commit details
-
Copy full SHA for a6339ab - Browse repository at this point
Copy the full SHA a6339abView commit details
Commits on Dec 31, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 54ade7a - Browse repository at this point
Copy the full SHA 54ade7aView commit details
Commits on Feb 24, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 08b6406 - Browse repository at this point
Copy the full SHA 08b6406View commit details
Commits on Mar 1, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 5ef4636 - Browse repository at this point
Copy the full SHA 5ef4636View commit details
Commits on Mar 7, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 712e526 - Browse repository at this point
Copy the full SHA 712e526View commit details
Commits on Mar 15, 2016
-
Merge pull request #1029 from petkaantonov/run-coroutine-yields-in-fi…
…nally-blocks Continue coroutine execution of finally blocks when cancelled
Configuration menu - View commit details
-
Copy full SHA for 02e2647 - Browse repository at this point
Copy the full SHA 02e2647View commit details -
Merge pull request #1017 from Shashwat986/master
Version Locking Sanitize. Using .fragment instead of (deprecated) .clean
Configuration menu - View commit details
-
Copy full SHA for 7640953 - Browse repository at this point
Copy the full SHA 7640953View commit details
Commits on Mar 16, 2016
-
Configuration menu - View commit details
-
Copy full SHA for a4f691d - Browse repository at this point
Copy the full SHA a4f691dView commit details
Commits on Mar 17, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d4c9b82 - Browse repository at this point
Copy the full SHA d4c9b82View commit details -
Merge pull request #1046 from MattiasBuelens/docs-fix-promiseinspecti…
…on-pending Fix typo in PromiseInspection API documentation.
Configuration menu - View commit details
-
Copy full SHA for 0c5d03a - Browse repository at this point
Copy the full SHA 0c5d03aView commit details
Commits on Mar 20, 2016
-
Alex Plescan committed
Mar 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 58dd5f1 - Browse repository at this point
Copy the full SHA 58dd5f1View commit details -
Merge pull request #1048 from alexpls/patch-1
Fixes typo in documentation
Configuration menu - View commit details
-
Copy full SHA for 5bffd55 - Browse repository at this point
Copy the full SHA 5bffd55View commit details
Commits on Mar 21, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ebc0bb7 - Browse repository at this point
Copy the full SHA ebc0bb7View commit details -
Merge pull request #1050 from sethcardoza/patch-1
Update promise.bind.md
Configuration menu - View commit details
-
Copy full SHA for 1192ff3 - Browse repository at this point
Copy the full SHA 1192ff3View commit details
Commits on Mar 29, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 93d38c1 - Browse repository at this point
Copy the full SHA 93d38c1View commit details -
Comparator used by getOptionalRequireCode() should be consistent.
iamstolis@github.com committedMar 29, 2016 Configuration menu - View commit details
-
Copy full SHA for 8e2e62a - Browse repository at this point
Copy the full SHA 8e2e62aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33b570f - Browse repository at this point
Copy the full SHA 33b570fView commit details
Commits on Apr 7, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b7731a8 - Browse repository at this point
Copy the full SHA b7731a8View commit details
Commits on Apr 8, 2016
-
Merge pull request #1066 from mperham/patch-1
Fix code formatting
Configuration menu - View commit details
-
Copy full SHA for 9c10389 - Browse repository at this point
Copy the full SHA 9c10389View commit details
Commits on Apr 11, 2016
-
Added the fact that one can return a value or a promise from a catch() to recover from a failure.
Configuration menu - View commit details
-
Copy full SHA for ca65330 - Browse repository at this point
Copy the full SHA ca65330View commit details -
Merge pull request #1067 from vladimirkosmala/patch-1
Update catch.md
Configuration menu - View commit details
-
Copy full SHA for 53aa90a - Browse repository at this point
Copy the full SHA 53aa90aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a125917 - Browse repository at this point
Copy the full SHA a125917View commit details
Commits on Apr 12, 2016
-
Merge pull request #1060 from JimiHFord/patch-1
Update promise.join.md
Configuration menu - View commit details
-
Copy full SHA for fc7f67e - Browse repository at this point
Copy the full SHA fc7f67eView commit details -
Merge pull request #1058 from iamstolis/inconsistent-comparator
Comparator used by getOptionalRequireCode() should be consistent.
Configuration menu - View commit details
-
Copy full SHA for 92cd54f - Browse repository at this point
Copy the full SHA 92cd54fView commit details -
Merge pull request #1056 from kbrgl/patch-1
Fix typo in support.md
Configuration menu - View commit details
-
Copy full SHA for 8904508 - Browse repository at this point
Copy the full SHA 8904508View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d00cde - Browse repository at this point
Copy the full SHA 7d00cdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a58f8 - Browse repository at this point
Copy the full SHA f2a58f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8e580c - Browse repository at this point
Copy the full SHA b8e580cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee247f1 - Browse repository at this point
Copy the full SHA ee247f1View commit details
Commits on Apr 15, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 3039da8 - Browse repository at this point
Copy the full SHA 3039da8View commit details -
throw people to the pit of success
Emphasize filtered catch is a much much better alternative most of the time
Configuration menu - View commit details
-
Copy full SHA for 086eba8 - Browse repository at this point
Copy the full SHA 086eba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 530891a - Browse repository at this point
Copy the full SHA 530891aView commit details -
promise.resolve.md - static->promise example
Based this on the Promise.method. Not sure if that was a special case. Also, not sure of my jQuery example description. It probably needs a clearer description in any case. Is it just casting a jQuery then-able not-quite-promise to a Bluebird promise? Special for jQuery or is this for any then-able object, say from another Promise library?
Configuration menu - View commit details
-
Copy full SHA for 4a1e5aa - Browse repository at this point
Copy the full SHA 4a1e5aaView commit details
Commits on Apr 16, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ae30c58 - Browse repository at this point
Copy the full SHA ae30c58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bbb2e5 - Browse repository at this point
Copy the full SHA 3bbb2e5View commit details -
Merge pull request #1069 from jghaines/patch-2
Clarified the 'handler' function
Configuration menu - View commit details
-
Copy full SHA for b5f6395 - Browse repository at this point
Copy the full SHA b5f6395View commit details
Commits on Apr 27, 2016
-
Replaced Promise.each with Promise.mapSeries
The serial version of map() isn’t each(), it’s mapSeries() – i.e., if you want to replace a piece of code that doesn’t fail when certain promises in an array fail but you want to maintain the order of promise execution, you should use mapSeries(). e.g., ``` Promise.map(inspections, ((inspection) -> return inspection().reflect()), {concurrency: 1}) .then (inspection) -> console.log "\nResults:\n" inspection .each (inspection) -> if inspection.isFulfilled() console.log " ✅ #{inspection.value()}" else console.log " ❌ #{inspection.reason().message}" ``` In the above code, replace .map() with .mapSeries() and you will get the desired effect. Replace it with .each(), as previously suggested and you won’t. Also removed the broken sentence "This makes sense because the order of the even with the `{concurrency: 1}`." as it doesn’t make grammatical sense and I’m not sure it adds anything to understanding the problem and find the alternative sooner.
Configuration menu - View commit details
-
Copy full SHA for fb9ff28 - Browse repository at this point
Copy the full SHA fb9ff28View commit details -
Merge pull request #1081 from aral/patch-1
Replaced Promise.each with Promise.mapSeries
Configuration menu - View commit details
-
Copy full SHA for 067fa93 - Browse repository at this point
Copy the full SHA 067fa93View commit details
Commits on May 4, 2016
-
function name(promptPromise) in doc was wrong
Ilkin Baskan committedMay 4, 2016 Configuration menu - View commit details
-
Copy full SHA for d1c7abb - Browse repository at this point
Copy the full SHA d1c7abbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 838833b - Browse repository at this point
Copy the full SHA 838833bView commit details
Commits on May 6, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d4cc1c0 - Browse repository at this point
Copy the full SHA d4cc1c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for be07183 - Browse repository at this point
Copy the full SHA be07183View commit details
Commits on May 8, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 7bed082 - Browse repository at this point
Copy the full SHA 7bed082View commit details -
Merge pull request #1093 from 1egoman/patch-1
Fix forgotten punctuation
Configuration menu - View commit details
-
Copy full SHA for d589d17 - Browse repository at this point
Copy the full SHA d589d17View commit details -
Merge pull request #1092 from strawbrary/patch-1
2 fixes for warning explanation docs
Configuration menu - View commit details
-
Copy full SHA for c0d4472 - Browse repository at this point
Copy the full SHA c0d4472View commit details
Commits on May 16, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 6076101 - Browse repository at this point
Copy the full SHA 6076101View commit details
Commits on May 17, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 7692c81 - Browse repository at this point
Copy the full SHA 7692c81View commit details
There are no files selected for viewing