From 72c7a34718d2c2359f6b977c9fdc01a471a1a005 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Sun, 23 Aug 2015 10:43:22 -0400 Subject: [PATCH] remove github activity --- bower.json | 1 - css/GithubActivity.css | 2 -- gulpfile.js | 16 ++++++++-------- index.html | 9 +-------- js/GithubActivity.js | 2 -- js/main.js | 9 +++------ 6 files changed, 12 insertions(+), 27 deletions(-) delete mode 100644 css/GithubActivity.css delete mode 100644 js/GithubActivity.js diff --git a/bower.json b/bower.json index 990c184..8954612 100644 --- a/bower.json +++ b/bower.json @@ -7,7 +7,6 @@ "components" ], "dependencies": { - "mustache": "~2.1.2", "jquery-rss": "~1.5.1", "install": "~1.0.4", "jquery.easing": "~1.3.1" diff --git a/css/GithubActivity.css b/css/GithubActivity.css deleted file mode 100644 index 10c9f50..0000000 --- a/css/GithubActivity.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! GitHub Activity Stream - v0.1.0 - Copyright 2014 Casey Scarborough */ -body,html{height:100%;width:100%;margin:0;padding:0}.gha-feed{width:100%;height:100%;background:#fff;font-weight:700;font-size:14px;font-family:Helvetica,arial,freesans,clean,sans-serif;line-height:1.3;overflow-y:auto;border:1px solid #ddd}.gha-feed,.gha-feed h2,.gha-feed h3,.gha-feed li,.gha-feed p,.gha-feed ul{margin:0;padding:0}.gha-feed ul{list-style-type:none;padding:0;margin:0}.gha-feed li{list-style-type:none;line-height:1.4}.gha-feed small{color:#666;font-weight:400;font-size:13px}.gha-feed small a{font-weight:400}.gha-feed small a .more-commits{font-size:11px}span.gha-time{color:#bbb;font-weight:400;font-size:12px}.gha-feed a{color:#4183c4;text-decoration:none;font-weight:700}.gha-feed a:hover{text-decoration:underline}.gha-feed pre{padding:0;border:0;border-radius:0;box-shadow:1px 1px 4px #bbb;color:#fff}.gha-header{position:absolute;top:1px;left:1px;width:calc(100% - 20px);padding:10px;height:67px;border-bottom:1px solid #ddd;background:#fff;background:-moz-linear-gradient(top,#fff 0,#f4f4f4 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 0,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 0,#f4f4f4 100%);background:-ms-linear-gradient(top,#fff 0,#f4f4f4 100%);background:linear-gradient(to bottom,#fff 0,#f4f4f4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f4f4f4', GradientType=0)}.gha-footer{position:absolute;bottom:-1px;left:1px;padding:5px 5px 5px 10px;border-top:1px solid #ddd;height:16px;width:calc(100% - 15px);background:#fff;background:-moz-linear-gradient(top,#fff 0,#f4f4f4 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 0,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 0,#f4f4f4 100%);background:-ms-linear-gradient(top,#fff 0,#f4f4f4 100%);background:linear-gradient(to bottom,#fff 0,#f4f4f4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f4f4f4', GradientType=0);color:#495961;font-size:13px}.gha-footer a{float:right;color:#495961;padding-right:20px;font-size:13px;font-weight:700}.gha-footer a:hover,.gha-header a:hover{text-decoration:none}.gha-github-icon{display:inline;float:left;padding:9px 0 0;width:35px;height:35px;color:#495961}.gha-github-icon .octicon{font:normal normal 40px octicons}.gha-gravatar{display:inline;float:right;margin-right:10px;padding-right:20px;max-width:60px;height:67px}.gha-gravatar img{padding:3px;width:100%;border:1px solid #ddd;box-shadow:1px 1px 3px #ccc}.gha-activity{clear:both;padding:10px 0;width:100%;border-bottom:1px solid #ddd}.gha-activity.gha-small{margin-top:5px;font-weight:400;font-size:13px}.gha-activity.gha-small a{font-weight:400}.gha-activity.gha-small .gha-message{float:left;width:auto;margin-right:5px;margin-top:5px}.gha-activity.gha-small span{font-size:16px}.gha-activity.gha-small .gha-time{float:left;margin-top:6px}.gha-activity:last-child{padding-bottom:100px}.gha-repo{clear:both;padding:10px 0;width:100%;border-bottom:1px solid #ddd}.gha-activity-icon .octicon{display:inline;float:left;clear:both;margin:6px auto;width:50px;color:#bbb;text-align:center;font:normal normal 30px octicons}.gha-activity-icon .gha-small{font-size:16px}.gha-message{display:inline-block;float:left;width:calc(100% - 50px)}.gha-message-commits{font-size:11px}.gha-message-merge{padding:3px 7px;border-radius:3px;background:#e8f1f6;color:rgba(0,0,0,.5);font-size:12px;line-height:2}.gha-sha{font-size:12px;font-family:Consolas,"Liberation Mono",Courier,monospace}.gha-gravatar-small{float:left;margin-right:6px;width:30px}.gha-gravatar-commit{margin-bottom:-3px;border-radius:2px}.gha-gravatar-user{float:left}.gha-user-info{display:inline-block;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px}.gha-user-info a{color:#495961}.gha-user-info p a{font-weight:100}.gha-without-name{padding-top:20px;padding-left:15px}.gha-info{margin:15px;padding:10px;border:1px solid #e4e4c6;border-radius:4px;background:#ffffde;color:#6d6d4b;font-weight:400;font-size:13px}.gha-time{color:#bbb;font-weight:400;font-size:12px}.gha-clear{clear:both}.gha-muted{color:#666}.gha-push{height:87px}.gha-push-small{height:26px} \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index 78da7ca..09daae6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -25,14 +25,14 @@ gulp.task('clean', function(){ }); -gulp.task('combineCss', function(){ +gulp.task('combineCss', ['clean'], function(){ return gulp.src('./css/*.css') .pipe(concatCss("bundle.css")) .pipe(gulp.dest('css')); }); -gulp.task('minifyHtml',function(){ +gulp.task('minifyHtml',['clean'],function(){ var fileContent=fs.readFileSync("index.html", "utf8"); var fileContent2 = minify(fileContent, { removeComments: true, @@ -45,7 +45,7 @@ gulp.task('minifyHtml',function(){ fs.writeFileSync('index.html', fileContent2, {}); }); -gulp.task('minfiyCss', function(){ +gulp.task('minfiyCss',['clean'], function(){ return gulp.src('css/*.css') .pipe(concatCss("bundle.css")) .pipe(minifyCss({compatibility: 'ie8'})) @@ -64,14 +64,14 @@ gulp.task('develop', function () { }); }); -gulp.task('minifyJs', function() { +gulp.task('minifyJs',['clean'], function() { return gulp.src(['components/**/*.min.js','js/*.js']) .pipe(uglify({mangle:false})) .pipe(concat('bowr.js')) .pipe(gulp.dest('js')); }); -gulp.task('combineJs', function() { +gulp.task('combineJs',['clean'], function() { return gulp.src(['components/**/*.min.js','js/*.js']) .pipe(concat('bowr.js')) .pipe(gulp.dest('js')); @@ -95,8 +95,8 @@ gulp.task('publish', [ ]); gulp.task('default', [ - 'develop', +// 'develop', 'combineJs', - 'combineCss', - 'watch' + 'combineCss' + //,'watch' ]); diff --git a/index.html b/index.html index 71f26b4..bff634c 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,6 @@ -