Skip to content

Commit

Permalink
5.0..3
Browse files Browse the repository at this point in the history
  • Loading branch information
Eonasdan committed Oct 6, 2018
1 parent da8d615 commit 0f5fff6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
14 changes: 2 additions & 12 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,6 @@ module.exports = function (grunt) {
}
}
},
nugetpack: {
core: {
src: 'src/nuget/Tempus.Dominus.Core.nuspec',
dest: 'build/nuget',
options: {
version: '<%= pkg.version %>'
}
}
},
babel: {
dev: {
options: {
Expand Down Expand Up @@ -119,7 +110,7 @@ module.exports = function (grunt) {
]);

// Task to be run when building
grunt.registerTask('build', ['babel:dev', 'eslint', 'babel:dist', 'uglify']);
grunt.registerTask('build', ['babel:dev', 'eslint', 'babel:dist']);

grunt.registerTask('test', ['build', 'env:paris', 'connect', 'jasmine']);

Expand All @@ -138,8 +129,7 @@ module.exports = function (grunt) {
grunt.task.run([
'bump_version:' + version,
'build:travis',
'docs'//,
//'nugetpack'
'docs'
]);
});
};
2 changes: 1 addition & 1 deletion build/js/tempusdominus-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ var DateTimePicker = function ($, moment) {
};

DateTimePicker.prototype._notifyEvent = function _notifyEvent(e) {
if (e.type === DateTimePicker.Event.CHANGE && e.date && e.date.isSame(e.oldDate) || !e.date && !e.oldDate) {
if (e.type === DateTimePicker.Event.CHANGE && (e.date && e.date.isSame(e.oldDate)) || !e.date && !e.oldDate) {
return;
}
this._element.trigger(e);
Expand Down
1 change: 0 additions & 1 deletion build/js/tempusdominus-core.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tempusdominus/core",
"type": "component",
"version": "5.0.2",
"version": "5.0.3",
"description": "Tempus Dominus core",
"keywords": [
"bootstrap",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"type": "git",
"url": "https://github.com/tempusdominus/core.git"
},
"version": "5.0.2",
"version": "5.0.3",
"files": [
"build",
"src/js/**/*.js",
Expand Down

0 comments on commit 0f5fff6

Please sign in to comment.