This repository has been archived by the owner on Jul 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add eonasdan-bootstrap-datetimepicker & moment
- Loading branch information
Showing
402 changed files
with
133,769 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
bower_components/eonasdan-bootstrap-datetimepicker/.bower.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"name": "eonasdan-bootstrap-datetimepicker", | ||
"version": "4.17.42", | ||
"main": [ | ||
"build/css/bootstrap-datetimepicker.min.css", | ||
"build/js/bootstrap-datetimepicker.min.js" | ||
], | ||
"dependencies": { | ||
"jquery": ">=1.8.3", | ||
"moment": ">=2.10.5" | ||
}, | ||
"homepage": "https://github.com/Eonasdan/bootstrap-datetimepicker", | ||
"authors": [ | ||
"Eonasdan" | ||
], | ||
"description": "bootstrap3 datetimepicker", | ||
"keywords": [ | ||
"twitter-bootstrap", | ||
"bootstrap", | ||
"datepicker", | ||
"datetimepicker", | ||
"timepicker", | ||
"moment" | ||
], | ||
"license": "MIT", | ||
"private": false, | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"_release": "4.17.42", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "4.17.42", | ||
"commit": "295db971685cc68a72990b3b5385e7c25a3ecd90" | ||
}, | ||
"_source": "https://github.com/Eonasdan/bootstrap-datetimepicker.git", | ||
"_target": "^4.17.42", | ||
"_originalSource": "eonasdan-bootstrap-datetimepicker", | ||
"_direct": true | ||
} |
38 changes: 38 additions & 0 deletions
38
bower_components/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Submitting Issues | ||
================= | ||
|
||
If you are submitting a bug, please test and/or fork [this jsfiddle](http://jsfiddle.net/Eonasdan/0Ltv25o8/) demonstrating the issue. Code issues and fringe case bugs that do not include a jsfiddle (or similar) will be closed. | ||
|
||
Issues that are submitted without a description (title only) will be closed with no further explanation. | ||
|
||
Contributing code | ||
================= | ||
|
||
To contribute, fork the library and install grunt and dependencies. You need [node](http://nodejs.org/); use [nvm](https://github.com/creationix/nvm) or [nenv](https://github.com/ryuone/nenv) to install it. | ||
|
||
```bash | ||
git clone https://github.com/Eonasdan/bootstrap-datetimepicker.git | ||
cd bootstrap-datetimepicker | ||
npm install -g grunt-cli | ||
npm install | ||
git checkout development # all patches against development branch, please! | ||
grunt # this runs tests and jshint | ||
``` | ||
|
||
Very important notes | ||
==================== | ||
|
||
* **Pull requests to the `master` branch will be closed.** Please submit all pull requests to the `development` branch. | ||
* **Do not include the minified files in your pull request.** Don't worry, we'll build them when we cut a release. | ||
* Pull requests that do not include a description (title only) and the following will be closed: | ||
* What the change does | ||
* A use case (for new features or enhancements) | ||
|
||
Grunt tasks | ||
=========== | ||
|
||
We use Grunt for managing the build. Here are some useful Grunt tasks: | ||
|
||
* `grunt` The default task lints the code and runs the tests. You should make sure you do this before submitting a PR. | ||
* `grunt build` Compiles the less stylesheet and minifies the javascript source in build directory. | ||
* `grunt build:travis` Compliles and runs the jasmine/travis tests. **All PR's MUST pass tests in place** |
194 changes: 194 additions & 0 deletions
194
bower_components/eonasdan-bootstrap-datetimepicker/Gruntfile.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
module.exports = function (grunt) { | ||
'use strict'; | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
uglify: { | ||
target: { | ||
files: { | ||
'build/js/bootstrap-datetimepicker.min.js': 'src/js/bootstrap-datetimepicker.js' | ||
} | ||
}, | ||
options: { | ||
mangle: true, | ||
compress: { | ||
dead_code: false // jshint ignore:line | ||
}, | ||
output: { | ||
ascii_only: true // jshint ignore:line | ||
}, | ||
report: 'min', | ||
preserveComments: 'some' | ||
} | ||
}, | ||
jshint: { | ||
all: [ | ||
'Gruntfile.js', 'src/js/*.js', 'test/*.js' | ||
], | ||
options: { | ||
'browser': true, | ||
'node': true, | ||
'jquery': true, | ||
'boss': false, | ||
'curly': true, | ||
'debug': false, | ||
'devel': false, | ||
'eqeqeq': true, | ||
'bitwise': true, | ||
'eqnull': true, | ||
'evil': false, | ||
'forin': true, | ||
'immed': false, | ||
'laxbreak': false, | ||
'newcap': true, | ||
'noarg': true, | ||
'noempty': false, | ||
'nonew': false, | ||
'onevar': true, | ||
'plusplus': false, | ||
'regexp': false, | ||
'undef': true, | ||
'sub': true, | ||
'strict': true, | ||
'unused': true, | ||
'white': true, | ||
'es3': true, | ||
'camelcase': true, | ||
'quotmark': 'single', | ||
'globals': { | ||
'define': false, | ||
'moment': false, | ||
// Jasmine | ||
'jasmine': false, | ||
'describe': false, | ||
'xdescribe': false, | ||
'expect': false, | ||
'it': false, | ||
'xit': false, | ||
'spyOn': false, | ||
'beforeEach': false, | ||
'afterEach': false | ||
} | ||
} | ||
}, | ||
jscs: { | ||
all: [ | ||
'Gruntfile.js', 'src/js/*.js', 'test/*.js' | ||
], | ||
options: { | ||
config: '.jscs.json' | ||
} | ||
}, | ||
less: { | ||
production: { | ||
options: { | ||
cleancss: true, | ||
compress: true, | ||
paths: 'node_modules' | ||
}, | ||
files: { | ||
'build/css/bootstrap-datetimepicker.min.css': 'src/less/bootstrap-datetimepicker-build.less' | ||
} | ||
}, | ||
development: { | ||
options: { | ||
paths: 'node_modules' | ||
}, | ||
files: { | ||
'build/css/bootstrap-datetimepicker.css': 'src/less/bootstrap-datetimepicker-build.less' | ||
} | ||
} | ||
}, | ||
env: { | ||
paris: { | ||
TZ: 'Europe/Paris' // sets env for phantomJS https://github.com/ariya/phantomjs/issues/10379#issuecomment-36058589 | ||
} | ||
}, | ||
connect: { | ||
server: { | ||
options: { | ||
port: 8099 | ||
} | ||
} | ||
}, | ||
jasmine: { | ||
customTemplate: { | ||
src: 'src/js/*.js', | ||
options: { | ||
specs: 'test/*Spec.js', | ||
helpers: 'test/*Helper.js', | ||
host: 'http://127.0.0.1:8099', | ||
styles: [ | ||
'node_modules/bootstrap/dist/css/bootstrap.min.css', | ||
'build/css/bootstrap-datetimepicker.min.css' | ||
], | ||
vendor: [ | ||
'node_modules/jquery/dist/jquery.min.js', | ||
'node_modules/moment/min/moment-with-locales.min.js', | ||
'node_modules/moment-timezone/moment-timezone.js', | ||
'node_modules/bootstrap/dist/js/bootstrap.min.js' | ||
], | ||
display: 'none', | ||
summary: 'true' | ||
} | ||
} | ||
}, | ||
nugetpack: { | ||
less: { | ||
src: 'src/nuget/Bootstrap.v3.Datetimepicker.nuspec', | ||
dest: 'build/nuget', | ||
options: { | ||
version: '<%= pkg.version %>' | ||
} | ||
}, | ||
css: { | ||
src: 'src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec', | ||
dest: 'build/nuget', | ||
options: { | ||
version: '<%= pkg.version %>' | ||
} | ||
} | ||
} | ||
}); | ||
|
||
grunt.loadTasks('tasks'); | ||
|
||
grunt.loadNpmTasks('grunt-env'); | ||
grunt.loadNpmTasks('grunt-contrib-connect'); | ||
grunt.loadNpmTasks('grunt-contrib-jasmine'); | ||
grunt.loadNpmTasks('grunt-nuget'); | ||
|
||
require('load-grunt-tasks')(grunt); | ||
grunt.registerTask('default', ['jshint', 'jscs', 'less', 'env:paris', 'connect', 'jasmine']); | ||
grunt.registerTask('build:travis', [ | ||
// code style | ||
'jshint', 'jscs', | ||
// build | ||
'uglify', 'less', | ||
// tests | ||
'env:paris', 'connect', 'jasmine' | ||
]); | ||
|
||
// Task to be run when building | ||
grunt.registerTask('build', ['jshint', 'jscs', 'uglify', 'less']); | ||
|
||
grunt.registerTask('test', ['jshint', 'jscs', 'uglify', 'less', 'env:paris', 'connect', 'jasmine']); | ||
|
||
grunt.registerTask('docs', 'Generate docs', function () { | ||
grunt.util.spawn({ | ||
cmd: 'mkdocs', | ||
args: ['build', '--clean'] | ||
}); | ||
}); | ||
|
||
grunt.registerTask('release', function (version) { | ||
if (!version || version.split('.').length !== 3) { | ||
grunt.fail.fatal('malformed version. Use grunt release:1.2.3'); | ||
} | ||
|
||
grunt.task.run([ | ||
'bump_version:' + version, | ||
'build:travis', | ||
'docs' | ||
]); | ||
}); | ||
}; |
21 changes: 21 additions & 0 deletions
21
bower_components/eonasdan-bootstrap-datetimepicker/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015 Jonathan Peterson (@Eonasdan) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
44 changes: 44 additions & 0 deletions
44
bower_components/eonasdan-bootstrap-datetimepicker/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Bootstrap 3 Date/Time Picker | ||
![GitHub version](https://badge.fury.io/gh/Eonasdan%2Fbootstrap-datetimepicker.png) ![Travis](https://travis-ci.org/Eonasdan/bootstrap-datetimepicker.svg?branch=development) | ||
|
||
![DateTimePicker](http://i.imgur.com/nfnvh5g.png) | ||
|
||
## [View the manual and demos](http://eonasdan.github.io/bootstrap-datetimepicker/) | ||
|
||
#Notice | ||
The issue tracker is now solely for bug reports. | ||
|
||
SO: http://stackoverflow.com/tags/eonasdan-datetimepicker | ||
|
||
New issues that are requests for "how do I.." will be closed and redirected to Stack Overflow. | ||
|
||
# v4.17.42 | ||
|
||
Is the current stable release. The latest and greatest changes are available from the [development branch](https://github.com/Eonasdan/bootstrap-datetimepicker/tree/development) | ||
|
||
# Version 5 | ||
|
||
IMPORANT! The Nuget packages will be depreciated in this release. Moving forward, Asp.Net/Nuget will **NOT** be delivering content packages like this one and you will need to use bower. See [this issue for more]( https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1128) | ||
|
||
v5 is [in planning](https://github.com/Eonasdan/bootstrap-datetimepicker/issues/841). We welcome your suggestions. | ||
|
||
A major update is a great time to make be able to make breaking changes. | ||
|
||
## Submitting Issues | ||
If you have issues, please check the following first: | ||
* Have you read the docs? | ||
* Do you have the latest version of momentjs? | ||
* Do you have the latest version of jQuery? | ||
* Please test and/or fork [this jsfiddle](http://jsfiddle.net/Eonasdan/0Ltv25o8/) with an example of your issue before you post an issue here. | ||
* Please indicate which version of the picker you are using (this can be found at the top of any included file) | ||
|
||
## Where do you use this? | ||
I'd love to know if your public site is using this plugin and list your logo on the documentation site. Please email me `me at eonasdan dot com`. | ||
|
||
##Priority support is available at an hourly rate. | ||
|
||
If you have an urgent request, bug or need installation help, please contact me at `me at eonasdan dot com` for a quote. | ||
|
||
## [Installation instructions](http://eonasdan.github.io/bootstrap-datetimepicker/Installing/) | ||
|
||
## [Change Log](http://eonasdan.github.io/bootstrap-datetimepicker/Changelog/) |
34 changes: 34 additions & 0 deletions
34
bower_components/eonasdan-bootstrap-datetimepicker/bower.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "eonasdan-bootstrap-datetimepicker", | ||
"version": "4.17.42", | ||
"main": [ | ||
"build/css/bootstrap-datetimepicker.min.css", | ||
"build/js/bootstrap-datetimepicker.min.js" | ||
], | ||
"dependencies": { | ||
"jquery": ">=1.8.3", | ||
"moment": ">=2.10.5" | ||
}, | ||
"homepage": "https://github.com/Eonasdan/bootstrap-datetimepicker", | ||
"authors": [ | ||
"Eonasdan" | ||
], | ||
"description": "bootstrap3 datetimepicker", | ||
"keywords": [ | ||
"twitter-bootstrap", | ||
"bootstrap", | ||
"datepicker", | ||
"datetimepicker", | ||
"timepicker", | ||
"moment" | ||
], | ||
"license": "MIT", | ||
"private": false, | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
] | ||
} |
Oops, something went wrong.