Skip to content

Commit

Permalink
Updated the project template.
Browse files Browse the repository at this point in the history
  • Loading branch information
jclo committed Aug 10, 2020
1 parent 7eda9d8 commit c00e106
Show file tree
Hide file tree
Showing 19 changed files with 1,985 additions and 1,720 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
_dist/taskq.min.js
_dist/taskq.min.*
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
no-plusplus: ["error", { "allowForLoopAfterthoughts": true }],
"no-multi-spaces": [2, { exceptions: { "VariableDeclarator": true } }],
comma-style: ["error", "first", { "exceptions": { "ArrayExpression": true, "ObjectExpression": true } }],
indent: ["error", 2, { "VariableDeclarator": { "const": 2 }, "SwitchCase": 1 }]
indent: ["error", 2, { "VariableDeclarator": { "const": 2 }, "SwitchCase": 1 }],
no-multiple-empty-lines: ["error", { "max": 2, "maxEOF": 0 }]
}
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cache:
notifications:
email: false
node_js:
- "10"
- "12"
before_install:
- npm i -g npm@^2.0.0
before_script:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
### HEAD

### 0.0.6 (August 10, 2020)

* Updated the project template,
* ...,


### 0.0.5 (April 1, 2020)

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# TaskQ

[![NPM version][npm-image]][npm-url]
[![GitHub last commit][commit-image]][commit-url]
[![Travis CI][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Dependencies status][dependencies-image]][dependencies-url]
[![Dev Dependencies status][devdependencies-image]][devdependencies-url]
[![npm bundle size][npm-bundle-size-image]][npm-bundle-size-url]
[![License][license-image]](LICENSE.md)
<!--- [![node version][node-image]][node-url] -->
[![NPM install][npm-install-image]][npm-install-url]


`TaskQ` is a Javascript library that allows tasks to be executed sequentially.
Expand Down Expand Up @@ -78,21 +78,21 @@ TaskQ.noConflict();
<!--- URls -->

[npm-image]: https://img.shields.io/npm/v/@mobilabs/taskq.svg?style=flat-square
[npm-install-image]: https://nodei.co/npm/@mobilabs/taskq.png?compact=true
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
[download-image]: https://img.shields.io/npm/dm/@mobilabs/taskq.svg?style=flat-square
[release-image]: https://img.shields.io/github/release/jclo/taskq.svg?include_prereleases&style=flat-square
[commit-image]: https://img.shields.io/github/last-commit/jclo/taskq.svg?style=flat-square
[travis-image]: https://img.shields.io/travis/jclo/taskq.svg?style=flat-square
[coveralls-image]: https://img.shields.io/coveralls/jclo/taskq/master.svg?style=flat-square
[dependencies-image]: https://david-dm.org/jclo/taskq/status.svg?theme=shields.io
[devdependencies-image]: https://david-dm.org/jclo/taskq/dev-status.svg?theme=shields.io
[npm-bundle-size-image]: https://img.shields.io/bundlephobia/minzip/@mobilabs/taskq.svg?style=flat-square
[license-image]: https://img.shields.io/npm/l/@mobilabs/taskq.svg?style=flat-square

[npm-url]: https://www.npmjs.com/package/@mobilabs/taskq
[npm-install-url]: https://nodei.co/npm/@mobilabs/taskq
[node-url]: http://nodejs.org/download
[download-url]: https://www.npmjs.com/package/@mobilabs/taskq
[release-url]: https://github.com/jclo/taskq/tags
[commit-url]: https://github.com/jclo/taskq/commits/master
[travis-url]: https://travis-ci.org/jclo/taskq
[coveralls-url]: https://coveralls.io/github/jclo/taskq?branch=master
[dependencies-url]: https://david-dm.org/jclo/taskq
[devdependencies-url]: https://david-dm.org/jclo/taskq?type=dev
[license-url]: http://opensource.org/licenses/MIT
[npm-bundle-size-url]: https://img.shields.io/bundlephobia/minzip/@mobilabs/taskq
16 changes: 8 additions & 8 deletions _dist/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# TaskQ

[![NPM version][npm-image]][npm-url]
[![GitHub last commit][commit-image]][commit-url]
[![Travis CI][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Dependencies status][dependencies-image]][dependencies-url]
[![Dev Dependencies status][devdependencies-image]][devdependencies-url]
[![npm bundle size][npm-bundle-size-image]][npm-bundle-size-url]
[![License][license-image]](LICENSE.md)
<!--- [![node version][node-image]][node-url] -->
[![NPM install][npm-install-image]][npm-install-url]


`TaskQ` is a Javascript library that allows tasks to be executed sequentially.
Expand Down Expand Up @@ -78,21 +78,21 @@ TaskQ.noConflict();
<!--- URls -->

[npm-image]: https://img.shields.io/npm/v/@mobilabs/taskq.svg?style=flat-square
[npm-install-image]: https://nodei.co/npm/@mobilabs/taskq.png?compact=true
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
[download-image]: https://img.shields.io/npm/dm/@mobilabs/taskq.svg?style=flat-square
[release-image]: https://img.shields.io/github/release/jclo/taskq.svg?include_prereleases&style=flat-square
[commit-image]: https://img.shields.io/github/last-commit/jclo/taskq.svg?style=flat-square
[travis-image]: https://img.shields.io/travis/jclo/taskq.svg?style=flat-square
[coveralls-image]: https://img.shields.io/coveralls/jclo/taskq/master.svg?style=flat-square
[dependencies-image]: https://david-dm.org/jclo/taskq/status.svg?theme=shields.io
[devdependencies-image]: https://david-dm.org/jclo/taskq/dev-status.svg?theme=shields.io
[npm-bundle-size-image]: https://img.shields.io/bundlephobia/minzip/@mobilabs/taskq.svg?style=flat-square
[license-image]: https://img.shields.io/npm/l/@mobilabs/taskq.svg?style=flat-square

[npm-url]: https://www.npmjs.com/package/@mobilabs/taskq
[npm-install-url]: https://nodei.co/npm/@mobilabs/taskq
[node-url]: http://nodejs.org/download
[download-url]: https://www.npmjs.com/package/@mobilabs/taskq
[release-url]: https://github.com/jclo/taskq/tags
[commit-url]: https://github.com/jclo/taskq/commits/master
[travis-url]: https://travis-ci.org/jclo/taskq
[coveralls-url]: https://coveralls.io/github/jclo/taskq?branch=master
[dependencies-url]: https://david-dm.org/jclo/taskq
[devdependencies-url]: https://david-dm.org/jclo/taskq?type=dev
[license-url]: http://opensource.org/licenses/MIT
[npm-bundle-size-url]: https://img.shields.io/bundlephobia/minzip/@mobilabs/taskq
38 changes: 31 additions & 7 deletions _dist/lib/taskq.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
/*! ****************************************************************************
* TaskQ v0.0.5
* TaskQ v0.0.6
*
* A library that processes tasks sequentially.
* (you can download it from npm or github repositories)
* Copyright (c) 2020 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr).
* Released under the MIT license. You may obtain a copy of the License
* at: http://www.opensource.org/licenses/mit-license.php).
* Built from ES6Kadoo v0.0.0-beta.1.
* Built from ES6Kadoo v0.0.0-beta.9.
* ************************************************************************** */
/*! Generated by Kadoo v0.0.0-beta.6 */
// ESLint declarations
/* global define */
/* eslint no-shadow: ['error', { 'allow': ['root'] }] */
Expand Down Expand Up @@ -39,7 +40,6 @@
*
* ************************************************************************ */
/* eslint-disable */
/* Generated by Kadoo v0.0.0-beta.1 */
let $__TREE = {"src":{"taskq":{},"private":{"taskq":{}}}};
$__TREE.extend=function(o,m){var k=Object.keys(m);for(var i=0;i<k.length;i++){o[k[i]]=m[k[i]]}};
/* - */
Expand All @@ -63,6 +63,10 @@
* . TaskQ creates and returns the TaskQ object,
*
*
* Private Static Methods:
* . _setTestMode returns internal objects for testing purpose,
*
*
* Public Static Methods:
* . noConflict returns a reference to this TaskQ object,
*
Expand All @@ -73,7 +77,7 @@
*
*
*
* @namespace TaskQ
* @namespace -
* @dependencies none
* @exports -
* @author -
Expand Down Expand Up @@ -115,14 +119,34 @@
* @returns {Object} returns the TaskQ object,
* @since 0.0.0
*/
function TaskQ() {
const TaskQ = function() {
const obj = Object.create(methods);
obj.library = {
name: 'TaskQ',
version: '0.0.6',
};
obj._dQ = {};
return obj;
}
};

// Attaches a constant to TaskQ that provides the version of the lib.
TaskQ.VERSION = '0.0.5';
TaskQ.VERSION = '0.0.6';


// -- Private Static Methods -----------------------------------------------

/**
* Returns the internal objects for testing purpose.
*
* @method ()
* @private
* @param {} -,
* @returns {Object} returns a list of internal objects,
* @since 0.0.0
*/
TaskQ._setTestMode = function() {
return [];
};


// -- Public Static Methods ------------------------------------------------
Expand Down
7 changes: 4 additions & 3 deletions _dist/lib/taskq.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions _dist/lib/taskq.min.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*! ****************************************************************************
* TaskQ v0.0.6
*
* A library that processes tasks sequentially.
* (you can download it from npm or github repositories)
* Copyright (c) 2020 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr).
* Released under the MIT license. You may obtain a copy of the License
* at: http://www.opensource.org/licenses/mit-license.php).
* Built from ES6Kadoo v0.0.0-beta.9.
* ************************************************************************** */
/*! Generated by Kadoo v0.0.0-beta.6 */
const $__ES6GLOB={};!function(t,n){"use strict";"function"==typeof define&&define.amd?define([""],n):"object"==typeof exports?module.exports=n(t):t.TaskQ=n(t)}($__ES6GLOB,t=>{"use strict";let n={src:{taskq:{},private:{taskq:{}}},extend:function(t,n){for(var e=Object.keys(n),s=0;s<e.length;s++)t[e[s]]=n[e[s]]}};return function(){const e=n.src.private.taskq,s=t.TaskQ;let i;const r=function(){const t=Object.create(i);return t.library={name:"TaskQ",version:"0.0.6"},t._dQ={},t};r.VERSION="0.0.6",r._setTestMode=function(){return[]},r.noConflict=function(){return t.TaskQ=s,this},i={pushQ(t,n){return e.pushQ(this._dQ,t,n),this},popQ(t,n){return e.popQ(this._dQ,t,n),this}},n.src.taskq=r}(),function(){function t(t,n){"string"!=typeof n||Object.prototype.hasOwnProperty.call(t,n)||(t[n]={firing:!1,listeners:[]})}const e={pushQ(n,e,s){t(n,e),"string"==typeof e&&"function"==typeof s&&(n[e].listeners.push(s),n[e].firing||function(t,n,e){const s=t[n].listeners;t[n].firing=!0,function i(){s.length>0?s.shift().apply(e||{},[i].concat(Array.prototype.slice.call(arguments,0))):t[n].firing=!1}()}(n,e))},popQ(n,e,s){t(n,e),"string"==typeof e&&"function"==typeof s&&(n[e].listeners.push(s),n[e].firing||function(t,n,e){const s=t[n].listeners;t[n].firing=!0,function i(){if(s.length>0){for(;s.length>1;)s.shift();s.shift().apply(e||{},[i].concat(Array.prototype.slice.call(arguments,0)))}else t[n].firing=!1}()}(n,e))}};n.extend(n.src.private.taskq,e)}(),n.src.taskq});export default $__ES6GLOB.TaskQ;
Loading

0 comments on commit c00e106

Please sign in to comment.