Skip to content

Commit 91f96dd

Browse files
committed
initial commit
0 parents  commit 91f96dd

17 files changed

+466
-0
lines changed

.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "bower_components"
3+
}

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/.idea/
2+
/bower_components/
3+
/node_modules/
4+
/npm-debug.log

.jshintrc

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"bitwise": true,
3+
"boss": true,
4+
"browser": true,
5+
"camelcase": false,
6+
"curly": true,
7+
"eqeqeq": true,
8+
"expr": true,
9+
"forin": true,
10+
"globals": {
11+
"_": false,
12+
"after": false,
13+
"afterEach": false,
14+
"angular": false,
15+
"assert": false,
16+
"before": false,
17+
"beforeEach": false,
18+
"browserTrigger": false,
19+
"debugger": false,
20+
"describe": false,
21+
"expect": false,
22+
"it": false,
23+
"inject": false,
24+
"module": false,
25+
"Parse": false,
26+
"sinon": false
27+
},
28+
"immed": true,
29+
"indent": 2,
30+
"jquery": true,
31+
"latedef": true,
32+
"maxcomplexity": 10,
33+
"maxdepth": 2,
34+
"maxerr": 100,
35+
"maxlen": 120,
36+
"maxparams": 4,
37+
"maxstatements": 8,
38+
"newcap": true,
39+
"noarg": true,
40+
"node": true,
41+
"noempty": true,
42+
"nonew": true,
43+
"onevar": false,
44+
"phantom": true,
45+
"plusplus": true,
46+
"quotmark": "single",
47+
"strict": false,
48+
"trailing": false,
49+
"undef": true,
50+
"unused": true,
51+
"white": true
52+
}
53+

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v0.10.32

LICENSE

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

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
angular-devtrw-filters
2+
===
3+
4+
This provides common angular filters used in DevTRW projects.
5+
6+
7+
Installation
8+
===
9+
10+
1. Install the source files using bower: `bower install angular-devtrw-filters`
11+
2. Include either source file in `dist/`, they are both the same.
12+
13+
__Note:__ _Both files have the same content however one has a hash of the file appended to
14+
the filename and will change with each version. The revisioned filename is referenced in
15+
the `main` section of the contained `bower.json` for use with automated build tools._
16+
3. Include the `dtrw.filters` module (or the specific filter module needed) in your Angular app
17+
18+
Usage
19+
===
20+
21+
Use the filters like you would use any other angualr filter. See the
22+
[Angular Filter Docs](https://docs.angularjs.org/api/ng/filter/filter) for more information.
23+
24+
License
25+
===
26+
See the included LICENSE file.

bower.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "angular-devtrw-filters",
3+
"main": ["dist/dtrw.filters-d2f64ea4.js"],
4+
"version": "1.0.0",
5+
"description": "Provides common angular filters used in DevTRW projects",
6+
"authors": [
7+
"Steven Nance <steven@devtrw.com>"
8+
],
9+
"keywords": ["angular", "angularjs", "javascript", "filter", "filters"],
10+
"ignore": [
11+
"**/.*",
12+
"bower_components",
13+
"gulpfile.js",
14+
"node_modules",
15+
"package.json",
16+
"src"
17+
],
18+
"overrides": {
19+
"angular": {
20+
"ignore": true
21+
}
22+
},
23+
"dependencies": { },
24+
"devDependencies": {
25+
"angular": "*",
26+
"angular-mocks": "~1.3.15"
27+
}
28+
}

dist/dtrw.filters-d2f64ea4.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dtrw.filters.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)