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

Commit 693d704

Browse files
Colm Sealecseale
Colm Seale
authored andcommitted
Converted to UMD format, added support for angular v1.6
1 parent 8ac15ab commit 693d704

19 files changed

+625
-222
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015"]
3+
}

.eslintrc

Lines changed: 268 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,268 @@
1+
{
2+
"plugins": [
3+
"import",
4+
"jest",
5+
"angular"
6+
],
7+
"env": {
8+
"browser": true,
9+
"jasmine": true,
10+
"es6": true,
11+
"angular/angular": true,
12+
"angular/mocks": true
13+
},
14+
"extends": "eslint:recommended",
15+
"parserOptions": {
16+
"sourceType": "module"
17+
},
18+
"rules": {
19+
"accessor-pairs": "error",
20+
"array-bracket-spacing": [
21+
"error",
22+
"never"
23+
],
24+
"array-callback-return": "error",
25+
"arrow-body-style": "error",
26+
"arrow-parens": "error",
27+
"arrow-spacing": "error",
28+
"block-scoped-var": "error",
29+
"block-spacing": "error",
30+
"brace-style": "error",
31+
"callback-return": "error",
32+
"camelcase": "error",
33+
"capitalized-comments": "off",
34+
"class-methods-use-this": "error",
35+
"comma-dangle": "error",
36+
"comma-spacing": [
37+
"error",
38+
{
39+
"after": true,
40+
"before": false
41+
}
42+
],
43+
"comma-style": [
44+
"error",
45+
"last"
46+
],
47+
"complexity": "error",
48+
"computed-property-spacing": [
49+
"error",
50+
"never"
51+
],
52+
"consistent-return": "error",
53+
"consistent-this": "error",
54+
"curly": "error",
55+
"default-case": "error",
56+
"dot-location": [
57+
"error",
58+
"property"
59+
],
60+
"dot-notation": [
61+
"error",
62+
{
63+
"allowKeywords": true
64+
}
65+
],
66+
"eol-last": "off",
67+
"eqeqeq": "error",
68+
"func-call-spacing": "error",
69+
"func-name-matching": "error",
70+
"func-names": [
71+
"error",
72+
"never"
73+
],
74+
"func-style": [
75+
"error",
76+
"declaration"
77+
],
78+
"generator-star-spacing": "error",
79+
"global-require": "error",
80+
"guard-for-in": "error",
81+
"handle-callback-err": "error",
82+
"id-blacklist": "error",
83+
"id-length": "off",
84+
"id-match": "error",
85+
"indent": "off",
86+
"init-declarations": "off",
87+
"jsx-quotes": "error",
88+
"key-spacing": "error",
89+
"keyword-spacing": "off",
90+
"line-comment-position": "off",
91+
"linebreak-style": [
92+
"error",
93+
"unix"
94+
],
95+
"lines-around-comment": "error",
96+
"lines-around-directive": "error",
97+
"max-depth": "error",
98+
"max-len": "off",
99+
"max-lines": "error",
100+
"max-nested-callbacks": "error",
101+
"max-params": "error",
102+
"max-statements": "error",
103+
"max-statements-per-line": "error",
104+
"multiline-ternary": "error",
105+
"new-cap": "error",
106+
"new-parens": "error",
107+
"newline-after-var": "off",
108+
"newline-before-return": "off",
109+
"newline-per-chained-call": "error",
110+
"no-alert": "error",
111+
"no-array-constructor": "error",
112+
"no-await-in-loop": "error",
113+
"no-bitwise": "error",
114+
"no-caller": "error",
115+
"no-catch-shadow": "error",
116+
"no-compare-neg-zero": "error",
117+
"no-confusing-arrow": "error",
118+
"no-continue": "error",
119+
"no-div-regex": "error",
120+
"no-duplicate-imports": "error",
121+
"no-else-return": "error",
122+
"no-empty-function": "off",
123+
"no-eq-null": "error",
124+
"no-eval": "error",
125+
"no-extend-native": "error",
126+
"no-extra-bind": "error",
127+
"no-extra-label": "error",
128+
"no-extra-parens": "error",
129+
"no-floating-decimal": "error",
130+
"no-implicit-coercion": "error",
131+
"no-implicit-globals": "error",
132+
"no-implied-eval": "error",
133+
"no-inline-comments": "off",
134+
"no-inner-declarations": [
135+
"error",
136+
"functions"
137+
],
138+
"no-invalid-this": "off",
139+
"no-iterator": "error",
140+
"no-label-var": "error",
141+
"no-labels": "error",
142+
"no-lone-blocks": "error",
143+
"no-lonely-if": "error",
144+
"no-loop-func": "error",
145+
"no-magic-numbers": "off",
146+
"no-mixed-operators": "error",
147+
"no-mixed-requires": "error",
148+
"no-multi-assign": "off",
149+
"no-multi-spaces": "error",
150+
"no-multi-str": "error",
151+
"no-multiple-empty-lines": "error",
152+
"no-native-reassign": "error",
153+
"no-negated-condition": "error",
154+
"no-negated-in-lhs": "error",
155+
"no-nested-ternary": "error",
156+
"no-new": "error",
157+
"no-new-func": "error",
158+
"no-new-object": "error",
159+
"no-new-require": "error",
160+
"no-new-wrappers": "error",
161+
"no-octal-escape": "error",
162+
"no-param-reassign": "error",
163+
"no-path-concat": "error",
164+
"no-plusplus": "error",
165+
"no-process-env": "error",
166+
"no-process-exit": "error",
167+
"no-proto": "error",
168+
"no-prototype-builtins": "error",
169+
"no-restricted-globals": "error",
170+
"no-restricted-imports": "error",
171+
"no-restricted-modules": "error",
172+
"no-restricted-properties": "error",
173+
"no-restricted-syntax": "error",
174+
"no-return-assign": "error",
175+
"no-return-await": "error",
176+
"no-script-url": "error",
177+
"no-self-compare": "error",
178+
"no-sequences": "error",
179+
"no-shadow": "error",
180+
"no-shadow-restricted-names": "error",
181+
"no-spaced-func": "error",
182+
"no-sync": "error",
183+
"no-tabs": "off",
184+
"no-template-curly-in-string": "error",
185+
"no-ternary": "error",
186+
"no-throw-literal": "error",
187+
"no-trailing-spaces": "error",
188+
"no-undef-init": "error",
189+
"no-undefined": "error",
190+
"no-underscore-dangle": "error",
191+
"no-unmodified-loop-condition": "error",
192+
"no-unneeded-ternary": "error",
193+
"no-unused-expressions": "error",
194+
"no-use-before-define": "error",
195+
"no-useless-call": "error",
196+
"no-useless-computed-key": "error",
197+
"no-useless-concat": "off",
198+
"no-useless-constructor": "error",
199+
"no-useless-escape": "error",
200+
"no-useless-rename": "error",
201+
"no-useless-return": "error",
202+
"no-var": "off",
203+
"no-void": "error",
204+
"no-warning-comments": "error",
205+
"no-whitespace-before-property": "error",
206+
"no-with": "error",
207+
"nonblock-statement-body-position": "error",
208+
"object-curly-newline": "off",
209+
"object-curly-spacing": "error",
210+
"object-property-newline": "error",
211+
"object-shorthand": "off",
212+
"one-var": "off",
213+
"one-var-declaration-per-line": [
214+
"error",
215+
"initializations"
216+
],
217+
"operator-assignment": "error",
218+
"operator-linebreak": "error",
219+
"padded-blocks": "off",
220+
"prefer-arrow-callback": "off",
221+
"prefer-const": "error",
222+
"prefer-numeric-literals": "error",
223+
"prefer-promise-reject-errors": "error",
224+
"prefer-reflect": "off",
225+
"prefer-rest-params": "error",
226+
"prefer-spread": "error",
227+
"prefer-template": "off",
228+
"quote-props": "off",
229+
"quotes": [
230+
"error",
231+
"single"
232+
],
233+
"radix": "error",
234+
"require-await": "error",
235+
"require-jsdoc": "off",
236+
"rest-spread-spacing": "error",
237+
"semi": "error",
238+
"semi-spacing": "error",
239+
"sort-imports": "off",
240+
"sort-keys": "off",
241+
"sort-vars": "error",
242+
"space-before-blocks": "off",
243+
"space-before-function-paren": "off",
244+
"space-in-parens": [
245+
"error",
246+
"never"
247+
],
248+
"space-infix-ops": "error",
249+
"space-unary-ops": "error",
250+
"spaced-comment": "off",
251+
"strict": "off",
252+
"symbol-description": "error",
253+
"template-curly-spacing": "error",
254+
"template-tag-spacing": "error",
255+
"unicode-bom": [
256+
"error",
257+
"never"
258+
],
259+
"valid-jsdoc": "off",
260+
"vars-on-top": "off",
261+
"wrap-regex": "error",
262+
"yield-star-spacing": "error",
263+
"yoda": [
264+
"error",
265+
"never"
266+
]
267+
}
268+
}

.jshintrc

Lines changed: 0 additions & 26 deletions
This file was deleted.

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- "0.12"
4+
- "6"
55
before_script:
6-
- npm install -g [email protected] grunt-cli
7-
- bower install
6+
- npm install
87
after_success:
98
- cat ./coverage/*/lcov.info | ./node_modules/coveralls/bin/coveralls.js

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.4.2 - 2016-03-16
4+
- Support Angular.JS 1.6.x
5+
- Convert distributed library files to UMD format
6+
37
## 0.4.1 - 2016-01-16
48
- Added IE8 support to script loading ([#26](https://github.com/urish/angular-load/pull/26), contributed by [benmarch](https://github.com/benmarch))
59

Gruntfile.js

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)