Skip to content

Commit

Permalink
Updated dependencies / Small code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 17, 2016
1 parent 9cfb5c8 commit f0610c9
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kairos",
"version": "2.0.1",
"version": "2.0.2",
"description": "A non date-based time calculator",
"homepage": "https://github.com/kairos",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion build/kairos-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
}

var max = values.reduce(function (previous, current) {
return Kairos.new(previous, pattern).compareTo(current, pattern) > 0 ? previous : current;
return Kairos.compare(previous, current, pattern) > 0 ? previous : current;
});

return Kairos.new(max, pattern);
Expand Down
2 changes: 1 addition & 1 deletion build/kairos-min.js

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

2 changes: 1 addition & 1 deletion build/kairos-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
}

var max = values.reduce(function (previous, current) {
return Kairos.new(previous, pattern).compareTo(current, pattern) > 0 ? previous : current;
return Kairos.compare(previous, current, pattern) > 0 ? previous : current;
});

return Kairos.new(max, pattern);
Expand Down
2 changes: 1 addition & 1 deletion build/kairos.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
}

var max = values.reduce(function (previous, current) {
return Kairos.new(previous, pattern).compareTo(current, pattern) > 0 ? previous : current;
return Kairos.compare(previous, current, pattern) > 0 ? previous : current;
});

return Kairos.new(max, pattern);
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kairos",
"version": "2.0.1",
"version": "2.0.2",
"description": "A non date-based time calculator",
"license": "BSD-2-Clause",
"repository": "kairos",
Expand All @@ -23,36 +23,36 @@
"math"
],
"devDependencies": {
"assert": "^1.3.0",
"assert": "^1.4.1",
"codeclimate-test-reporter": "^0.4.0",
"del": "^2.2.0",
"del": "^2.2.2",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.0",
"gulp-autoprefixer": "^3.1.1",
"gulp-bower": "0.0.13",
"gulp-concat": "^2.6.0",
"gulp-esformatter": "^6.0.0",
"gulp-header": "^1.7.1",
"gulp-include": "^2.1.0",
"gulp-header": "^1.8.8",
"gulp-include": "^2.3.1",
"gulp-jsdoc3": "^1.0.0",
"gulp-jshint": "^2.0.0",
"gulp-load-plugins": "^1.2.0",
"gulp-jshint": "^2.0.1",
"gulp-load-plugins": "^1.3.0",
"gulp-strip-debug": "^1.1.0",
"gulp-uglify": "^2.0.0",
"gulp-webserver": "^0.9.1",
"istanbul": "^0.4.2",
"jasmine-core": "^2.4.1",
"jshint": "^2.9.1",
"jshint-stylish": "^2.1.0",
"karma": "^1.2.0",
"istanbul": "^0.4.5",
"jasmine-core": "^2.5.2",
"jshint": "^2.9.3",
"jshint-stylish": "^2.2.1",
"karma": "^1.3.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.0.0",
"karma-jasmine": "^1.0.2",
"karma-mocha": "^1.1.1",
"karma-phantomjs-launcher": "^1.0.0",
"mocha": "^3.0.2",
"phantom": "^2.0.10",
"phantomjs-prebuilt": "^2.1.7",
"run-sequence": "^1.1.5"
"karma-mocha": "^1.2.0",
"karma-phantomjs-launcher": "^1.0.2",
"mocha": "^3.1.2",
"phantom": "^2.1.21",
"phantomjs-prebuilt": "^2.1.13",
"run-sequence": "^1.2.2"
}
}
2 changes: 1 addition & 1 deletion src/kairos.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
}

var max = values.reduce(function (previous, current) {
return Kairos.new(previous, pattern).compareTo(current, pattern) > 0 ? previous : current;
return Kairos.compare(previous, current, pattern) > 0 ? previous : current;
});

return Kairos.new(max, pattern);
Expand Down

0 comments on commit f0610c9

Please sign in to comment.