Skip to content

Commit 07e8fc5

Browse files
committed
Updates
2 parents 4d810d3 + ffb1d1c commit 07e8fc5

File tree

234 files changed

+73175
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+73175
-1
lines changed

.bowerrc

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

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ AngularJS To S3 Upload App
33

44
A sample application written using AngularJS and the AWS JS SDK to demonstrate uploading files to AWS S3 using only JavaScript.
55

6+
[You can view a live demo of this application here](http://cheynewallace.github.io/angular-s3-upload)
7+
68
Other libraries were used for aesthetic purposes but AngularJS and the AWS JS SDK are the only required libraries.
79

810
Required Libraries
@@ -11,5 +13,20 @@ Required Libraries
1113
* AWS JavaScript SDK
1214

1315

16+
Compiling The AWS JS SDK
17+
-------------------------
18+
19+
The AWS JS SDK is huge. In this application, for simplicity, I have used bower to install the AWS JS SDK, although it weighs in at around 230KB even when minified.
20+
I would recommend lazy loading the library only when needed.
21+
22+
I was able to shave about 50KB off the file size by compiling an older version of the SDK using the NodeJS modules mentioned here: [Compiling The AWS SDK](http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/browser-building.html)
23+
24+
The command used to compile and minify only the S3 components
25+
26+
`MINIFY=1 node dist-tools/browser-builder.js s3 > aws-sdk.min.js`
27+
28+
I have included a copy of my custom built aws-sdk.js under aws-sdk-custom in the components directory of this repo.
29+
30+
1431

1532

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "angular",
3+
"version": "1.2.20",
4+
"main": "./angular.js",
5+
"dependencies": {},
6+
"homepage": "https://github.com/angular/bower-angular",
7+
"_release": "1.2.20",
8+
"_resolution": {
9+
"type": "version",
10+
"tag": "v1.2.20",
11+
"commit": "afae4862f83999b26797daa7e76af94b2b74e575"
12+
},
13+
"_source": "git://github.com/angular/bower-angular.git",
14+
"_target": "~1.2.19",
15+
"_originalSource": "angular"
16+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# bower-angular
2+
3+
This repo is for distribution on `bower`. The source for this module is in the
4+
[main AngularJS repo](https://github.com/angular/angular.js).
5+
Please file issues and pull requests against that repo.
6+
7+
## Install
8+
9+
Install with `bower`:
10+
11+
```shell
12+
bower install angular
13+
```
14+
15+
Add a `<script>` to your `index.html`:
16+
17+
```html
18+
<script src="/bower_components/angular/angular.js"></script>
19+
```
20+
21+
## Documentation
22+
23+
Documentation is available on the
24+
[AngularJS docs site](http://docs.angularjs.org/).
25+
26+
## License
27+
28+
The MIT License
29+
30+
Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
31+
32+
Permission is hereby granted, free of charge, to any person obtaining a copy
33+
of this software and associated documentation files (the "Software"), to deal
34+
in the Software without restriction, including without limitation the rights
35+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36+
copies of the Software, and to permit persons to whom the Software is
37+
furnished to do so, subject to the following conditions:
38+
39+
The above copyright notice and this permission notice shall be included in
40+
all copies or substantial portions of the Software.
41+
42+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
48+
THE SOFTWARE.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* Include this file in your html if you are using the CSP mode. */
2+
3+
@charset "UTF-8";
4+
5+
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
6+
.ng-cloak, .x-ng-cloak,
7+
.ng-hide {
8+
display: none !important;
9+
}
10+
11+
ng\:form {
12+
display: block;
13+
}
14+
15+
.ng-animate-block-transitions {
16+
transition:0s all!important;
17+
-webkit-transition:0s all!important;
18+
}
19+
20+
/* show the element during a show/hide animation when the
21+
* animation is ongoing, but the .ng-hide class is active */
22+
.ng-hide-add-active, .ng-hide-remove {
23+
display: block!important;
24+
}

0 commit comments

Comments
 (0)