mirror of
https://github.com/flynx/types.js.git
synced 2025-12-19 09:51:40 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d18823c6a5
commit
fc3d0b849d
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-types",
|
||||
"version": "5.0.36",
|
||||
"version": "5.0.37",
|
||||
"description": "Generic JavaScript types and type extensions...",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@ -122,7 +122,6 @@ object.Constructor('Queue', Array, {
|
||||
runtime_stats: true,
|
||||
|
||||
|
||||
|
||||
//
|
||||
// This can be:
|
||||
// 'running'
|
||||
@ -145,7 +144,7 @@ object.Constructor('Queue', Array, {
|
||||
// XXX would be nice to run a specific number of tasks and stop...
|
||||
start: events.Event('start', function(handle, sync){
|
||||
// can't start while running...
|
||||
if(this.state == 'running'){
|
||||
if(this.__state == 'running'){
|
||||
return handle(false) }
|
||||
this.__state = 'running'
|
||||
this.__run_tasks__(sync) }),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user