Skip to content

Commit 23b002b

Browse files
committed
Merge branch 'master' into gh-pages
2 parents 354d92c + a4d06d5 commit 23b002b

File tree

196 files changed

+73790
-0
lines changed

Some content is hidden

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

196 files changed

+73790
-0
lines changed

Gulpfile.js

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
var gulp = require('gulp'),
2+
less = require('gulp-less'),
3+
path = require('path'),
4+
prefix = require('gulp-autoprefixer'),
5+
minifyCSS = require('gulp-minify-css')
6+
server = require('tiny-lr')(),
7+
livereload = require('gulp-livereload'),
8+
sprite = require('gulp-sprite'),
9+
connect = require('gulp-connect');
10+
11+
gulp.task('styles', function() {
12+
gulp
13+
.src('./app/css/less/main.less')
14+
.pipe(less({
15+
paths: [path.join(__dirname, 'app', 'assets', 'less')]
16+
}))
17+
.pipe(prefix("last 1 version", "> 1%", "ie 8", "ie 7"))
18+
.pipe(minifyCSS())
19+
.pipe(gulp.dest('./app/css'))
20+
.pipe(livereload(server));
21+
});
22+
23+
gulp.task('connect', connect.server({
24+
root: __dirname + '/app',
25+
port: 9000,
26+
livereload: false
27+
}));
28+
29+
gulp.task('sprites', function() {
30+
gulp.src('./app/img/ico/*.png')
31+
.pipe(sprite('sprites.png', {
32+
imagePath: '/img',
33+
cssPath: './app/css/less',
34+
prefix: '',
35+
preprocessor: 'less'
36+
}))
37+
.pipe(gulp.dest('./app/img'));
38+
});
39+
40+
gulp.task('scripts', function() {
41+
gulp
42+
.src('./app/js/**/*.js')
43+
.pipe(livereload(server));
44+
});
45+
46+
gulp.task('views', function() {
47+
gulp
48+
.src('./app/**/*.html')
49+
.pipe(livereload(server));
50+
});
51+
52+
// The default task (called when you run `gulp`)
53+
gulp.task('default',['connect'], function() {
54+
server.listen(35729, function(err) {
55+
if (err) return console.log(err);
56+
gulp.watch('app/css/less/**/*.less', function() {
57+
gulp.run('styles');
58+
});
59+
gulp.watch('app/js/**/*.js', function() {
60+
gulp.run('scripts');
61+
});
62+
gulp.watch('app/html/**/*.html', function() {
63+
gulp.run('views');
64+
});
65+
gulp.watch('app/img/ico/*.png', function() {
66+
gulp.run('sprites');
67+
});
68+
});
69+
});
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "angular-animate",
3+
"version": "1.2.12",
4+
"main": "./angular-animate.js",
5+
"dependencies": {
6+
"angular": "1.2.12"
7+
},
8+
"homepage": "https://github.com/angular/bower-angular-animate",
9+
"_release": "1.2.12",
10+
"_resolution": {
11+
"type": "version",
12+
"tag": "v1.2.12",
13+
"commit": "36ace184345f02ba4e1e49f927931dfe2d948b3b"
14+
},
15+
"_source": "git://github.com/angular/bower-angular-animate.git",
16+
"_target": "~1.2.12",
17+
"_originalSource": "angular-animate",
18+
"_direct": true
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# bower-angular-animate
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/tree/master/src/ngAnimate).
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-animate
13+
```
14+
15+
Add a `<script>` to your `index.html`:
16+
17+
```html
18+
<script src="/bower_components/angular-animate/angular-animate.js"></script>
19+
```
20+
21+
And add `ngAnimate` as a dependency for your app:
22+
23+
```javascript
24+
angular.module('myApp', ['ngAnimate']);
25+
```
26+
27+
## Documentation
28+
29+
Documentation is available on the
30+
[AngularJS docs site](http://docs.angularjs.org/api/ngAnimate).
31+
32+
## License
33+
34+
The MIT License
35+
36+
Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
37+
38+
Permission is hereby granted, free of charge, to any person obtaining a copy
39+
of this software and associated documentation files (the "Software"), to deal
40+
in the Software without restriction, including without limitation the rights
41+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
42+
copies of the Software, and to permit persons to whom the Software is
43+
furnished to do so, subject to the following conditions:
44+
45+
The above copyright notice and this permission notice shall be included in
46+
all copies or substantial portions of the Software.
47+
48+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
49+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
51+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
52+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
53+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
54+
THE SOFTWARE.

0 commit comments

Comments
 (0)