Skip to content

Commit

Permalink
Build 1.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
eralha committed Sep 1, 2015
1 parent 1984eeb commit 7917613
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/scripts/datePickerUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ angular.module('datePicker').factory('datePickerUtils', function(){
momentFormat = replaceAll('sss', 'SSS', momentFormat);
momentFormat = replaceAll('w', 'W', momentFormat);
return momentFormat;
}
}
};
});
22 changes: 15 additions & 7 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
'use strict';
(function(angular){
'use strict';

var Module = angular.module('datePicker', ['angularMoment']);

Module.constant('datePickerConfig', {
template: 'app/templates/datepicker.html',
template: 'templates/datepicker.html',
view: 'month',
views: ['year', 'month', 'date', 'hours', 'minutes'],
step: 5
Expand Down Expand Up @@ -265,6 +267,8 @@ Module.directive('datePicker', ['datePickerConfig', 'datePickerUtils', function
};
}]);

'use strict';

angular.module('datePicker').factory('datePickerUtils', function(){
var createNewDate = function(year, month, day, hour, minute) {
// without any arguments, the default date will be 1899-12-31T00:00:00.000Z
Expand Down Expand Up @@ -419,9 +423,11 @@ angular.module('datePicker').factory('datePickerUtils', function(){
momentFormat = replaceAll('sss', 'SSS', momentFormat);
momentFormat = replaceAll('w', 'W', momentFormat);
return momentFormat;
}
}
};
});
'use strict';

var Module = angular.module('datePicker');

Module.directive('dateRange', function () {
Expand Down Expand Up @@ -456,6 +462,8 @@ Module.directive('dateRange', function () {
};
});

'use strict';

var PRISTINE_CLASS = 'ng-pristine',
DIRTY_CLASS = 'ng-dirty';

Expand Down Expand Up @@ -635,8 +643,9 @@ Module.directive('dateTime', ['$compile', '$document', '$filter', 'dateTimeConfi
};
}]);

angular.module('datePicker').run(['$templateCache', function($templateCache) {
$templateCache.put('app/templates/datepicker.html',
angular.module("datePicker").run(["$templateCache", function($templateCache) {

$templateCache.put("templates/datepicker.html",
"<div ng-switch=\"view\">\r" +
"\n" +
" <div ng-switch-when=\"date\">\r" +
Expand Down Expand Up @@ -853,8 +862,7 @@ $templateCache.put('app/templates/datepicker.html',
"\n"
);


$templateCache.put('app/templates/daterange.html',
$templateCache.put("templates/daterange.html",
"<div>\r" +
"\n" +
" <table>\r" +
Expand Down Expand Up @@ -882,4 +890,4 @@ $templateCache.put('app/templates/datepicker.html',
);

}]);
})(angular);
})(angular);
2 changes: 1 addition & 1 deletion dist/index.min.css

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

Loading

0 comments on commit 7917613

Please sign in to comment.