Skip to content

Commit

Permalink
Merge pull request g00fy-#124 from astik/fix-dependencies
Browse files Browse the repository at this point in the history
Fix dependencies
  • Loading branch information
eralha committed Jun 15, 2015
2 parents 4cdbdc0 + a3c7b7f commit f09d7f4
Show file tree
Hide file tree
Showing 8 changed files with 92 additions and 103 deletions.
1 change: 0 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"node": true,
"browser": true,
"es5": true,
"esnext": true,
"bitwise": false,
"camelcase": true,
Expand Down
2 changes: 0 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ module.exports = function (grunt) {
}
});

grunt.renameTask('regarde', 'watch');

grunt.registerTask('server', [
'clean:server',
'recess',
Expand Down
5 changes: 0 additions & 5 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- build:css styles/main.css -->
<link rel="stylesheet" href="styles/bootstrap.css">
<link rel="stylesheet" href="styles/style.css"/>

<!-- endbuild -->
<link rel="stylesheet" href="../dist/index.css"/>
</head>
<body ng-app="sample">
Expand Down Expand Up @@ -173,12 +170,10 @@ <h5>Date range button</h5>

<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.6.0/ui-bootstrap-tpls.min.js"></script>
<!-- build:js module.min.js -->
<script src="scripts/datePicker.js"></script>
<script src="scripts/datePickerUtils.js"></script>
<script src="scripts/dateRange.js"></script>
<script src="scripts/input.js"></script>
<!-- endbuild -->
<script>
angular.module('sample', ['datePicker', 'ui.bootstrap']);
</script>
Expand Down
16 changes: 4 additions & 12 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict';
(function(angular){
'use strict';

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

Module.constant('datePickerConfig', {
Expand Down Expand Up @@ -267,8 +265,6 @@ 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 @@ -413,8 +409,6 @@ angular.module('datePicker').factory('datePickerUtils', function(){
}
};
});
'use strict';

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

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

'use strict';

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

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

angular.module("datePicker").run(["$templateCache", function($templateCache) {

$templateCache.put("templates/datepicker.html",
angular.module('datePicker').run(['$templateCache', function($templateCache) {
$templateCache.put('app/templates/datepicker.html',
"<div ng-switch=\"view\">\n" +
" <div ng-switch-when=\"date\">\n" +
" <table>\n" +
Expand Down Expand Up @@ -734,7 +725,8 @@ angular.module("datePicker").run(["$templateCache", function($templateCache) {
"</div>\n"
);

$templateCache.put("templates/daterange.html",

$templateCache.put('app/templates/daterange.html',
"<div>\n" +
" <table>\n" +
" <tr>\n" +
Expand Down
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 f09d7f4

Please sign in to comment.