Permalink
Browse files

Merge tag 'v1.5.0'

Updated version to v1.5.0
  • Loading branch information...
thecodejunkie committed Feb 27, 2014
2 parents dc47672 + 5e74b64 commit abfb4fafd94464b22a8d54c2475d5ade146bc9c1
Showing with 33 additions and 6 deletions.
  1. +7 −1 ext/content/inject.css
  2. +10 −0 ext/content/inject.js
  3. +4 −0 ext/content/jquery-2.1.0.min.js
  4. +8 −3 ext/manifest.json
  5. +4 −2 readme.md
View
@@ -1,3 +1,9 @@
+.css-truncate-button a {
+ color:gray;
+ margin-right: 5px;
+ text-decoration: none !important;
+}
+
.css-truncate.css-truncate-target {
white-space: normal !important;
word-wrap: break-word !important;
@@ -205,4 +211,4 @@
.timeline-comment-wrapper .timeline-comment {
width: 1395px !important;
}
-}
+}
View
@@ -0,0 +1,10 @@
+$('.meta').prepend('<div class="info css-truncate-button"><a href="#">▼</a></div>');
+
+$('.info').click(function (event) {
+ var codeDiv = $(this).parent().next(),
+ icon = codeDiv.is(':hidden') ? '' : '';
+ $(this).find('a').html(icon);
+ codeDiv.toggle();
+
+ return false;
+});

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,6 +1,6 @@
{
"name": "GitHub.Expandinizr",
- "version": "1.4.0",
+ "version": "1.5.0",
"manifest_version": 2,
"description": "Chrome extension that improves the GitHub experience",
"homepage_url": "http://github.com/thecodejunkie/github.expandinizr",
@@ -19,7 +19,12 @@
],
"css": [
"content/inject.css"
- ]
+ ],
+ "js": [
+ "content/jquery-2.1.0.min.js",
+ "content/inject.js"
+ ],
+ "run_at": "document_end"
}
]
-}
+}
View
@@ -16,12 +16,14 @@ Andreas Håkansson
## Contributors
- - [Phillip Haydon](https://github.com/phillip-haydon)
+ - [Bjarki Heiðar Ingason](https://github.com/bjarki)
- [Frank Radocaj](https://github.com/frankradocaj)
- [Kristian Hellang](https://github.com/khellang)
-
+ - [Phillip Haydon](https://github.com/phillip-haydon)
+
## Changelog
+- v1.5.0 - Added possibility to collaps code previews
- v1.4.0 - Expands side-bar for 1400, 1600 and 1800 break points
- v1.3.2 - Improved expanding of activity stream
- v1.3.1 - Fixed a couple of small layout bugs

0 comments on commit abfb4fa

Please sign in to comment.