mirror of
https://github.com/flynx/types.js.git
synced 2025-10-29 02:20:07 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8965fdacd2
commit
b51d9bced9
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-types",
|
||||
"version": "5.0.11",
|
||||
"version": "5.0.12",
|
||||
"description": "Generic JavaScript types and type extensions...",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@ -378,6 +378,9 @@ module.TaskManager =
|
||||
object.Constructor('TaskManager', Array, events.EventMixin('flat', {
|
||||
sync_start: false,
|
||||
|
||||
__task_ticket__: TaskTicket,
|
||||
|
||||
|
||||
//
|
||||
// .titled(title)
|
||||
// .titled(title, ..)
|
||||
@ -494,7 +497,7 @@ object.Constructor('TaskManager', Array, events.EventMixin('flat', {
|
||||
run = function(){
|
||||
var res =
|
||||
task(
|
||||
TaskTicket(title, resolve, reject, onmessage),
|
||||
that.__task_ticket__(title, resolve, reject, onmessage),
|
||||
...args)
|
||||
// NOTE: if the client calls resolve(..) this
|
||||
// second resolve(..) call has no effect,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user