Skip to content

Commit 57e13a9

Browse files
committed
Renamed main package to angular-datetime-inputs for consistency.
1 parent df23e97 commit 57e13a9

File tree

8 files changed

+27
-27
lines changed

8 files changed

+27
-27
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ Desgined to be as simple as possible in order to afford intuitive interactions.
77
Converted into an angular directive for your convenience :)
88

99
## Demo
10-
Click <a href="https://rawgit.com/g1eb/angular-datetime-input/master/" target="_blank">here</a> for a live demo.
10+
Click <a href="https://rawgit.com/g1eb/angular-datetime-inputs/master/" target="_blank">here</a> for a live demo.
1111

1212
### Date input
13-
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-input/master/images/date.png" alt="Angular directive datetime input - date input" width="300px">](https://rawgit.com/g1eb/angular-datetime-input/master/)
13+
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-inputs/master/images/date.png" alt="Angular directive datetime input - date input" width="300px">](https://rawgit.com/g1eb/angular-datetime-inputs/master/)
1414

1515
### Time input
16-
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-input/master/images/time.png" alt="Angular directive datetime input - time input" width="300px">](https://rawgit.com/g1eb/angular-datetime-input/master/)
16+
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-inputs/master/images/time.png" alt="Angular directive datetime input - time input" width="300px">](https://rawgit.com/g1eb/angular-datetime-inputs/master/)
1717

1818
### Datetime input
19-
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-input/master/images/datetime.png" alt="Angular directive datetime input - datetime input" width="300px">](https://rawgit.com/g1eb/angular-datetime-input/master/)
19+
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-inputs/master/images/datetime.png" alt="Angular directive datetime input - datetime input" width="300px">](https://rawgit.com/g1eb/angular-datetime-inputs/master/)
2020

2121
## Install
2222

23-
1) Install 'angular-datetime-input' with bower
23+
1) Install 'angular-datetime-inputs' with bower
2424

2525
```
26-
bower install angular-datetime-input
26+
bower install angular-datetime-inputs
2727
```
2828

2929
or with npm
@@ -32,12 +32,12 @@ or with npm
3232
npm install angular-datetime-inputs
3333
```
3434

35-
2) Add 'g1b.datetime-input' module to your app config
35+
2) Add 'g1b.datetime-inputs' module to your app config
3636

3737

3838
```javascript
3939
angular.module('myApp', [
40-
'g1b.datetime-input',
40+
'g1b.datetime-inputs',
4141
......
4242
])
4343
```

bower.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"name": "angular-datetime-input",
3-
"version": "0.0.9",
4-
"description": "UI widget for datetime input, converted to an angular directive for your convenience.",
5-
"homepage": "https://github.com/g1eb/angular-datetime-input",
2+
"name": "angular-datetime-inputs",
3+
"version": "0.1.0",
4+
"description": "UI elements for datetime input, converted to angular directives for your convenience.",
5+
"homepage": "https://github.com/g1eb/angular-datetime-inputs",
66
"authors": [
77
"Gleb <git@gleb.nl>"
88
],
99
"license": "MIT",
1010
"main": [
11-
"dist/datetime-input.min.js",
12-
"dist/datetime-input.min.css"
11+
"dist/datetime-inputs.min.js",
12+
"dist/datetime-inputs.min.css"
1313
],
1414
"dependencies": {
1515
"angular": "^1.5.6",

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ gulp.task('build', function () {
1010
gulp.src(['src/datetime-input.js', 'src/date-input.js', 'src/time-input.js'])
1111
.pipe(embedTemplates())
1212
.pipe(uglify())
13-
.pipe(concat('datetime-input.min.js'))
13+
.pipe(concat('datetime-inputs.min.js'))
1414
.pipe(gulp.dest('./dist'));
1515
gulp.src(['src/datetime-input.css', 'src/date-input.css', 'src/time-input.css'])
1616
.pipe(cssnano())
17-
.pipe(concat('datetime-input.min.css'))
17+
.pipe(concat('datetime-inputs.min.css'))
1818
.pipe(gulp.dest('./dist'));
1919
});
2020

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html ng-app="ExampleApp">
33
<head>
44
<title>Datetime input UI element for AngularJS</title>
5-
<link rel="stylesheet" type="text/css" href="dist/datetime-input.min.css">
5+
<link rel="stylesheet" type="text/css" href="dist/datetime-inputs.min.css">
66
<meta name="viewport" content="width=500,user-scalable=0">
77
<style>
88
body {
@@ -30,10 +30,10 @@ <h1>Datetime</h1>
3030

3131
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.0/angular.min.js" charset="utf-8"></script>
3232
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.12.0/moment.min.js" charset="utf-8"></script>
33-
<script src="dist/datetime-input.min.js"></script>
33+
<script src="dist/datetime-inputs.min.js"></script>
3434

3535
<script>
36-
angular.module('ExampleApp', ['g1b.datetime-input']).
36+
angular.module('ExampleApp', ['g1b.datetime-inputs']).
3737
controller('MainCtrl', function ($scope) {
3838
$scope.print = function (datetime) {
3939
console.log('datetime', datetime);

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"name": "angular-datetime-inputs",
3-
"version": "0.0.9",
4-
"description": "UI widget for datetime input, converted to an angular directive for your convenience.",
5-
"homepage": "https://github.com/g1eb/angular-datetime-input#readme",
3+
"version": "0.1.0",
4+
"description": "UI elements for datetime input, converted to angular directives for your convenience.",
5+
"homepage": "https://github.com/g1eb/angular-datetime-inputs#readme",
66
"author": "gleb",
77
"license": "MIT",
88
"main": "index.html",
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/g1eb/angular-datetime-input.git"
11+
"url": "git+https://github.com/g1eb/angular-datetime-inputs.git"
1212
},
1313
"bugs": {
14-
"url": "https://github.com/g1eb/angular-datetime-input/issues"
14+
"url": "https://github.com/g1eb/angular-datetime-inputs/issues"
1515
},
1616
"scripts": {
1717
"build": "gulp build"

src/date-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Date directive (date input element)
55
*/
6-
angular.module('g1b.datetime-input').
6+
angular.module('g1b.datetime-inputs').
77
directive('dateInput', ['$document', function ($document) {
88
return {
99
restrict: 'E',

src/datetime-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Datetime directive (date and time input element)
55
*/
6-
angular.module('g1b.datetime-input', []).
6+
angular.module('g1b.datetime-inputs', []).
77
directive('datetimeInput', ['$document', function ($document) {
88
return {
99
restrict: 'E',

src/time-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Time directive (time input element)
55
*/
6-
angular.module('g1b.datetime-input').
6+
angular.module('g1b.datetime-inputs').
77
directive('timeInput', ['$document', function ($document) {
88
return {
99
restrict: 'E',

0 commit comments

Comments
 (0)