mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 00:53:22 -05:00
Adds moment dot files.
This commit is contained in:
parent
4bb9b043ad
commit
7b65374c13
BIN
js/2.19.1.tar.gz
Normal file
BIN
js/2.19.1.tar.gz
Normal file
Binary file not shown.
17
js/moment/.editorconfig
Normal file
17
js/moment/.editorconfig
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.{js,json}]
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.{yml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
4
js/moment/.gitattributes
vendored
Normal file
4
js/moment/.gitattributes
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# we don't have non-text files, don't take chances with git's text=auto
|
||||||
|
* text
|
||||||
|
# this file is read by nuget (Windows) tooling, lets keep it happy
|
||||||
|
Moment.js.nuspec eol=crlf
|
15
js/moment/.gitignore
vendored
Normal file
15
js/moment/.gitignore
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
node_modules/
|
||||||
|
.DS_Store
|
||||||
|
min/moment+customlangs.js
|
||||||
|
min/moment+customlangs.min.js
|
||||||
|
sauce_connect.log
|
||||||
|
.sauce-labs.creds
|
||||||
|
npm-debug.log
|
||||||
|
.build*
|
||||||
|
build
|
||||||
|
coverage
|
||||||
|
nyc_output
|
||||||
|
.nyc_output
|
||||||
|
.coveralls.yml
|
||||||
|
.vscode/
|
||||||
|
.idea
|
65
js/moment/.jscs.json
Normal file
65
js/moment/.jscs.json
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
"requireCurlyBraces": [
|
||||||
|
"if",
|
||||||
|
"else",
|
||||||
|
"for",
|
||||||
|
"while",
|
||||||
|
"do",
|
||||||
|
"try",
|
||||||
|
"catch"
|
||||||
|
],
|
||||||
|
"requireSpaceAfterKeywords": [
|
||||||
|
"if",
|
||||||
|
"else",
|
||||||
|
"for",
|
||||||
|
"while",
|
||||||
|
"do",
|
||||||
|
"switch",
|
||||||
|
"return",
|
||||||
|
"try",
|
||||||
|
"catch"
|
||||||
|
],
|
||||||
|
"requireSpaceBeforeBlockStatements": true,
|
||||||
|
"requireParenthesesAroundIIFE": true,
|
||||||
|
"requireSpacesInConditionalExpression": true,
|
||||||
|
"requireSpacesInAnonymousFunctionExpression": {
|
||||||
|
"beforeOpeningRoundBrace": true,
|
||||||
|
"beforeOpeningCurlyBrace": true
|
||||||
|
},
|
||||||
|
"requireSpacesInNamedFunctionExpression": {
|
||||||
|
"beforeOpeningCurlyBrace": true
|
||||||
|
},
|
||||||
|
"disallowSpacesInNamedFunctionExpression": {
|
||||||
|
"beforeOpeningRoundBrace": true
|
||||||
|
},
|
||||||
|
"requireBlocksOnNewline": true,
|
||||||
|
"disallowPaddingNewlinesInBlocks": true,
|
||||||
|
"disallowEmptyBlocks": true,
|
||||||
|
"disallowSpacesInsideObjectBrackets": true,
|
||||||
|
"disallowSpacesInsideArrayBrackets": true,
|
||||||
|
"disallowSpacesInsideParentheses": true,
|
||||||
|
"requireCommaBeforeLineBreak": true,
|
||||||
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
||||||
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
||||||
|
"requireSpaceBeforeBinaryOperators": [
|
||||||
|
"=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=",
|
||||||
|
"&=", "|=", "^=",
|
||||||
|
|
||||||
|
"+", "-", "*", "/", "%", "<<", ">>", ">>>", "&",
|
||||||
|
"|", "^", "&&", "||", "===", "==", ">=",
|
||||||
|
"<=", "<", ">", "!=", "!=="
|
||||||
|
],
|
||||||
|
"requireSpaceAfterBinaryOperators": true,
|
||||||
|
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
|
||||||
|
"disallowKeywords": ["with"],
|
||||||
|
"disallowMultipleLineStrings": true,
|
||||||
|
"validateIndentation": 4,
|
||||||
|
"disallowTrailingWhitespace": true,
|
||||||
|
"disallowTrailingComma": true,
|
||||||
|
"requireLineFeedAtFileEnd": true,
|
||||||
|
"requireCapitalizedConstructors": true,
|
||||||
|
"validateQuoteMarks": {
|
||||||
|
"mark": "'",
|
||||||
|
"escape": true
|
||||||
|
}
|
||||||
|
}
|
31
js/moment/.jshintrc
Normal file
31
js/moment/.jshintrc
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"node" : true,
|
||||||
|
"browser" : true,
|
||||||
|
"boss" : false,
|
||||||
|
"curly" : true,
|
||||||
|
"debug" : false,
|
||||||
|
"devel" : false,
|
||||||
|
"eqeqeq" : true,
|
||||||
|
"eqnull" : true,
|
||||||
|
"esnext" : true,
|
||||||
|
"evil" : false,
|
||||||
|
"forin" : false,
|
||||||
|
"immed" : false,
|
||||||
|
"laxbreak" : false,
|
||||||
|
"newcap" : true,
|
||||||
|
"noarg" : true,
|
||||||
|
"noempty" : false,
|
||||||
|
"nonew" : false,
|
||||||
|
"onevar" : true,
|
||||||
|
"plusplus" : false,
|
||||||
|
"regexp" : false,
|
||||||
|
"undef" : true,
|
||||||
|
"sub" : true,
|
||||||
|
"strict" : false,
|
||||||
|
"white" : true,
|
||||||
|
"es3" : false,
|
||||||
|
"camelcase" : true,
|
||||||
|
"globals": {
|
||||||
|
"define": false
|
||||||
|
}
|
||||||
|
}
|
3
js/moment/.npmignore
Normal file
3
js/moment/.npmignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
test
|
||||||
|
min/tests.js
|
||||||
|
.npmignore
|
8
js/moment/.spmignore
Normal file
8
js/moment/.spmignore
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
benchmarks
|
||||||
|
bower_components
|
||||||
|
meteor
|
||||||
|
min
|
||||||
|
node_modules
|
||||||
|
scripts
|
||||||
|
tasks
|
||||||
|
test
|
25
js/moment/.travis.yml
Normal file
25
js/moment/.travis.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "node"
|
||||||
|
- "7"
|
||||||
|
- "6"
|
||||||
|
- "5"
|
||||||
|
- "4"
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- secure: "M4STT2TOZxjzv3cZOgSVi0J4j6enrGjgE+p5YTNUw+S6Dg6FS5pTIPeafu1kGhfm7F0uk7xPVwGKYb+3uWNO9IhkKXz8jySMMQ2iKISHwECGNNuFNjSMD1vIjbIkLwV8TyPO/PurQg2s+WtYz+DoAZsDFKpdaRUtif64OjdQ3vQ="
|
||||||
|
- secure: "V+i7kHoGe7VXWGplPNqJz+aDtgDF9Dh9/guoaf2BPyXLvkFW6VgMjJyoNUW7JVsakrWzAz2ubb734vAPDt7BCcFQ2BqfatOmabdFogviCaXC6IqVaEkYS2eSP7MIUPIeWJgnTrDGzkFMDk4K7y5SiVJ8UmYwZxe+tJV7kbb0Yig="
|
||||||
|
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
- npm install -g grunt-cli
|
||||||
|
|
||||||
|
script: grunt build:travis
|
||||||
|
|
||||||
|
git:
|
||||||
|
depth: 10
|
||||||
|
|
||||||
|
# TODO: Fix problem with coveralls.io not displaying autogenerated files
|
||||||
|
# after_success: npm run coveralls
|
@ -38,23 +38,21 @@ $(function(){
|
|||||||
formatter:function(cell, formatterParams){
|
formatter:function(cell, formatterParams){
|
||||||
var shop_id = cell.getValue();
|
var shop_id = cell.getValue();
|
||||||
return '<a href="./shop_log.php?shop_id=' + shop_id + '">' + shop_id + "</a>";
|
return '<a href="./shop_log.php?shop_id=' + shop_id + '">' + shop_id + "</a>";
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{title:"Time In", field:"time_in", align:"center", width:100,
|
{title:"Time In", field:"time_in", align:"center", width:100,
|
||||||
formatter:function(cell, formatterParams){
|
mutator:function(value, data, type, mutatorParams, cell){
|
||||||
var time_in = cell.getValue();
|
var time_in = value.split(" ");
|
||||||
time_in = time_in.split(" ");
|
return time_in[1];
|
||||||
return time_in[1];
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{title:"Time Out", field:"time_out", align:"center", width:100,
|
{title:"Time Out", field:"time_out", align:"center", width:100, sorter:"time", sorterParams:{format:"hh:mm:ss"},
|
||||||
formatter:function(cell, formatterParams){
|
mutator:function(value, data, type, mutatorParams, cell){
|
||||||
var time_out = cell.getValue();
|
var time_out = value.split(" ");
|
||||||
time_out = time_out.split(" ");
|
return time_out[1];
|
||||||
return time_out[1];
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{title:"Total", field:"et", align:"center", width:100,
|
{title:"Total", field:"et", align:"center", width:100, sorter:"time", sorterParams:{format:"h:mm"},
|
||||||
formatter:function(cell, formatterParams){
|
formatter:function(cell, formatterParams){
|
||||||
var hr_total = cell.getValue();
|
var hr_total = cell.getValue();
|
||||||
if (hr_total) {
|
if (hr_total) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user