Skip to content

Commit 89d939a

Browse files
committed
Datepicker has moved to it's own repo
Can now be found here https://github.com/Textalk/angular-schema-form-datepicker and also fixed about with the test dependencies.
1 parent 0c1bf25 commit 89d939a

19 files changed

+21
-12031
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
language: node_js
22
node_js:
33
- 0.10
4+
5+
before_script:
6+
- npm install -g bower
7+
- bower install

README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -111,17 +111,18 @@ sure you got the angular version you actually want.
111111

112112
#### Additional dependecies
113113

114-
1. If you want to use the date picker, you'll also need [jQuery](https://github.com/jquery/jquery) and [pickadate.js](http://amsul.ca/pickadate.js/)
114+
1. If you want to use the date picker, you'll also need [jQuery](https://github.com/jquery/jquery)
115+
and [pickadate.js](http://amsul.ca/pickadate.js/), see [angular-schema-form-datepicker](https://github.com/Textalk/angular-schema-form-datepicker)
115116
2. If you'd like to use drag-and-drop reordering of arrays, you'll also need [ui-sortable](https://github.com/angular-ui/ui-sortable) and its [jQueryUI](http://jqueryui.com/) dependencies. See the *ui-sortable* documentation for details about which parts of jQueryUI are needed. You can safely ignore these if you don't need reordering.
116117
3. Schema Form provides tabbed arrays through the form type `tabarray`. Tab arrays default to tabs on the left side. For these to work, you'll need to include the CSS from [bootstrap-vertical-tabs](https://github.com/dbtek/bootstrap-vertical-tabs). However, you won't need Bootstrap Vertical Tabs for horizontal tabs (the `tabType: "top"` option).
117118

118119
The minified files include templates - no need to load additional HTML files.
119120

120121
Add-ons
121122
------
122-
There is currently only one add-on, a date picker using the excellent [pickadate.js](http://amsul.ca/pickadate.js/).
123-
124-
See the [add-on docs](docs/datepicker.md) for usage.
123+
There is currently only one add-on, a date picker using the excellent
124+
[pickadate.js](http://amsul.ca/pickadate.js/). It has it's own repo and you can find it here:
125+
[https://github.com/Textalk/angular-schema-form-datepicker](https://github.com/Textalk/angular-schema-form-datepicker)
125126

126127
Building
127128
--------
@@ -146,11 +147,13 @@ Unit tests are run with [karma](http://karma-runner.github.io) and written using
146147
To run the tests:
147148

148149
1. Install all dependencies via NPM
149-
2. Install the Karma CLI
150-
3. Run the tests
150+
2. Install dev dependencies with bower.
151+
3. Install the Karma CLI
152+
4. Run the tests
151153

152154
```bash
153155
$ npm install
156+
$ bower install
154157
$ sudo npm install -g karma-cli
155158
$ karma start karma.conf.js
156159
```

bower.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"objectpath": "~1.0.4"
3737
},
3838
"devDependencies": {
39-
"angular-ui-ace": "bower"
39+
"angular-ui-ace": "bower",
40+
"angular-schema-form-datepicker": ">= 0.1.0",
41+
"jquery": "~2.1.1",
42+
"angular-mocks": ">= 1.2"
4043
}
4144
}

docs/datepicker.md

-54
This file was deleted.

karma.conf.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,25 @@ module.exports = function(config) {
99

1010

1111
// frameworks to use
12-
frameworks: ['mocha','chai-sinon'],
12+
frameworks: ['mocha', 'chai-sinon'],
1313

1414

1515
// list of files / patterns to load in the browser
1616
files: [
17-
'test/lib/jquery.js',
17+
'bower_components/jquery/dist/jquery.min.js',
1818
'test/lib/angular.js',
1919
'test/lib/angular-mocks.js',
20-
'test/lib/tv4.js',
21-
'test/lib/objectpath.js',
20+
'bower_components/tv4/tv4.js',
21+
'bower_components/objectpath/lib/ObjectPath.js',
2222
'src/module.js',
2323
'src/sfPath.js',
2424
'src/services/*.js',
2525
'src/directives/*.js',
2626
'src/directives/decorators/bootstrap/*.js',
27-
'src/directives/decorators/bootstrap/datepicker/*.js',
2827
'src/**/*.html',
2928
'test/schema-form-test.js'
3029
],
3130

32-
3331
// list of files to exclude
3432
exclude: [
3533

src/directives/decorators/bootstrap/datepicker/angular-pickadate.js

-86
This file was deleted.

src/directives/decorators/bootstrap/datepicker/bootstrap-datepicker.js

-28
This file was deleted.

src/directives/decorators/bootstrap/datepicker/datepicker.html

-15
This file was deleted.

src/themes/classic.css

-109
This file was deleted.

0 commit comments

Comments
 (0)