support show AriaNg version
This commit is contained in:
parent
b5c783a35e
commit
8800745ba3
|
@ -44,6 +44,7 @@ gulp.task('html', ['styles', 'scripts', 'views'], function () {
|
||||||
return gulp.src([
|
return gulp.src([
|
||||||
'src/*.html'
|
'src/*.html'
|
||||||
]).pipe($.useref({searchPath: ['.tmp', 'src', '.']}))
|
]).pipe($.useref({searchPath: ['.tmp', 'src', '.']}))
|
||||||
|
.pipe($.injectVersion())
|
||||||
.pipe($.if('js/*.js', $.replace(/\/\/# sourceMappingURL=.*/g, '')))
|
.pipe($.if('js/*.js', $.replace(/\/\/# sourceMappingURL=.*/g, '')))
|
||||||
.pipe($.if('css/*.css', $.replace(/\/\*# sourceMappingURL=.* \*\/$/g, '')))
|
.pipe($.if('css/*.css', $.replace(/\/\*# sourceMappingURL=.* \*\/$/g, '')))
|
||||||
.pipe($.if(['js/moment-with-locales-*.min.js', 'js/plugins.min.js', 'js/aria-ng.min.js'], $.uglify({preserveComments: 'license'})))
|
.pipe($.if(['js/moment-with-locales-*.min.js', 'js/plugins.min.js', 'js/aria-ng.min.js'], $.uglify({preserveComments: 'license'})))
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
"gulp-eslint": "^2.1.0",
|
"gulp-eslint": "^2.1.0",
|
||||||
"gulp-htmlmin": "^2.0.0",
|
"gulp-htmlmin": "^2.0.0",
|
||||||
"gulp-if": "^2.0.1",
|
"gulp-if": "^2.0.1",
|
||||||
|
"gulp-inject-version": "^1.0.1",
|
||||||
"gulp-load-plugins": "^1.2.4",
|
"gulp-load-plugins": "^1.2.4",
|
||||||
"gulp-manifest": "^0.1.1",
|
"gulp-manifest": "^0.1.1",
|
||||||
"gulp-plumber": "^1.1.0",
|
"gulp-plumber": "^1.1.0",
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<header class="main-header">
|
<header class="main-header">
|
||||||
<a class="logo" href="#">
|
<a class="logo" href="#">
|
||||||
<span class="logo-mini">Aria</span>
|
<span class="logo-mini">Aria</span>
|
||||||
<span class="logo-lg">AriaNg</span>
|
<span class="logo-lg" title="AriaNg %%GULP_INJECT_VERSION%%">AriaNg</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<nav class="navbar navbar-static-top" role="navigation">
|
<nav class="navbar navbar-static-top" role="navigation">
|
||||||
|
|
Reference in a new issue