Skip to content

Commit 14789d3

Browse files
v0.0.0
0 parents  commit 14789d3

14 files changed

+3412
-0
lines changed

.eslintrc

Lines changed: 262 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,262 @@
1+
---
2+
plugins:
3+
- angular
4+
5+
env:
6+
browser: true
7+
mocha: true
8+
9+
globals:
10+
angular: false
11+
inject: false
12+
module: false
13+
describe: false
14+
beforeEach: false
15+
afterEach: false
16+
expect: false
17+
it: false
18+
sinon: false
19+
20+
rules:
21+
comma-dangle:
22+
- 2
23+
- always-multiline
24+
no-cond-assign: 2
25+
no-console: 2
26+
no-constant-condition: 2
27+
no-control-regex: 2
28+
no-debugger: 2
29+
no-dupe-args: 2
30+
no-dupe-keys: 2
31+
no-duplicate-case: 2
32+
no-empty-character-class: 2
33+
no-empty: 2
34+
no-ex-assign: 2
35+
no-extra-boolean-cast: 2
36+
no-extra-parens: 0
37+
no-extra-semi: 2
38+
no-func-assign: 2
39+
no-inner-declarations: 2
40+
no-invalid-regexp: 2
41+
no-irregular-whitespace: 2
42+
no-negated-in-lhs: 2
43+
no-obj-calls: 2
44+
no-regex-spaces: 2
45+
no-regex-spaces: 2
46+
no-reserved-keys: 0
47+
no-sparse-arrays: 2
48+
no-unreachable: 2
49+
valid-jsdoc: 2
50+
valid-typeof: 2
51+
no-unexpected-multiline: 2
52+
53+
accessor-pairs:
54+
- 2
55+
-
56+
getWithoutSet: false
57+
setWithoutGet: true
58+
complexity:
59+
- 1
60+
- 5
61+
consistent-return: 2
62+
curly: 2
63+
default-case: 2
64+
dot-notation: 2
65+
dot-location:
66+
- 2
67+
- property
68+
eqeqeq:
69+
- 2
70+
- smart
71+
guard-for-in: 2
72+
no-alert: 2
73+
no-caller: 2
74+
no-div-regex: 2
75+
no-else-return: 2
76+
no-empty-label: 2
77+
no-eq-null: 2
78+
no-eval: 2
79+
no-extend-native: 2
80+
no-extra-bind: 2
81+
no-fallthrough: 2
82+
no-floating-decimal: 2
83+
no-implied-eval: 2
84+
no-iterator: 2
85+
no-labels: 2
86+
no-lone-blocks: 2
87+
no-loop-func: 2
88+
no-multi-spaces: 2
89+
no-multi-str: 2
90+
no-native-reassign: 2
91+
no-new-func: 2
92+
no-new: 2
93+
no-octal-escape: 2
94+
no-octal: 2
95+
no-param-reassign: 0
96+
no-process-env: 0
97+
no-proto: 2
98+
no-redeclare: 2
99+
no-return-assign: 2
100+
no-script-url: 2
101+
no-self-compare: 2
102+
no-sequences: 2
103+
no-throw-literal: 2
104+
no-unused-expressions: 2
105+
no-void: 2
106+
no-warning-comments: 0
107+
no-with: 2
108+
radix: 2
109+
vars-on-top: 2
110+
wrap-iife: 2
111+
yoda:
112+
- 2
113+
- always
114+
115+
strict: 0
116+
117+
no-catch-shadow: 2
118+
no-delete-var: 2
119+
no-label-var: 2
120+
no-shadow-restricted-names: 2
121+
no-shadow: 2
122+
no-undef-init: 2
123+
no-undef: 2
124+
no-undefined: 2
125+
no-unused-vars: 2
126+
no-use-before-define:
127+
- 2
128+
- nofunc
129+
130+
handle-callback-err: 2
131+
no-mixed-requires: 0
132+
no-new-require: 2
133+
no-path-concat: 2
134+
no-process-exit: 0
135+
no-restricted-modules: 0
136+
no-sync: 0
137+
138+
array-bracket-spacing:
139+
- 2
140+
- never
141+
brace-style: 0
142+
camelcase: 0
143+
comma-spacing:
144+
- 2
145+
-
146+
before: false
147+
after: true
148+
comma-style:
149+
- 2
150+
- last
151+
computed-property-spacing:
152+
- 2
153+
- never
154+
consistent-this:
155+
- 2
156+
- _this
157+
eol-last: 2
158+
func-names: 0
159+
func-style:
160+
- 2
161+
- declaration
162+
indent:
163+
- 2
164+
- 2
165+
-
166+
SwitchCase: 2
167+
key-spacing:
168+
- 2
169+
-
170+
beforeColon: false
171+
afterColon: true
172+
lines-around-comment: 0
173+
linebreak-style:
174+
- 2
175+
- unix
176+
max-nested-callbacks:
177+
- 2
178+
- 4
179+
new-cap:
180+
- 2
181+
-
182+
newIsCap: true
183+
capIsNew: true
184+
new-parens: 2
185+
newline-after-var:
186+
- 2
187+
- always
188+
new-parens: 2
189+
no-array-constructor: 2
190+
no-continue: 0
191+
no-inline-comments: 0
192+
no-lonely-if: 2
193+
no-mixed-spaces-and-tabs: 2
194+
no-multiple-empty-lines:
195+
- 2
196+
-
197+
max: 2
198+
no-nested-ternary: 0
199+
no-new-object: 2
200+
no-spaced-func: 2
201+
no-ternary: 0
202+
no-trailing-spaces: 2
203+
no-underscore-dangle: 0
204+
no-unneeded-ternary: 2
205+
object-curly-spacing:
206+
- 2
207+
- always
208+
one-var:
209+
- 2
210+
- never
211+
operator-assignment:
212+
- 2
213+
- always
214+
operator-linebreak:
215+
- 2
216+
- after
217+
padded-blocks: 0
218+
quote-props:
219+
- 2
220+
- as-needed
221+
padded-blocks: 0
222+
quotes:
223+
- 2
224+
- single
225+
padded-blocks: 0
226+
semi-spacing:
227+
- 2
228+
-
229+
before: false
230+
after: true
231+
space-infix-ops: 2
232+
semi:
233+
- 2
234+
- always
235+
sort-vars: 0
236+
space-after-keywords: 0
237+
space-before-blocks:
238+
- 2
239+
- always
240+
space-before-function-paren:
241+
- 2
242+
- never
243+
space-in-parens:
244+
- 2
245+
- never
246+
space-infix-ops: 2
247+
space-return-throw-case: 2
248+
space-unary-ops: 2
249+
spaced-comment:
250+
- 2
251+
- always
252+
-
253+
exceptions:
254+
- '-'
255+
wrap-regex: 2
256+
max-len:
257+
- 2
258+
- 100
259+
- 2
260+
max-params:
261+
- 2
262+
- 4

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Coverage directory used by tools like istanbul
2+
coverage
3+
4+
# Dependency directory
5+
node_modules/
6+
bower_components/
7+
8+
# Other
9+
*.log
10+
*..sublime-*

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- '0.12'
4+
before_script:
5+
- 'npm install'
6+
- 'bower install'
7+
script: npm test
8+
after_script: "npm install coveralls@2.10.0 && cat ./coverage/*/lcov.info | coveralls"

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 SimpliField
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

0 commit comments

Comments
 (0)