aurelia-task-queue
Advanced tools
Comparing version 1.0.0-beta.1.1.0 to 1.0.0-beta.1.1.1
{ | ||
"name": "aurelia-task-queue", | ||
"version": "1.0.0-beta.1.1.0", | ||
"version": "1.0.0-beta.1.1.1", | ||
"description": "A simple task queue for the browser that enables the queuing of both standard tasks and micro tasks.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -5,5 +5,5 @@ declare module 'aurelia-task-queue' { | ||
/** | ||
* Something that is callable. Either a Function or a class with a call method. | ||
* Either a Function or a class with a call method that will do work when dequeued. | ||
*/ | ||
export interface Callable { | ||
export interface Task { | ||
@@ -30,3 +30,3 @@ /** | ||
*/ | ||
queueMicroTask(task: Callable | Function): void; | ||
queueMicroTask(task: Task | Function): void; | ||
@@ -37,3 +37,3 @@ /** | ||
*/ | ||
queueTask(task: Callable | Function): void; | ||
queueTask(task: Task | Function): void; | ||
@@ -40,0 +40,0 @@ /** |
@@ -5,5 +5,5 @@ declare module 'aurelia-task-queue' { | ||
/** | ||
* Something that is callable. Either a Function or a class with a call method. | ||
* Either a Function or a class with a call method that will do work when dequeued. | ||
*/ | ||
export interface Callable { | ||
export interface Task { | ||
@@ -30,3 +30,3 @@ /** | ||
*/ | ||
queueMicroTask(task: Callable | Function): void; | ||
queueMicroTask(task: Task | Function): void; | ||
@@ -37,3 +37,3 @@ /** | ||
*/ | ||
queueTask(task: Callable | Function): void; | ||
queueTask(task: Task | Function): void; | ||
@@ -40,0 +40,0 @@ /** |
@@ -48,5 +48,5 @@ import {DOM, FEATURE} from 'aurelia-pal'; | ||
/** | ||
* Something that is callable. Either a Function or a class with a call method. | ||
* Either a Function or a class with a call method that will do work when dequeued. | ||
*/ | ||
interface Callable { | ||
interface Task { | ||
/** | ||
@@ -83,3 +83,3 @@ * Call it. | ||
*/ | ||
queueMicroTask(task: Callable | Function): void { | ||
queueMicroTask(task: Task | Function): void { | ||
if (this.microTaskQueue.length < 1) { | ||
@@ -96,3 +96,3 @@ this.requestFlushMicroTaskQueue(); | ||
*/ | ||
queueTask(task: Callable | Function): void { | ||
queueTask(task: Task | Function): void { | ||
if (this.taskQueue.length < 1) { | ||
@@ -99,0 +99,0 @@ this.requestFlushTaskQueue(); |
@@ -5,5 +5,5 @@ declare module 'aurelia-task-queue' { | ||
/** | ||
* Something that is callable. Either a Function or a class with a call method. | ||
* Either a Function or a class with a call method that will do work when dequeued. | ||
*/ | ||
export interface Callable { | ||
export interface Task { | ||
@@ -30,3 +30,3 @@ /** | ||
*/ | ||
queueMicroTask(task: Callable | Function): void; | ||
queueMicroTask(task: Task | Function): void; | ||
@@ -37,3 +37,3 @@ /** | ||
*/ | ||
queueTask(task: Callable | Function): void; | ||
queueTask(task: Task | Function): void; | ||
@@ -40,0 +40,0 @@ /** |
@@ -5,5 +5,5 @@ declare module 'aurelia-task-queue' { | ||
/** | ||
* Something that is callable. Either a Function or a class with a call method. | ||
* Either a Function or a class with a call method that will do work when dequeued. | ||
*/ | ||
export interface Callable { | ||
export interface Task { | ||
@@ -30,3 +30,3 @@ /** | ||
*/ | ||
queueMicroTask(task: Callable | Function): void; | ||
queueMicroTask(task: Task | Function): void; | ||
@@ -37,3 +37,3 @@ /** | ||
*/ | ||
queueTask(task: Callable | Function): void; | ||
queueTask(task: Task | Function): void; | ||
@@ -40,0 +40,0 @@ /** |
@@ -48,5 +48,5 @@ import {DOM, FEATURE} from 'aurelia-pal'; | ||
/** | ||
* Something that is callable. Either a Function or a class with a call method. | ||
* Either a Function or a class with a call method that will do work when dequeued. | ||
*/ | ||
interface Callable { | ||
interface Task { | ||
/** | ||
@@ -83,3 +83,3 @@ * Call it. | ||
*/ | ||
queueMicroTask(task: Callable | Function): void { | ||
queueMicroTask(task: Task | Function): void { | ||
if (this.microTaskQueue.length < 1) { | ||
@@ -96,3 +96,3 @@ this.requestFlushMicroTaskQueue(); | ||
*/ | ||
queueTask(task: Callable | Function): void { | ||
queueTask(task: Task | Function): void { | ||
if (this.taskQueue.length < 1) { | ||
@@ -99,0 +99,0 @@ this.requestFlushTaskQueue(); |
@@ -5,5 +5,5 @@ declare module 'aurelia-task-queue' { | ||
/** | ||
* Something that is callable. Either a Function or a class with a call method. | ||
* Either a Function or a class with a call method that will do work when dequeued. | ||
*/ | ||
export interface Callable { | ||
export interface Task { | ||
@@ -30,3 +30,3 @@ /** | ||
*/ | ||
queueMicroTask(task: Callable | Function): void; | ||
queueMicroTask(task: Task | Function): void; | ||
@@ -37,3 +37,3 @@ /** | ||
*/ | ||
queueTask(task: Callable | Function): void; | ||
queueTask(task: Task | Function): void; | ||
@@ -40,0 +40,0 @@ /** |
@@ -133,3 +133,3 @@ { | ||
"type": "reference", | ||
"name": "Callable", | ||
"name": "Task", | ||
"id": 3 | ||
@@ -185,3 +185,3 @@ }, | ||
"type": "reference", | ||
"name": "Callable", | ||
"name": "Task", | ||
"id": 3 | ||
@@ -227,3 +227,3 @@ }, | ||
"id": 3, | ||
"name": "Callable", | ||
"name": "Task", | ||
"kind": 256, | ||
@@ -235,3 +235,3 @@ "kindString": "Interface", | ||
"comment": { | ||
"shortText": "Something that is callable. Either a Function or a class with a call method." | ||
"shortText": "Either a Function or a class with a call method that will do work when dequeued." | ||
}, | ||
@@ -238,0 +238,0 @@ "children": [ |
@@ -0,1 +1,9 @@ | ||
### 1.0.0-beta.1.1.1 (2016-02-08) | ||
#### Bug Fixes | ||
* **index:** rename Callable to Task ([5e5e3a96](http://github.com/aurelia/task-queue/commit/5e5e3a96ee4da108310ad3e651f31ebd06f339dd)) | ||
### 1.0.0-beta.1.1.0 (2016-01-29) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "aurelia-task-queue", | ||
"version": "1.0.0-beta.1.1.0", | ||
"version": "1.0.0-beta.1.1.1", | ||
"description": "A simple task queue for the browser that enables the queuing of both standard tasks and micro tasks.", | ||
@@ -33,2 +33,5 @@ "keywords": [ | ||
}, | ||
"dependencies": { | ||
"aurelia-pal": "^1.0.0-beta.1.1.1" | ||
}, | ||
"devDependencies": { | ||
@@ -41,3 +44,3 @@ "aurelia-pal-browser": "^1.0.0-beta.1.1.2", | ||
}, | ||
"peerDependencies": { | ||
"dependencies": { | ||
"aurelia-pal": "^1.0.0-beta.1.1.1" | ||
@@ -44,0 +47,0 @@ }, |
@@ -48,5 +48,5 @@ import {DOM, FEATURE} from 'aurelia-pal'; | ||
/** | ||
* Something that is callable. Either a Function or a class with a call method. | ||
* Either a Function or a class with a call method that will do work when dequeued. | ||
*/ | ||
interface Callable { | ||
interface Task { | ||
/** | ||
@@ -83,3 +83,3 @@ * Call it. | ||
*/ | ||
queueMicroTask(task: Callable | Function): void { | ||
queueMicroTask(task: Task | Function): void { | ||
if (this.microTaskQueue.length < 1) { | ||
@@ -96,3 +96,3 @@ this.requestFlushMicroTaskQueue(); | ||
*/ | ||
queueTask(task: Callable | Function): void { | ||
queueTask(task: Task | Function): void { | ||
if (this.taskQueue.length < 1) { | ||
@@ -99,0 +99,0 @@ this.requestFlushTaskQueue(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123502