Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

Commit 5ea649e

Browse files
committed
completing release 1.0.11
1 parent 49cc220 commit 5ea649e

File tree

3 files changed

+221
-0
lines changed

3 files changed

+221
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.jscsrc

+129
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
{
2+
"disallowAnonymousFunctions": null,
3+
"disallowCapitalizedComments": null,
4+
"disallowCommaBeforeLineBreak": null,
5+
"disallowDanglingUnderscores": null,
6+
"disallowEmptyBlocks": true,
7+
"disallowFunctionDeclarations": null,
8+
"disallowImplicitTypeConversion": null,
9+
"disallowKeywordsOnNewLine": null,
10+
"disallowKeywords": ["with"],
11+
"disallowMixedSpacesAndTabs": null,
12+
"disallowMultipleLineBreaks": true,
13+
"disallowMultipleLineStrings": true,
14+
"disallowMultipleVarDecl": null,
15+
"disallowNewlineBeforeBlockStatements": null,
16+
"disallowOperatorBeforeLineBreak": ["."],
17+
"disallowPaddingNewlinesBeforeKeywords": null,
18+
"disallowPaddingNewlinesInBlocks": null,
19+
"disallowPaddingNewLinesInObjects": null,
20+
"disallowQuotedKeysInObjects": null,
21+
"disallowSemicolons": null,
22+
"disallowSpaceAfterBinaryOperators": null,
23+
"disallowSpaceAfterKeywords": null,
24+
"disallowSpaceAfterLineComment": null,
25+
"disallowSpaceAfterObjectKeys": null,
26+
"disallowSpaceAfterPrefixUnaryOperators": null,
27+
"disallowSpaceBeforeBinaryOperators": null,
28+
"disallowSpaceBeforeBlockStatements": null,
29+
"disallowSpaceBeforeKeywords": null,
30+
"disallowSpaceBeforeObjectValues": null,
31+
"disallowSpaceBeforePostfixUnaryOperators": null,
32+
"disallowSpaceBetweenArguments": null,
33+
"disallowSpacesInAnonymousFunctionExpression": {
34+
"beforeOpeningRoundBrace": true
35+
},
36+
"disallowSpacesInCallExpression": null,
37+
"disallowSpacesInConditionalExpression": null,
38+
"disallowSpacesInForStatement": null,
39+
"disallowSpacesInFunctionDeclaration": null,
40+
"disallowSpacesInFunctionExpression": null,
41+
"disallowSpacesInFunction": null,
42+
"disallowSpacesInNamedFunctionExpression": null,
43+
"disallowSpacesInsideArrayBrackets": null,
44+
"disallowSpacesInsideObjectBrackets": null,
45+
"disallowSpacesInsideObjectBrackets": null,
46+
"disallowSpacesInsideParentheses": null,
47+
"disallowTrailingComma": true,
48+
"disallowTrailingWhitespace": null,
49+
"disallowYodaConditions": true,
50+
"maximumLineLength": {
51+
"value": 140,
52+
"allowRegex": true
53+
},
54+
"requireAlignedObjectValues": null,
55+
"requireAnonymousFunctions": null,
56+
"requireBlocksOnNewline": 1,
57+
"requireCamelCaseOrUpperCaseIdentifiers": true,
58+
"requireCapitalizedComments": null,
59+
"requireCapitalizedConstructors": true,
60+
"requireCommaBeforeLineBreak": true,
61+
"requireCurlyBraces": [
62+
"if",
63+
"else",
64+
"for",
65+
"while",
66+
"do",
67+
"try",
68+
"catch"
69+
],
70+
"requireDotNotation": "except_snake_case",
71+
"requireFunctionDeclarations": null,
72+
"requireKeywordsOnNewLine": null,
73+
"requireLineBreakAfterVariableAssignment": null,
74+
"requireLineFeedAtFileEnd": true,
75+
"requireMultipleVarDecl": null,
76+
"requireNewlineBeforeBlockStatements": null,
77+
"requireOperatorBeforeLineBreak": true,
78+
"requirePaddingNewlinesBeforeKeywords": null,
79+
"requirePaddingNewlinesInBlocks": null,
80+
"requirePaddingNewLinesInObjects": null,
81+
"requireParenthesesAroundIIFE": true,
82+
"requireQuotedKeysInObjects": null,
83+
"requireSpaceAfterBinaryOperators": null,
84+
"requireSpaceAfterKeywords": [
85+
"if",
86+
"for",
87+
"while",
88+
"do",
89+
"switch",
90+
"return",
91+
"try"
92+
],
93+
"requireSpaceAfterLineComment": null,
94+
"requireSpaceAfterObjectKeys": null,
95+
"requireSpaceAfterPrefixUnaryOperators": null,
96+
"requireSpaceBeforeBinaryOperators": null,
97+
"requireSpaceBeforeBlockStatements": null,
98+
"requireSpaceBeforeKeywords": [
99+
"else", "while", "catch"
100+
],
101+
"requireSpaceBeforeObjectValues": null,
102+
"requireSpaceBeforePostfixUnaryOperators": null,
103+
"requireSpaceBetweenArguments": null,
104+
"requireSpacesInAnonymousFunctionExpression": null,
105+
"requireSpacesInCallExpression": null,
106+
"requireSpacesInConditionalExpression": null,
107+
"requireSpacesInForStatement": null,
108+
"requireSpacesInFunctionDeclaration": {
109+
"beforeOpeningCurlyBrace": true
110+
},
111+
"requireSpacesInFunctionExpression": {
112+
"beforeOpeningCurlyBrace": true
113+
},
114+
"requireSpacesInFunction": null,
115+
"requireSpacesInNamedFunctionExpression": null,
116+
"requireSpacesInsideArrayBrackets": null,
117+
"requireSpacesInsideObjectBrackets": null,
118+
"requireSpacesInsideParentheses": null,
119+
"requireTrailingComma": null,
120+
"requireYodaConditions": null,
121+
"safeContextKeyword": null,
122+
"validateJSDoc": {
123+
"checkParamNames": true,
124+
"requireParamTypes": true
125+
},
126+
"validateLineBreaks": "LF",
127+
"validateParameterSeparator": ", ",
128+
"validateQuoteMarks": { "mark": "'", "escape": true }
129+
}

.jshintrc

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
// JSHint Default Configuration File (as on JSHint website)
3+
// See http://jshint.com/docs/ for more details
4+
5+
"maxerr" : 100, // {int} Maximum error before stopping
6+
7+
// Enforcing
8+
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
9+
"camelcase" : false, // true: Identifiers must be in camelCase
10+
"curly" : true, // true: Require {} for every new block or scope
11+
"eqeqeq" : true, // true: Require triple equals (===) for comparison
12+
"forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
13+
"freeze" : false, // true: prohibits overwriting prototypes of native objects such as Array, Date etc.
14+
"immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
15+
"latedef" : false, // true: Require variables/functions to be defined before being used
16+
"newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
17+
"noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
18+
"noempty" : true, // true: Prohibit use of empty blocks
19+
"nonbsp" : true, // true: Prohibit "non-breaking whitespace" characters.
20+
"nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
21+
"plusplus" : false, // true: Prohibit use of `++` & `--`
22+
"quotmark" : false, // Quotation mark consistency:
23+
// false : do nothing (default)
24+
// true : ensure whatever is used is consistent
25+
// "single" : require single quotes
26+
// "double" : require double quotes
27+
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
28+
"unused" : "vars", // Unused variables:
29+
// true : all variables, last function parameter
30+
// "vars" : all variables only
31+
// "strict" : all variables, all function parameters
32+
"strict" : false, // true: Requires all functions run in ES5 Strict Mode
33+
"maxparams" : false, // {int} Max number of formal params allowed per function
34+
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
35+
"maxstatements" : false, // {int} Max number statements per function
36+
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
37+
"maxlen" : false, // {int} Max number of characters per line
38+
39+
// Relaxing
40+
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
41+
"boss" : false, // true: Tolerate assignments where comparisons would be expected
42+
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
43+
"eqnull" : false, // true: Tolerate use of `== null`
44+
"es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
45+
"esnext" : true, // true: Allow ES.next (ES6) syntax (ex: `const`)
46+
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
47+
// (ex: `for each`, multiple try/catch, function expression…)
48+
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
49+
"expr" : false, // true: Tolerate `ExpressionStatement` as Programs
50+
"funcscope" : false, // true: Tolerate defining variables inside control statements
51+
"globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
52+
"iterator" : false, // true: Tolerate using the `__iterator__` property
53+
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
54+
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
55+
"laxcomma" : false, // true: Tolerate comma-first style coding
56+
"loopfunc" : false, // true: Tolerate functions being defined in loops
57+
"multistr" : false, // true: Tolerate multi-line strings
58+
"noyield" : false, // true: Tolerate generator functions with no yield statement in them.
59+
"notypeof" : false, // true: Tolerate invalid typeof operator values
60+
"proto" : false, // true: Tolerate using the `__proto__` property
61+
"scripturl" : false, // true: Tolerate script-targeted URLs
62+
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
63+
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
64+
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
65+
"validthis" : false, // true: Tolerate using this in a non-constructor function
66+
67+
// Environments
68+
"browser" : true, // Web Browser (window, document, etc)
69+
"browserify" : false, // Browserify (node.js code in the browser)
70+
"couch" : false, // CouchDB
71+
"devel" : true, // Development/debugging (alert, confirm, etc)
72+
"dojo" : false, // Dojo Toolkit
73+
"jasmine" : false, // Jasmine
74+
"jquery" : false, // jQuery
75+
"mocha" : true, // Mocha
76+
"mootools" : false, // MooTools
77+
"node" : true, // Node.js
78+
"nonstandard" : false, // Widely adopted globals (escape, unescape, etc)
79+
"phantom" : false, // PhantomJS
80+
"prototypejs" : false, // Prototype and Scriptaculous
81+
"qunit" : false, // QUnit
82+
"rhino" : false, // Rhino
83+
"shelljs" : false, // ShellJS
84+
"typed" : false, // Globals for typed array constructions
85+
"worker" : false, // Web Workers
86+
"wsh" : false, // Windows Scripting Host
87+
"yui" : false, // Yahoo User Interface
88+
89+
// Custom Globals
90+
"globals" : {} // additional predefined global variables
91+
}

0 commit comments

Comments
 (0)