Skip to content
This repository was archived by the owner on Dec 30, 2018. It is now read-only.

Commit 2e46ff1

Browse files
committed
update for AngularJS 1.3
1 parent 315cabd commit 2e46ff1

File tree

6 files changed

+7998
-3925
lines changed

6 files changed

+7998
-3925
lines changed

bower.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "jsGen",
3-
"version": "0.8.2",
3+
"version": "0.8.3",
44
"main": "index.html",
55
"dependencies": {
6-
"angular": ">=1.2.0",
7-
"angular-animate": ">=1.2.0",
8-
"angular-cookies": ">=1.2.0",
9-
"angular-resource": ">=1.2.0",
10-
"angular-route": ">=1.2.0",
6+
"angular": ">=1.3.0",
7+
"angular-animate": ">=1.3.0",
8+
"angular-cookies": ">=1.3.0",
9+
"angular-resource": ">=1.3.0",
10+
"angular-route": ">=1.3.0",
1111
"crypto-js": "https://github.com/evanvosberg/crypto-js.git",
1212
"pure": "~0.5.x",
1313
"font-awesome": ">=3.2.1",

gulpfile.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var gulp = require('gulp'),
44
gutil = require('gulp-util'),
55
clean = require('gulp-clean'),
6-
runSequence = require('run-sequence'),
6+
gulpSequence = require('gulp-sequence'),
77
jshint = require('gulp-jshint'),
88
concat = require('gulp-concat'),
99
imagemin = require('gulp-imagemin'),
@@ -126,10 +126,6 @@ gulp.task('usemin', function () {
126126
.pipe(gulp.dest('static/cdn/'));
127127
});
128128

129-
gulp.task('default', function (cb) {
130-
runSequence('jshint', 'clean', ['css', 'font', 'js-lib', 'js-app', 'html', 'md', 'image', 'ico'], cb);
131-
});
129+
gulp.task('default', gulpSequence('jshint', 'clean', ['css', 'font', 'js-lib', 'js-app', 'html', 'md', 'image', 'ico']));
132130

133-
gulp.task('build', function (cb) {
134-
runSequence('default', 'cdn', 'usemin', cb);
135-
});
131+
gulp.task('build', gulpSequence('default', 'cdn', 'usemin'));

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"url": "http://weibo.com/zensh"
66
},
77
"name": "jsgen",
8-
"version": "0.8.2",
8+
"version": "0.8.3",
99
"cdnHost": "http://cdn.angularjs.cn",
1010
"description": "",
1111
"keywords": [
@@ -25,8 +25,8 @@
2525
},
2626
"dependencies": {
2727
"rrestjs": ">=1.3.x",
28-
"mongoskin": ">=1.3.x",
29-
"redis": ">=0.10.x",
28+
"mongoskin": "~1.3.x",
29+
"redis": "~0.10.x",
3030
"marked": ">=0.3.x",
3131
"nodemailer": ">=0.6.x",
3232
"thenjs": ">=1.4.x",
@@ -46,7 +46,7 @@
4646
"gulp-uglify": ">=0.3.1",
4747
"gulp-usemin": ">=0.3.6",
4848
"gulp-util": ">=2.2.14",
49-
"run-sequence": "^0.3.6"
49+
"gulp-sequence": "^0.1.0"
5050
},
5151
"scripts": {
5252
"start": "node app.js"

static/dist/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!DOCTYPE html>
22
<html lang="zh-CN" ng-app="jsGen">
33
<head>
4-
<meta charset="utf-8">
5-
<meta name="fragment" content="!">
64
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
5+
<meta charset="utf-8">
6+
<base href="/">
77
<title ng-bind="global.title2+' | '+global.title">AngularJS中文社区</title>
88
<meta name="title" content="{{global.metatitle}}">
99
<meta name="description" content="{{global.metadesc}}">
1010
<meta name="keywords" content="{{global.keywords}}">
1111
<meta name="viewport" content="width=device-width, initial-scale=1.0">
12-
<link rel="shortcut icon" href="/static/favicon.ico?v0.8.2"/>
12+
<link rel="shortcut icon" href="/static/favicon.ico?v0.8.3"/>
1313
<!-- build:css ../cdn/css/app.css -->
1414
<link rel="stylesheet" href="/static/css/app.css">
1515
<!-- endbuild -->
@@ -70,4 +70,4 @@ <h1>AngularJS中文社区</h1>
7070
<script src="/static/js/app.js"></script>
7171
<!-- endbuild -->
7272
</body>
73-
</html>
73+
</html>

0 commit comments

Comments
 (0)