Permalink
Browse files

Normalized Line Endings and added .gitattributes

  • Loading branch information...
1 parent 6c57c6c commit 01fcf039c5492fade079614851ea8438a30e113f Bernhard Sirlinger committed Feb 2, 2013
View
@@ -0,0 +1,2 @@
+# Auto detect text files and perform LF normalization
+* text=auto
@@ -1,78 +1,78 @@
-/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
- * Licensed under the MIT License (LICENSE.txt).
- *
- * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
- * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
- * Thanks to: Seamus Leahy for adding deltaX and deltaY
- *
- * Version: 3.0.4
- *
- * Requires: 1.2.2+
- */
-
-(function($) {
-
-var types = ['DOMMouseScroll', 'mousewheel'];
-
-$.event.special.mousewheel = {
- setup: function() {
- if ( this.addEventListener ) {
- for ( var i=types.length; i; ) {
- this.addEventListener( types[--i], handler, false );
- }
- } else {
- this.onmousewheel = handler;
- }
- },
-
- teardown: function() {
- if ( this.removeEventListener ) {
- for ( var i=types.length; i; ) {
- this.removeEventListener( types[--i], handler, false );
- }
- } else {
- this.onmousewheel = null;
- }
- }
-};
-
-$.fn.extend({
- mousewheel: function(fn) {
- return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
- },
-
- unmousewheel: function(fn) {
- return this.unbind("mousewheel", fn);
- }
-});
-
-
-function handler(event) {
- var orgEvent = event || window.event, args = [].slice.call( arguments, 1 ), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
- event = $.event.fix(orgEvent);
- event.type = "mousewheel";
-
- // Old school scrollwheel delta
- if ( event.wheelDelta ) { delta = event.wheelDelta/120; }
- if ( event.detail ) { delta = -event.detail/3; }
-
- // New school multidimensional scroll (touchpads) deltas
- deltaY = delta;
-
- // Gecko
- if ( orgEvent.axis !== undefined && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) {
- deltaY = 0;
- deltaX = -1*delta;
- }
-
- // Webkit
- if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY/120; }
- if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = -1*orgEvent.wheelDeltaX/120; }
-
- // Add event and delta to the front of the arguments
- args.unshift(event, delta, deltaX, deltaY);
-
- return $.event.handle.apply(this, args);
-}
-
+/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
+ * Licensed under the MIT License (LICENSE.txt).
+ *
+ * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
+ * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
+ * Thanks to: Seamus Leahy for adding deltaX and deltaY
+ *
+ * Version: 3.0.4
+ *
+ * Requires: 1.2.2+
+ */
+
+(function($) {
+
+var types = ['DOMMouseScroll', 'mousewheel'];
+
+$.event.special.mousewheel = {
+ setup: function() {
+ if ( this.addEventListener ) {
+ for ( var i=types.length; i; ) {
+ this.addEventListener( types[--i], handler, false );
+ }
+ } else {
+ this.onmousewheel = handler;
+ }
+ },
+
+ teardown: function() {
+ if ( this.removeEventListener ) {
+ for ( var i=types.length; i; ) {
+ this.removeEventListener( types[--i], handler, false );
+ }
+ } else {
+ this.onmousewheel = null;
+ }
+ }
+};
+
+$.fn.extend({
+ mousewheel: function(fn) {
+ return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
+ },
+
+ unmousewheel: function(fn) {
+ return this.unbind("mousewheel", fn);
+ }
+});
+
+
+function handler(event) {
+ var orgEvent = event || window.event, args = [].slice.call( arguments, 1 ), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
+ event = $.event.fix(orgEvent);
+ event.type = "mousewheel";
+
+ // Old school scrollwheel delta
+ if ( event.wheelDelta ) { delta = event.wheelDelta/120; }
+ if ( event.detail ) { delta = -event.detail/3; }
+
+ // New school multidimensional scroll (touchpads) deltas
+ deltaY = delta;
+
+ // Gecko
+ if ( orgEvent.axis !== undefined && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) {
+ deltaY = 0;
+ deltaX = -1*delta;
+ }
+
+ // Webkit
+ if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY/120; }
+ if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = -1*orgEvent.wheelDeltaX/120; }
+
+ // Add event and delta to the front of the arguments
+ args.unshift(event, delta, deltaX, deltaY);
+
+ return $.event.handle.apply(this, args);
+}
+
})(jQuery);
@@ -1,10 +1,10 @@
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="9px" height="8px">
- <defs>
- <filter id="blur" x="-10" y="-10" width="12" height="12">
- <feGaussianBlur in="SourceGraphic" stdDeviation=".25"/>
- </filter>
- </defs>
-
- <polyline points="4.5,7 8,1 1,1 " filter="url(#blur)" opacity=".5" transform="translate(0, 1)"/>
- <polyline fill="#878787" points="4.5,7 8,1 1,1 "/>
-</svg>
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="9px" height="8px">
+ <defs>
+ <filter id="blur" x="-10" y="-10" width="12" height="12">
+ <feGaussianBlur in="SourceGraphic" stdDeviation=".25"/>
+ </filter>
+ </defs>
+
+ <polyline points="4.5,7 8,1 1,1 " filter="url(#blur)" opacity=".5" transform="translate(0, 1)"/>
+ <polyline fill="#878787" points="4.5,7 8,1 1,1 "/>
+</svg>
@@ -1,22 +1,22 @@
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="90px" height="18px">
- <defs>
- <linearGradient id="grey1" gradientUnits="userSpaceOnUse" x1="8.5" y1="6" x2="8.5" y2="13">
- <stop offset="0" stop-color="#666"/>
- <stop offset="1" stop-color="#3A3A3A"/>
- </linearGradient>
- <linearGradient id="grey2" gradientUnits="userSpaceOnUse" x1="26.5" y1="3" x2="26.5" y2="16">
- <stop offset="0" stop-color="#888"/>
- <stop offset="1" stop-color="#595959"/>
- </linearGradient>
- <linearGradient id="grey3" gradientUnits="userSpaceOnUse" x1="44.5" y1="3" x2="44.5" y2="16">
- <stop offset="0" stop-color="#666"/>
- <stop offset="1" stop-color="#373737"/>
- </linearGradient>
- <polygon id="cross" fill="#fff" points="29.646,5.646 26.5,8.793 23.354,5.646 22.646,6.354 25.793,9.5 22.646,12.646 23.354,13.354 26.5,10.207 29.646,13.354 30.354,12.646 27.207,9.5 30.354,6.354"/>
- </defs>
- <circle fill="url(#grey1)" cx="8.5" cy="9.5" r="3.5"/>
- <circle fill="url(#grey2)" cx="26.5" cy="9.5" r="6.5"/>
- <circle fill="url(#grey3)" cx="44.5" cy="9.5" r="6.5"/>
- <use xlink:href="#cross"/>
- <use xlink:href="#cross" x="18"/>
-</svg>
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="90px" height="18px">
+ <defs>
+ <linearGradient id="grey1" gradientUnits="userSpaceOnUse" x1="8.5" y1="6" x2="8.5" y2="13">
+ <stop offset="0" stop-color="#666"/>
+ <stop offset="1" stop-color="#3A3A3A"/>
+ </linearGradient>
+ <linearGradient id="grey2" gradientUnits="userSpaceOnUse" x1="26.5" y1="3" x2="26.5" y2="16">
+ <stop offset="0" stop-color="#888"/>
+ <stop offset="1" stop-color="#595959"/>
+ </linearGradient>
+ <linearGradient id="grey3" gradientUnits="userSpaceOnUse" x1="44.5" y1="3" x2="44.5" y2="16">
+ <stop offset="0" stop-color="#666"/>
+ <stop offset="1" stop-color="#373737"/>
+ </linearGradient>
+ <polygon id="cross" fill="#fff" points="29.646,5.646 26.5,8.793 23.354,5.646 22.646,6.354 25.793,9.5 22.646,12.646 23.354,13.354 26.5,10.207 29.646,13.354 30.354,12.646 27.207,9.5 30.354,6.354"/>
+ </defs>
+ <circle fill="url(#grey1)" cx="8.5" cy="9.5" r="3.5"/>
+ <circle fill="url(#grey2)" cx="26.5" cy="9.5" r="6.5"/>
+ <circle fill="url(#grey3)" cx="44.5" cy="9.5" r="6.5"/>
+ <use xlink:href="#cross"/>
+ <use xlink:href="#cross" x="18"/>
+</svg>
@@ -1,21 +1,21 @@
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="120px" height="120px">
- <defs>
- <linearGradient id="frame" gradientUnits="userSpaceOnUse" x1="433.5" y1="-185" x2="433.5" y2="-277" gradientTransform="matrix(1 0 0 -1 -373.5 -177)">
- <stop offset="0" stop-color="#29ABE2"/>
- <stop offset="0.4757" stop-color="#28A9E1"/>
- <stop offset="0.6639" stop-color="#23A2DC"/>
- <stop offset="0.8012" stop-color="#1A96D4"/>
- <stop offset="0.913" stop-color="#0E85C9"/>
- <stop offset="1" stop-color="#0071BC"/>
- </linearGradient>
- <filter id="blur" x="-10" y="-10" width="12" height="12">
- <feGaussianBlur in="SourceGraphic" stdDeviation="1"/>
- </filter>
- </defs>
- <rect id="shadow" x="10" y="9" width="100" height="100" rx="20" ry="20" opacity=".5" filter="url(#blur)"/>
- <rect x="10" y="58" width="100" height="50" rx="20" ry="20" fill="#115A91"/>
- <rect x="10" y="8" width="100" height="92" rx="20" ry="20" fill="url(#frame)"/>
- <rect x="22" y="20" width="76" height="68" rx="10" ry="10" fill="#fff"/>
- <path id="shadow2" opacity=".5" transform="translate(0, 1)" filter="url(#blur)" d="M57,28v12H43v26h14v13H30V28H57zM90,28v51H63V66h15V40H63V28H90z"/>
- <path id="brackets" fill="#4D4D4D" d="M57,28v12H43v26h14v13H30V28H57zM90,28v51H63V66h15V40H63V28H90z"/>
-</svg>
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="120px" height="120px">
+ <defs>
+ <linearGradient id="frame" gradientUnits="userSpaceOnUse" x1="433.5" y1="-185" x2="433.5" y2="-277" gradientTransform="matrix(1 0 0 -1 -373.5 -177)">
+ <stop offset="0" stop-color="#29ABE2"/>
+ <stop offset="0.4757" stop-color="#28A9E1"/>
+ <stop offset="0.6639" stop-color="#23A2DC"/>
+ <stop offset="0.8012" stop-color="#1A96D4"/>
+ <stop offset="0.913" stop-color="#0E85C9"/>
+ <stop offset="1" stop-color="#0071BC"/>
+ </linearGradient>
+ <filter id="blur" x="-10" y="-10" width="12" height="12">
+ <feGaussianBlur in="SourceGraphic" stdDeviation="1"/>
+ </filter>
+ </defs>
+ <rect id="shadow" x="10" y="9" width="100" height="100" rx="20" ry="20" opacity=".5" filter="url(#blur)"/>
+ <rect x="10" y="58" width="100" height="50" rx="20" ry="20" fill="#115A91"/>
+ <rect x="10" y="8" width="100" height="92" rx="20" ry="20" fill="url(#frame)"/>
+ <rect x="22" y="20" width="76" height="68" rx="10" ry="10" fill="#fff"/>
+ <path id="shadow2" opacity=".5" transform="translate(0, 1)" filter="url(#blur)" d="M57,28v12H43v26h14v13H30V28H57zM90,28v51H63V66h15V40H63V28H90z"/>
+ <path id="brackets" fill="#4D4D4D" d="M57,28v12H43v26h14v13H30V28H57zM90,28v51H63V66h15V40H63V28H90z"/>
+</svg>
@@ -1,15 +1,15 @@
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="45px" height="16px">
- <defs>
- <filter id="blur" x="-10" y="-10" width="12" height="12">
- <feGaussianBlur in="SourceGraphic" stdDeviation=".25"/>
- </filter>
- <polygon id="cross" points="12.207,4.207 10.793,2.793 7.5,6.086 4.207,2.793 2.793,4.207 6.086,7.5 2.793,10.793 4.207,12.207 7.5,8.914 10.793,12.207 12.207,10.793 8.914,7.5"/>
- </defs>
-
- <use xlink:href="#cross" y="1" filter="url(#blur)" opacity=".5"/>
- <use xlink:href="#cross" fill="#868686"/>
- <use xlink:href="#cross" x="15" y="1" filter="url(#blur)" opacity=".5"/>
- <use xlink:href="#cross" x="15" fill="#9f9f9f"/>
- <circle cx="37" cy="8" r="3" filter="url(#blur)" opacity=".5"/>
- <circle fill="#868686" cx="37" cy="7" r="3"/>
-</svg>
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="45px" height="16px">
+ <defs>
+ <filter id="blur" x="-10" y="-10" width="12" height="12">
+ <feGaussianBlur in="SourceGraphic" stdDeviation=".25"/>
+ </filter>
+ <polygon id="cross" points="12.207,4.207 10.793,2.793 7.5,6.086 4.207,2.793 2.793,4.207 6.086,7.5 2.793,10.793 4.207,12.207 7.5,8.914 10.793,12.207 12.207,10.793 8.914,7.5"/>
+ </defs>
+
+ <use xlink:href="#cross" y="1" filter="url(#blur)" opacity=".5"/>
+ <use xlink:href="#cross" fill="#868686"/>
+ <use xlink:href="#cross" x="15" y="1" filter="url(#blur)" opacity=".5"/>
+ <use xlink:href="#cross" x="15" fill="#9f9f9f"/>
+ <circle cx="37" cy="8" r="3" filter="url(#blur)" opacity=".5"/>
+ <circle fill="#868686" cx="37" cy="7" r="3"/>
+</svg>
@@ -1,26 +1,26 @@
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="108px" height="72px">
- <defs>
- <filter id="blur" x="-10" y="-10" width="12" height="12">
- <feGaussianBlur in="SourceGraphic" stdDeviation=".25"/>
- </filter>
- <polyline id="arrow-r-shadow" points="11,10.5 5,7 5,14 11,10.5" filter="url(#blur)" opacity=".5" transform="translate(0, 1)"/>
- <polyline id="arrow-r" points="11,10.5 5,7 5,14 11,10.5"/>
- <polyline id="arrow-d-shadow" points="25.5,13 29,7 22,7 25.5,13" filter="url(#blur)" opacity=".5" transform="translate(0, 1)"/>
- <polyline id="arrow-d" points="25.5,13 29,7 22,7 25.5,13"/>
- </defs>
-
- <!-- Project tree: dark background -->
- <use xlink:href="#arrow-r-shadow" />
- <use xlink:href="#arrow-r" fill="#878787" />
-
- <use xlink:href="#arrow-d-shadow" />
- <use xlink:href="#arrow-d" fill="#fff" />
-
- <!-- Elsewhere: light background -->
- <use xlink:href="#arrow-r-shadow" y="14" />
- <use xlink:href="#arrow-r" y="14" fill="#878787" />
-
- <use xlink:href="#arrow-d-shadow" y="14" />
- <use xlink:href="#arrow-d" y="14" fill="#555" />
-
-</svg>
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="108px" height="72px">
+ <defs>
+ <filter id="blur" x="-10" y="-10" width="12" height="12">
+ <feGaussianBlur in="SourceGraphic" stdDeviation=".25"/>
+ </filter>
+ <polyline id="arrow-r-shadow" points="11,10.5 5,7 5,14 11,10.5" filter="url(#blur)" opacity=".5" transform="translate(0, 1)"/>
+ <polyline id="arrow-r" points="11,10.5 5,7 5,14 11,10.5"/>
+ <polyline id="arrow-d-shadow" points="25.5,13 29,7 22,7 25.5,13" filter="url(#blur)" opacity=".5" transform="translate(0, 1)"/>
+ <polyline id="arrow-d" points="25.5,13 29,7 22,7 25.5,13"/>
+ </defs>
+
+ <!-- Project tree: dark background -->
+ <use xlink:href="#arrow-r-shadow" />
+ <use xlink:href="#arrow-r" fill="#878787" />
+
+ <use xlink:href="#arrow-d-shadow" />
+ <use xlink:href="#arrow-d" fill="#fff" />
+
+ <!-- Elsewhere: light background -->
+ <use xlink:href="#arrow-r-shadow" y="14" />
+ <use xlink:href="#arrow-r" y="14" fill="#878787" />
+
+ <use xlink:href="#arrow-d-shadow" y="14" />
+ <use xlink:href="#arrow-d" y="14" fill="#555" />
+
+</svg>
Oops, something went wrong.

0 comments on commit 01fcf03

Please sign in to comment.