Skip to content

Commit

Permalink
Fix webpack build, update dependencies to fix Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
gamtiq committed Dec 28, 2019
1 parent aa5b1fd commit b50e2ce
Show file tree
Hide file tree
Showing 19 changed files with 873 additions and 292 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
],
"plugins": [
"add-module-exports"
]
],
"sourceMaps": true
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
components
build
node_modules
tmp
.settings
.project
3 changes: 3 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ module.exports = function(grunt) {
minify: {
src: "dist/chronoman.js",
dest: "dist/chronoman.min.js"
},
options: {
sourceMap: true
}
},

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ timer.stop();

[![NPM version](https://badge.fury.io/js/chronoman.png)](http://badge.fury.io/js/chronoman)
[![Build Status](https://secure.travis-ci.org/gamtiq/chronoman.png?branch=master)](http://travis-ci.org/gamtiq/chronoman)
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)
[![Built with Grunt](https://gruntjs.com/cdn/builtwith.png)](http://gruntjs.com/)

## Installation

Expand Down
3 changes: 2 additions & 1 deletion dist/chronoman.common.js

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

1 change: 1 addition & 0 deletions dist/chronoman.common.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/chronoman.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ Timer.prototype.onExecute = null;
* <ul>
* <li>timer is set as recurrent (see {@link module:chronoman~Timer#isRecurrent isRecurrent});
* <li>specified quantity of repeats is not reached (see {@link module:chronoman~Timer#getRepeatQty getRepeatQty});
* <li>specified repeat test is passed i.e. the test function returns true value (see {@link module:chronoman~Timer#getRepeatTest getRepeatTest});
* <li>specified repeat test is passed i.e. the test function returns true value or non-negative number (see {@link module:chronoman~Timer#getRepeatTest getRepeatTest});
* </ul>
*
* @return {Object}
Expand Down Expand Up @@ -760,6 +760,7 @@ Timer.prototype.toString = function () {

exports.default = Timer;
module.exports = exports.default;
//# sourceMappingURL=chronoman.common.js.map

return Timer;
}));
3 changes: 2 additions & 1 deletion dist/chronoman.min.js

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

1 change: 1 addition & 0 deletions dist/chronoman.min.js.map

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

6 changes: 3 additions & 3 deletions doc/chronoman.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ <h1 class="page-title">Source: chronoman.js</h1>
*
* @param {module:chronoman~PeriodValue | Object} [property]
* Time period in milliseconds that is used to schedule related action execution
* (new value for {@link module:chronoman~Timer#setPeriod period} property)
* new value for {@link module:chronoman~Timer#setPeriod period} property
* or object that specifies new values for timer properties (see {@link module:chronoman~Timer#setProperties setProperties}).
* The current value of {@link module:chronoman~Timer#getPeriod period} property is used by default.
* @return {Object}
Expand Down Expand Up @@ -885,9 +885,9 @@ <h4 class="modal-title">Search results</h4>
</span>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on 2019-12-26T01:06:09+03:00
on 2019-12-29T01:03:46+03:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
4 changes: 2 additions & 2 deletions doc/classes.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ <h4 class="modal-title">Search results</h4>
</span>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on 2019-12-26T01:06:09+03:00
on 2019-12-29T01:03:46+03:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
6 changes: 3 additions & 3 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
...
timer.stop();</code></pre><p><a href="http://badge.fury.io/js/chronoman"><img src="https://badge.fury.io/js/chronoman.png" alt="NPM version"></a>
<a href="http://travis-ci.org/gamtiq/chronoman"><img src="https://secure.travis-ci.org/gamtiq/chronoman.png?branch=master" alt="Build Status"></a>
<a href="http://gruntjs.com/"><img src="https://cdn.gruntjs.com/builtwith.png" alt="Built with Grunt"></a></p>
<a href="http://gruntjs.com/"><img src="https://gruntjs.com/cdn/builtwith.png" alt="Built with Grunt"></a></p>
<h2>Installation</h2><h3>Node</h3><pre class="prettyprint source"><code>npm install chronoman</code></pre><h3><a href="http://jspm.io">JSPM</a></h3><pre class="prettyprint source"><code>jspm install chronoman</code></pre><h3><a href="http://bower.io">Bower</a></h3><pre class="prettyprint source"><code>bower install chronoman</code></pre><h3>AMD, &lt;script&gt;</h3><p>Use <code>dist/chronoman.js</code> or <code>dist/chronoman.min.js</code> (minified version).</p>
<h2>Usage</h2><h3>ECMAScript 6/2015</h3><pre class="prettyprint source lang-js"><code>import Timer from &quot;chronoman&quot;;</code></pre><h3>Node, JSPM</h3><pre class="prettyprint source lang-js"><code>var Timer = require(&quot;chronoman&quot;);</code></pre><h3>JSPM</h3><pre class="prettyprint source lang-js"><code>System.import(&quot;chronoman&quot;).then(function(Timer) {
...
Expand Down Expand Up @@ -207,9 +207,9 @@ <h4 class="modal-title">Search results</h4>
</span>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on 2019-12-26T01:06:09+03:00
on 2019-12-29T01:03:46+03:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
Loading

0 comments on commit b50e2ce

Please sign in to comment.