diff --git a/CHANGES.md b/CHANGES.md index c8f652a..27f38a6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,10 @@ -* **2013.01.31** - *v0.9.14* +* **2013.02.09** - *v0.9.15* + * Rewriting of some of the Task prototype property descriptors + +* **2013.02.07** - *v0.9.14* * Fixed an issue where unreferenced `tasks` attribute was not being instantiated for the `initialize` method with use of `addSubTask` * Fixed issue with tasks being processed in parallel task before the task had been started + * **2013.01.31** - *v0.9.13* * `onChange` is no longer a public method * Tasks now have events and can be referenced through `on`, `off`, `has` and `trigger` methods of the task diff --git a/docs/classes/MonkeyBars.html b/docs/classes/MonkeyBars.html index 0d4efdf..7ec4641 100644 --- a/docs/classes/MonkeyBars.html +++ b/docs/classes/MonkeyBars.html @@ -1143,7 +1143,7 @@
forTaskDecorator
../temp/monkeybars.js:1903
+ ../temp/monkeybars.js:1952
@@ -1750,7 +1750,7 @@ whenTaskDecorator
../temp/monkeybars.js:1956
+ ../temp/monkeybars.js:2005
@@ -1839,7 +1839,7 @@ whileTaskDecorator
../temp/monkeybars.js:1927
+ ../temp/monkeybars.js:1976
@@ -1918,7 +1918,7 @@ LogLevels
../temp/monkeybars.js:2008
+ ../temp/monkeybars.js:2057
@@ -2146,7 +2146,7 @@ TaskStates
../temp/monkeybars.js:1980
+ ../temp/monkeybars.js:2029
@@ -2192,7 +2192,7 @@ TaskTypes
../temp/monkeybars.js:1995
+ ../temp/monkeybars.js:2044
diff --git a/docs/classes/ParallelTask.html b/docs/classes/ParallelTask.html
index c8954d8..74bf255 100644
--- a/docs/classes/ParallelTask.html
+++ b/docs/classes/ParallelTask.html
@@ -106,7 +106,7 @@ ../temp/monkeybars.js:1565
+ Defined in: ../temp/monkeybars.js:1607
ParallelTask
../temp/monkeybars.js:1565
+ ../temp/monkeybars.js:1607
@@ -637,7 +637,7 @@ __onStateChange
../temp/monkeybars.js:856
+ ../temp/monkeybars.js:859
@@ -740,7 +740,7 @@ addSubTask
../temp/monkeybars.js:1612
+ ../temp/monkeybars.js:1654
@@ -832,7 +832,7 @@ addSubTaskAfterTask
../temp/monkeybars.js:1281
+ ../temp/monkeybars.js:1295
@@ -950,7 +950,7 @@ addSubTaskBeforeTask
../temp/monkeybars.js:1312
+ ../temp/monkeybars.js:1326
@@ -1043,7 +1043,7 @@ cancel
../temp/monkeybars.js:1338
+ ../temp/monkeybars.js:1352
@@ -1101,7 +1101,7 @@ canProcessSubTask
../temp/monkeybars.js:1635
+ ../temp/monkeybars.js:1677
@@ -1181,7 +1181,7 @@ complete
../temp/monkeybars.js:906
+ ../temp/monkeybars.js:910
@@ -1284,7 +1284,7 @@ destroy
../temp/monkeybars.js:948
+ ../temp/monkeybars.js:953
@@ -1345,7 +1345,7 @@ fault
../temp/monkeybars.js:980
+ ../temp/monkeybars.js:985
@@ -1451,7 +1451,7 @@ getTaskByName
../temp/monkeybars.js:1364
+ ../temp/monkeybars.js:1378
@@ -1552,7 +1552,7 @@ getTaskByTid
../temp/monkeybars.js:1382
+ ../temp/monkeybars.js:1396
@@ -1759,7 +1759,7 @@ hasNoEnabledSubTasks
../temp/monkeybars.js:1678
+ ../temp/monkeybars.js:1722
@@ -1833,7 +1833,7 @@ initialize
../temp/monkeybars.js:1015
+ ../temp/monkeybars.js:1020
@@ -2159,7 +2159,7 @@ onCancel
../temp/monkeybars.js:1025
+ ../temp/monkeybars.js:1031
@@ -2210,7 +2210,7 @@ onComplete
../temp/monkeybars.js:1034
+ ../temp/monkeybars.js:1041
@@ -2271,7 +2271,7 @@ onFault
../temp/monkeybars.js:1043
+ ../temp/monkeybars.js:1051
@@ -2345,7 +2345,7 @@ onStart
../temp/monkeybars.js:1053
+ ../temp/monkeybars.js:1062
@@ -2406,7 +2406,7 @@ onSubTaskCancel
../temp/monkeybars.js:1405
+ ../temp/monkeybars.js:1419
@@ -2494,7 +2494,7 @@ onSubTaskComplete
../temp/monkeybars.js:1699
+ ../temp/monkeybars.js:1743
@@ -2586,7 +2586,7 @@ onSubTaskFault
../temp/monkeybars.js:1436
+ ../temp/monkeybars.js:1452
@@ -2691,7 +2691,7 @@ operate
../temp/monkeybars.js:1062
+ ../temp/monkeybars.js:1072
@@ -2783,7 +2783,7 @@ performTask
../temp/monkeybars.js:1717
+ ../temp/monkeybars.js:1762
@@ -2849,7 +2849,7 @@ processSubTask
../temp/monkeybars.js:1734
+ ../temp/monkeybars.js:1780
@@ -2929,7 +2929,7 @@ processSubTasks
../temp/monkeybars.js:1751
+ ../temp/monkeybars.js:1797
@@ -2990,7 +2990,7 @@ removeSubTask
../temp/monkeybars.js:1500
+ ../temp/monkeybars.js:1517
@@ -3068,7 +3068,7 @@ reset
../temp/monkeybars.js:1517
+ ../temp/monkeybars.js:1534
@@ -3129,7 +3129,7 @@ setDependeciesForTask
../temp/monkeybars.js:1535
+ ../temp/monkeybars.js:1552
@@ -3203,7 +3203,7 @@ start
../temp/monkeybars.js:1110
+ ../temp/monkeybars.js:1122
@@ -3259,7 +3259,7 @@ state
../temp/monkeybars.js:1144
+ ../temp/monkeybars.js:1157
@@ -3409,7 +3409,7 @@ _currentIndex
../temp/monkeybars.js:1213
+ ../temp/monkeybars.js:1227
@@ -3452,7 +3452,7 @@ _dependencyMap
../temp/monkeybars.js:1202
+ ../temp/monkeybars.js:1215
@@ -3538,7 +3538,7 @@ _processedIndex
../temp/monkeybars.js:1225
+ ../temp/monkeybars.js:1239
@@ -3622,7 +3622,7 @@ concurrent
../temp/monkeybars.js:776
+ ../temp/monkeybars.js:777
@@ -3665,7 +3665,7 @@ displayName
../temp/monkeybars.js:962
+ ../temp/monkeybars.js:967
@@ -3706,7 +3706,7 @@ logLevel
../temp/monkeybars.js:787
+ ../temp/monkeybars.js:789
@@ -3749,7 +3749,7 @@ timeout
../temp/monkeybars.js:799
+ ../temp/monkeybars.js:801
@@ -3795,7 +3795,7 @@ type
../temp/monkeybars.js:1597
+ ../temp/monkeybars.js:1639
@@ -3836,7 +3836,7 @@ worker
../temp/monkeybars.js:822
+ ../temp/monkeybars.js:824
diff --git a/docs/classes/SequenceTask.html b/docs/classes/SequenceTask.html
index 62067c1..0afacbb 100644
--- a/docs/classes/SequenceTask.html
+++ b/docs/classes/SequenceTask.html
@@ -106,7 +106,7 @@ ../temp/monkeybars.js:1774
+ Defined in: ../temp/monkeybars.js:1820
SequenceTask
../temp/monkeybars.js:1774
+ ../temp/monkeybars.js:1820
@@ -623,7 +623,7 @@ __onStateChange
../temp/monkeybars.js:856
+ ../temp/monkeybars.js:859
@@ -723,7 +723,7 @@ addSubTask
../temp/monkeybars.js:1245
+ ../temp/monkeybars.js:1259
@@ -837,7 +837,7 @@ addSubTaskAfterTask
../temp/monkeybars.js:1281
+ ../temp/monkeybars.js:1295
@@ -955,7 +955,7 @@ addSubTaskBeforeTask
../temp/monkeybars.js:1312
+ ../temp/monkeybars.js:1326
@@ -1048,7 +1048,7 @@ cancel
../temp/monkeybars.js:1338
+ ../temp/monkeybars.js:1352
@@ -1115,7 +1115,7 @@ complete
../temp/monkeybars.js:906
+ ../temp/monkeybars.js:910
@@ -1218,7 +1218,7 @@ destroy
../temp/monkeybars.js:948
+ ../temp/monkeybars.js:953
@@ -1279,7 +1279,7 @@ fault
../temp/monkeybars.js:980
+ ../temp/monkeybars.js:985
@@ -1385,7 +1385,7 @@ getTaskByName
../temp/monkeybars.js:1364
+ ../temp/monkeybars.js:1378
@@ -1486,7 +1486,7 @@ getTaskByTid
../temp/monkeybars.js:1382
+ ../temp/monkeybars.js:1396
@@ -1696,7 +1696,7 @@ initialize
../temp/monkeybars.js:1015
+ ../temp/monkeybars.js:1020
@@ -2022,7 +2022,7 @@ onCancel
../temp/monkeybars.js:1025
+ ../temp/monkeybars.js:1031
@@ -2073,7 +2073,7 @@ onComplete
../temp/monkeybars.js:1034
+ ../temp/monkeybars.js:1041
@@ -2134,7 +2134,7 @@ onFault
../temp/monkeybars.js:1043
+ ../temp/monkeybars.js:1051
@@ -2208,7 +2208,7 @@ onStart
../temp/monkeybars.js:1053
+ ../temp/monkeybars.js:1062
@@ -2272,7 +2272,7 @@ onSubTaskCancel
../temp/monkeybars.js:1821
+ ../temp/monkeybars.js:1867
@@ -2360,7 +2360,7 @@ onSubTaskComplete
../temp/monkeybars.js:1837
+ ../temp/monkeybars.js:1884
@@ -2451,7 +2451,7 @@ onSubTaskFault
../temp/monkeybars.js:1436
+ ../temp/monkeybars.js:1452
@@ -2556,7 +2556,7 @@ operate
../temp/monkeybars.js:1062
+ ../temp/monkeybars.js:1072
@@ -2658,7 +2658,7 @@ performTask
../temp/monkeybars.js:1858
+ ../temp/monkeybars.js:1906
@@ -2743,7 +2743,7 @@ processSubTask
../temp/monkeybars.js:1449
+ ../temp/monkeybars.js:1466
@@ -2830,7 +2830,7 @@ removeSubTask
../temp/monkeybars.js:1500
+ ../temp/monkeybars.js:1517
@@ -2908,7 +2908,7 @@ reset
../temp/monkeybars.js:1517
+ ../temp/monkeybars.js:1534
@@ -2969,7 +2969,7 @@ setDependeciesForTask
../temp/monkeybars.js:1535
+ ../temp/monkeybars.js:1552
@@ -3043,7 +3043,7 @@ start
../temp/monkeybars.js:1110
+ ../temp/monkeybars.js:1122
@@ -3098,7 +3098,7 @@ startNextSubTask
../temp/monkeybars.js:1871
+ ../temp/monkeybars.js:1920
@@ -3153,7 +3153,7 @@ state
../temp/monkeybars.js:1144
+ ../temp/monkeybars.js:1157
@@ -3303,7 +3303,7 @@ _currentIndex
../temp/monkeybars.js:1213
+ ../temp/monkeybars.js:1227
@@ -3346,7 +3346,7 @@ _dependencyMap
../temp/monkeybars.js:1202
+ ../temp/monkeybars.js:1215
@@ -3432,7 +3432,7 @@ _processedIndex
../temp/monkeybars.js:1225
+ ../temp/monkeybars.js:1239
@@ -3516,7 +3516,7 @@ concurrent
../temp/monkeybars.js:776
+ ../temp/monkeybars.js:777
@@ -3559,7 +3559,7 @@ displayName
../temp/monkeybars.js:962
+ ../temp/monkeybars.js:967
@@ -3600,7 +3600,7 @@ logLevel
../temp/monkeybars.js:787
+ ../temp/monkeybars.js:789
@@ -3643,7 +3643,7 @@ timeout
../temp/monkeybars.js:799
+ ../temp/monkeybars.js:801
@@ -3689,7 +3689,7 @@ type
../temp/monkeybars.js:1806
+ ../temp/monkeybars.js:1852
@@ -3730,7 +3730,7 @@ worker
../temp/monkeybars.js:822
+ ../temp/monkeybars.js:824
diff --git a/docs/classes/Task.html b/docs/classes/Task.html
index 4b4001e..0e3ced6 100644
--- a/docs/classes/Task.html
+++ b/docs/classes/Task.html
@@ -529,7 +529,7 @@ __onStateChange
../temp/monkeybars.js:856
+ ../temp/monkeybars.js:859
@@ -622,7 +622,7 @@ cancel
../temp/monkeybars.js:873
+ ../temp/monkeybars.js:877
@@ -709,7 +709,7 @@ complete
../temp/monkeybars.js:906
+ ../temp/monkeybars.js:910
@@ -815,7 +815,7 @@ destroy
../temp/monkeybars.js:948
+ ../temp/monkeybars.js:953
@@ -879,7 +879,7 @@ fault
../temp/monkeybars.js:980
+ ../temp/monkeybars.js:985
@@ -1085,7 +1085,7 @@ initialize
../temp/monkeybars.js:1015
+ ../temp/monkeybars.js:1020
@@ -1414,7 +1414,7 @@ onCancel
../temp/monkeybars.js:1025
+ ../temp/monkeybars.js:1031
@@ -1468,7 +1468,7 @@ onComplete
../temp/monkeybars.js:1034
+ ../temp/monkeybars.js:1041
@@ -1532,7 +1532,7 @@ onFault
../temp/monkeybars.js:1043
+ ../temp/monkeybars.js:1051
@@ -1609,7 +1609,7 @@ onStart
../temp/monkeybars.js:1053
+ ../temp/monkeybars.js:1062
@@ -1679,7 +1679,7 @@ operate
../temp/monkeybars.js:1062
+ ../temp/monkeybars.js:1072
@@ -1771,7 +1771,7 @@ performTask
../temp/monkeybars.js:1074
+ ../temp/monkeybars.js:1085
@@ -1844,7 +1844,7 @@ reset
../temp/monkeybars.js:1098
+ ../temp/monkeybars.js:1110
@@ -1898,7 +1898,7 @@ start
../temp/monkeybars.js:1110
+ ../temp/monkeybars.js:1122
@@ -1957,7 +1957,7 @@ state
../temp/monkeybars.js:1144
+ ../temp/monkeybars.js:1157
@@ -2197,7 +2197,7 @@ concurrent
../temp/monkeybars.js:776
+ ../temp/monkeybars.js:777
@@ -2243,7 +2243,7 @@ displayName
../temp/monkeybars.js:962
+ ../temp/monkeybars.js:967
@@ -2287,7 +2287,7 @@ logLevel
../temp/monkeybars.js:787
+ ../temp/monkeybars.js:789
@@ -2333,7 +2333,7 @@ timeout
../temp/monkeybars.js:799
+ ../temp/monkeybars.js:801
@@ -2379,7 +2379,7 @@ type
../temp/monkeybars.js:811
+ ../temp/monkeybars.js:813
@@ -2423,7 +2423,7 @@ worker
../temp/monkeybars.js:822
+ ../temp/monkeybars.js:824
diff --git a/docs/classes/TaskGroup.html b/docs/classes/TaskGroup.html
index 46c8f4f..fc71600 100644
--- a/docs/classes/TaskGroup.html
+++ b/docs/classes/TaskGroup.html
@@ -106,7 +106,7 @@ ../temp/monkeybars.js:1164
+ Defined in: ../temp/monkeybars.js:1177
TaskGroup
../temp/monkeybars.js:1164
+ ../temp/monkeybars.js:1177
@@ -596,7 +596,7 @@ __onStateChange
../temp/monkeybars.js:856
+ ../temp/monkeybars.js:859
@@ -699,7 +699,7 @@ addSubTask
../temp/monkeybars.js:1245
+ ../temp/monkeybars.js:1259
@@ -816,7 +816,7 @@ addSubTaskAfterTask
../temp/monkeybars.js:1281
+ ../temp/monkeybars.js:1295
@@ -937,7 +937,7 @@ addSubTaskBeforeTask
../temp/monkeybars.js:1312
+ ../temp/monkeybars.js:1326
@@ -1030,7 +1030,7 @@ cancel
../temp/monkeybars.js:1338
+ ../temp/monkeybars.js:1352
@@ -1097,7 +1097,7 @@ complete
../temp/monkeybars.js:906
+ ../temp/monkeybars.js:910
@@ -1200,7 +1200,7 @@ destroy
../temp/monkeybars.js:948
+ ../temp/monkeybars.js:953
@@ -1261,7 +1261,7 @@ fault
../temp/monkeybars.js:980
+ ../temp/monkeybars.js:985
@@ -1370,7 +1370,7 @@ getTaskByName
../temp/monkeybars.js:1364
+ ../temp/monkeybars.js:1378
@@ -1474,7 +1474,7 @@ getTaskByTid
../temp/monkeybars.js:1382
+ ../temp/monkeybars.js:1396
@@ -1684,7 +1684,7 @@ initialize
../temp/monkeybars.js:1015
+ ../temp/monkeybars.js:1020
@@ -2010,7 +2010,7 @@ onCancel
../temp/monkeybars.js:1025
+ ../temp/monkeybars.js:1031
@@ -2061,7 +2061,7 @@ onComplete
../temp/monkeybars.js:1034
+ ../temp/monkeybars.js:1041
@@ -2122,7 +2122,7 @@ onFault
../temp/monkeybars.js:1043
+ ../temp/monkeybars.js:1051
@@ -2196,7 +2196,7 @@ onStart
../temp/monkeybars.js:1053
+ ../temp/monkeybars.js:1062
@@ -2260,7 +2260,7 @@ onSubTaskCancel
../temp/monkeybars.js:1405
+ ../temp/monkeybars.js:1419
@@ -2348,7 +2348,7 @@ onSubTaskComplete
../temp/monkeybars.js:1423
+ ../temp/monkeybars.js:1438
@@ -2442,7 +2442,7 @@ onSubTaskFault
../temp/monkeybars.js:1436
+ ../temp/monkeybars.js:1452
@@ -2547,7 +2547,7 @@ operate
../temp/monkeybars.js:1062
+ ../temp/monkeybars.js:1072
@@ -2636,7 +2636,7 @@ performTask
../temp/monkeybars.js:1074
+ ../temp/monkeybars.js:1085
@@ -2719,7 +2719,7 @@ processSubTask
../temp/monkeybars.js:1449
+ ../temp/monkeybars.js:1466
@@ -2809,7 +2809,7 @@ removeSubTask
../temp/monkeybars.js:1500
+ ../temp/monkeybars.js:1517
@@ -2887,7 +2887,7 @@ reset
../temp/monkeybars.js:1517
+ ../temp/monkeybars.js:1534
@@ -2951,7 +2951,7 @@ setDependeciesForTask
../temp/monkeybars.js:1535
+ ../temp/monkeybars.js:1552
@@ -3025,7 +3025,7 @@ start
../temp/monkeybars.js:1110
+ ../temp/monkeybars.js:1122
@@ -3081,7 +3081,7 @@ state
../temp/monkeybars.js:1144
+ ../temp/monkeybars.js:1157
@@ -3234,7 +3234,7 @@ _currentIndex
../temp/monkeybars.js:1213
+ ../temp/monkeybars.js:1227
@@ -3280,7 +3280,7 @@ _dependencyMap
../temp/monkeybars.js:1202
+ ../temp/monkeybars.js:1215
@@ -3369,7 +3369,7 @@ _processedIndex
../temp/monkeybars.js:1225
+ ../temp/monkeybars.js:1239
@@ -3453,7 +3453,7 @@ concurrent
../temp/monkeybars.js:776
+ ../temp/monkeybars.js:777
@@ -3496,7 +3496,7 @@ displayName
../temp/monkeybars.js:962
+ ../temp/monkeybars.js:967
@@ -3537,7 +3537,7 @@ logLevel
../temp/monkeybars.js:787
+ ../temp/monkeybars.js:789
@@ -3580,7 +3580,7 @@ timeout
../temp/monkeybars.js:799
+ ../temp/monkeybars.js:801
@@ -3623,7 +3623,7 @@ type
../temp/monkeybars.js:811
+ ../temp/monkeybars.js:813
@@ -3664,7 +3664,7 @@ worker
../temp/monkeybars.js:822
+ ../temp/monkeybars.js:824
diff --git a/docs/data.json b/docs/data.json
index a822901..5170a1a 100644
--- a/docs/data.json
+++ b/docs/data.json
@@ -110,7 +110,7 @@
"plugin_for": [],
"extension_for": [],
"file": "../temp/monkeybars.js",
- "line": 1164,
+ "line": 1177,
"description": "A task group, and extention of task, provides the building blocks for creating\na group of tasks that is inherently a task itself.",
"extends": "Task",
"is_constructor": 1,
@@ -131,7 +131,7 @@
"plugin_for": [],
"extension_for": [],
"file": "../temp/monkeybars.js",
- "line": 1565,
+ "line": 1607,
"description": "A ParallelTask is a TaskGroup that runs all of its subtasks ansynchronously. Its\ncomplete functionality is run when all of its sub tasks are complete.",
"extends": "TaskGroup",
"is_constructor": 1,
@@ -155,7 +155,7 @@
"plugin_for": [],
"extension_for": [],
"file": "../temp/monkeybars.js",
- "line": 1774,
+ "line": 1820,
"description": "A SequenceTask is a TaskGroup that runs all of its subtasks serially. Its\ncomplete functionality is run when all of its sub tasks are complete.",
"extends": "TaskGroup",
"is_constructor": 1,
@@ -656,7 +656,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 776,
+ "line": 777,
"description": "Whether or not to run the task concurrently through Web Workers",
"itemtype": "property",
"name": "concurrent",
@@ -666,7 +666,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 787,
+ "line": 789,
"description": "The default logging level for tasks",
"itemtype": "property",
"name": "logLevel",
@@ -676,7 +676,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 799,
+ "line": 801,
"description": "Time in milliseconds in which a task will time out and throw a fault",
"itemtype": "property",
"name": "timeout",
@@ -686,7 +686,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 811,
+ "line": 813,
"description": "The kind of task",
"itemtype": "property",
"name": "type",
@@ -696,7 +696,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 822,
+ "line": 824,
"description": "This object can either be simply a reference to a custom WorkerTask extention's\nconstructor. Or it can be an object with a constructor key/value pair. If it is the\nlatter then you also have the option of passing a handler function that will be run\non the `onMessage` handler of the Worker itself.",
"itemtype": "property",
"name": "worker",
@@ -709,7 +709,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 856,
+ "line": 859,
"description": "This method is called during the execution lifecycle of the task. It is intentionally\nleft blank and is up to the instance to describe it functionality.",
"itemtype": "method",
"name": "__onStateChange",
@@ -731,7 +731,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 873,
+ "line": 877,
"description": "Calling this method cancels the task. However it is up to the instance to handle\nthe canceled state.",
"itemtype": "method",
"name": "cancel",
@@ -742,7 +742,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 906,
+ "line": 910,
"description": "Calling this method says that the tasks execution is now complete.",
"itemtype": "method",
"name": "complete",
@@ -765,14 +765,14 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 948,
+ "line": 953,
"itemtype": "method",
"name": "destroy",
"class": "Task"
},
{
"file": "../temp/monkeybars.js",
- "line": 962,
+ "line": 967,
"description": "Display name for task. Used in logging output.",
"itemtype": "property",
"name": "displayName",
@@ -786,7 +786,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 980,
+ "line": 985,
"description": "Calling this method to fault a task. If it is part of a group task this will\nalso call the groups fault method passing the error up to the group.",
"itemtype": "method",
"name": "fault",
@@ -804,7 +804,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1015,
+ "line": 1020,
"description": "Initialization functionality",
"itemtype": "method",
"name": "initialize",
@@ -819,7 +819,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1025,
+ "line": 1031,
"description": "Convenience method called when the task is canceled.",
"itemtype": "method",
"name": "onCancel",
@@ -827,7 +827,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1034,
+ "line": 1041,
"description": "Convenience method called when the task completes.",
"itemtype": "method",
"name": "onComplete",
@@ -835,7 +835,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1043,
+ "line": 1051,
"description": "Convenience method called when the task faults.",
"itemtype": "method",
"name": "onFault",
@@ -850,7 +850,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1053,
+ "line": 1062,
"description": "Convenience method called when the task starts.",
"itemtype": "method",
"name": "onStart",
@@ -858,7 +858,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1062,
+ "line": 1072,
"itemtype": "method",
"name": "operate",
"params": [
@@ -877,7 +877,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1074,
+ "line": 1085,
"description": "This method is required for **simple** tasks and will throw an exception if it\nis called and not overridden. If you overwrite this method on a task group\nthen you need to make sure that you call the extended/implemented classes\noriginal prototype method (see the example below).",
"itemtype": "method",
"name": "performTask",
@@ -889,7 +889,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1098,
+ "line": 1110,
"description": "Resets a task to its original state",
"itemtype": "method",
"name": "reset",
@@ -897,7 +897,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1110,
+ "line": 1122,
"description": "Kicks off the execution of the task by calling the tasks `performTask` method.\nThis method can only be run once on a task.",
"itemtype": "method",
"name": "start",
@@ -905,7 +905,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1144,
+ "line": 1157,
"description": "Getter for the tasks current state. Code outside of an implementation should not set the \nstate as this is an internal property.",
"itemtype": "method",
"name": "state",
@@ -917,7 +917,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1202,
+ "line": 1215,
"description": "Holds all references to event types, callbacks, contexts and configurations.",
"itemtype": "property",
"name": "_dependencyMap",
@@ -928,7 +928,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1213,
+ "line": 1227,
"description": "The index of the subtasks that have completed execution.",
"itemtype": "property",
"name": "_currentIndex",
@@ -939,7 +939,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1225,
+ "line": 1239,
"description": "An incrimented number of the tasks that have already been processed.",
"itemtype": "property",
"name": "_processedIndex",
@@ -950,7 +950,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1245,
+ "line": 1259,
"description": "Adds a subtask to the groups queue. This is helpful when you want to add\na sub task after instantiation.",
"itemtype": "method",
"name": "addSubTask",
@@ -968,7 +968,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1281,
+ "line": 1295,
"description": "Adds a subtask after another task",
"itemtype": "method",
"name": "addSubTaskAfterTask",
@@ -991,7 +991,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1312,
+ "line": 1326,
"description": "Very similar to `addSubTaskAfterTask` except the inject task appears\nbefore the second arguments position.",
"itemtype": "method",
"name": "addSubTaskBeforeTask",
@@ -1011,7 +1011,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1338,
+ "line": 1352,
"description": "Cancel the group and cancel all of its subtasks",
"itemtype": "method",
"name": "cancel",
@@ -1019,7 +1019,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1364,
+ "line": 1378,
"description": "Return a Task object, if it exists, based on the `name` passed.",
"itemtype": "method",
"name": "getTaskByName",
@@ -1038,7 +1038,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1382,
+ "line": 1396,
"description": "Return a Task object, if it exists, based on the `tid` passed.",
"itemtype": "method",
"name": "getTaskByTid",
@@ -1060,7 +1060,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1405,
+ "line": 1419,
"description": "Called when a subtask calls its cancel method. When a subtask is canceled\nany other subtasks that are dependent on the canceled task are cancled.",
"itemtype": "method",
"name": "onSubTaskCancel",
@@ -1075,7 +1075,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1423,
+ "line": 1438,
"description": "Called when a sub task completes. Must be overridden with functionality\nprovided by the extending class.",
"itemtype": "method",
"name": "onSubTaskComplete",
@@ -1090,7 +1090,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1436,
+ "line": 1452,
"description": "Called when a subtask calls its fault method.",
"itemtype": "method",
"name": "onSubTaskFault",
@@ -1110,7 +1110,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1449,
+ "line": 1466,
"description": "Processes a sub task and prepares it for execution. This method overwrites the\ntasks on change functionality. If you wish to have a sub task that handles\nits own change functionality then you will need to implement the partner\nconvenience methods.",
"itemtype": "method",
"name": "processSubTask",
@@ -1125,7 +1125,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1500,
+ "line": 1517,
"description": "Removes a task from its group. Removing the task after it has executed will\nhave no apparent affect as it has already ran.",
"itemtype": "method",
"name": "removeSubTask",
@@ -1140,7 +1140,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1517,
+ "line": 1534,
"description": "Resets a task to its original state",
"itemtype": "method",
"name": "reset",
@@ -1148,7 +1148,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1535,
+ "line": 1552,
"description": "Sets dependencies for the passed task.",
"itemtype": "method",
"name": "setDependeciesForTask",
@@ -1163,7 +1163,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1597,
+ "line": 1639,
"description": "The kind of task",
"itemtype": "property",
"name": "type",
@@ -1173,7 +1173,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1612,
+ "line": 1654,
"description": "This method is overridden from `TaskGroups` implementation because of the\nnature of a parallel task. When a task is added it should be immediately\nprocessed and started.",
"itemtype": "method",
"name": "addSubTask",
@@ -1188,7 +1188,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1635,
+ "line": 1677,
"itemtype": "method",
"name": "canProcessSubTask",
"return": {
@@ -1199,7 +1199,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1678,
+ "line": 1722,
"description": "Checks whether or not the group has any enabled sub tasks.",
"itemtype": "method",
"name": "hasNoEnabledSubTasks",
@@ -1211,7 +1211,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1699,
+ "line": 1743,
"description": "Overridden from TaskGroup. This method is run everytime a sub task\ncompletes. When all subtasks are complete the groups complete method\nis called.",
"itemtype": "method",
"name": "onSubTaskComplete",
@@ -1226,7 +1226,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1717,
+ "line": 1762,
"description": "Overridden from Task. First checks to see if there are any enabled\nsubtasks to process. If there arent the groups complete method is called.\nIf there are then the group processes all of the sub tasks it has.",
"itemtype": "method",
"name": "performTask",
@@ -1234,7 +1234,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1734,
+ "line": 1780,
"description": "Overridden from TaskGroup. Processes a sub task and prepares it for execution. This method overwrites the\ntasks on change functionality. If you wish to have a sub task that handles\nits own change functionality then you will need to implement the partner\nconvenience methods.",
"itemtype": "method",
"name": "processSubTask",
@@ -1249,7 +1249,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1751,
+ "line": 1797,
"description": "Processes all of the sub tasks available for the group",
"itemtype": "method",
"name": "processSubTasks",
@@ -1257,7 +1257,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1806,
+ "line": 1852,
"description": "The kind of task",
"itemtype": "property",
"name": "type",
@@ -1267,7 +1267,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1821,
+ "line": 1867,
"description": "Overriden from TaskGroup. As long as the group has not been canceled,\nwhen a sub task is canceled it simply moves on to the next task in the queue.",
"itemtype": "method",
"name": "onSubTaskCancel",
@@ -1282,7 +1282,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1837,
+ "line": 1884,
"description": "Overridden from TaskGroup. As long as the group has not been canceled,\nwhen a sub task completes it starts the next sibling in the queue.",
"itemtype": "method",
"name": "onSubTaskComplete",
@@ -1297,7 +1297,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1858,
+ "line": 1906,
"description": "Starts the next sub task in the sequence. If overriden you need to call the\nSequenceTask's prototype `performTask` method.",
"itemtype": "method",
"name": "performTask",
@@ -1312,7 +1312,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1871,
+ "line": 1920,
"description": "Starts the next task in the queue after its previous sibling has completed.",
"itemtype": "method",
"name": "startNextSubTask",
@@ -1320,7 +1320,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1903,
+ "line": 1952,
"description": "Decorator to provide for loop functionality for the task. The task executes\nas many times as referenced by the count attribute provided by the instance.",
"itemtype": "method",
"name": "forTaskDecorator",
@@ -1337,7 +1337,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1927,
+ "line": 1976,
"description": "Decorator to provide while loop functionaliy. The task executed until the `while`\nmethod returns false.",
"itemtype": "method",
"name": "whileTaskDecorator",
@@ -1354,7 +1354,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1956,
+ "line": 2005,
"description": "The task doesnt execute until the when method provided returns true.",
"itemtype": "method",
"name": "whenTaskDecorator",
@@ -1371,7 +1371,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1980,
+ "line": 2029,
"description": "Task states contstants.",
"itemtype": "property",
"name": "TaskStates",
@@ -1381,7 +1381,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 1995,
+ "line": 2044,
"description": "Task types contstants.",
"itemtype": "property",
"name": "TaskTypes",
@@ -1391,7 +1391,7 @@
},
{
"file": "../temp/monkeybars.js",
- "line": 2008,
+ "line": 2057,
"description": "Log level contstants.",
"itemtype": "property",
"name": "LogLevels",
@@ -1407,7 +1407,7 @@
},
{
"message": "replacing incorrect tag: function with method",
- "line": " ../temp/monkeybars.js:948"
+ "line": " ../temp/monkeybars.js:953"
},
{
"message": "Missing item type",
diff --git a/docs/files/.._temp_monkeybars.js.html b/docs/files/.._temp_monkeybars.js.html
index d4eb0d0..6edffcb 100644
--- a/docs/files/.._temp_monkeybars.js.html
+++ b/docs/files/.._temp_monkeybars.js.html
@@ -866,7 +866,8 @@