total5 0.0.4-1 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.txt CHANGED
@@ -10,6 +10,7 @@
10
10
  - improved `$.invalid()` method, now it returns `ErrorBuilder`
11
11
  - improved `$.callback()`, it accepts another instance of `$`
12
12
  - improved `DATA.query()` method
13
+ - fixed removing existing CRONs by [Marek Mraz](https://github.com/Mrazbb)
13
14
 
14
15
  ========================
15
16
  0.0.3
package/index.js CHANGED
@@ -1664,7 +1664,7 @@ F.cron = function(line, fn) {
1664
1664
  obj.remove = function() {
1665
1665
  let index = F.crons.indexOf(this);
1666
1666
  if (index !== -1)
1667
- F.crons.splice(index, 0);
1667
+ F.crons.splice(index, 1);
1668
1668
  };
1669
1669
  F.crons.push(obj);
1670
1670
  return obj;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "total5",
3
- "version": "0.0.4-1",
3
+ "version": "0.0.4",
4
4
  "description": "Total.js framework v5",
5
5
  "main": "index.js",
6
6
  "directories": {