Skip to content
Browse files

fixed links to css-tricks

  • Loading branch information...
1 parent d8c5445 commit e9aabaa6ab1f48639c4c788c1776f363cb4f6ea3 @Mottie Mottie committed Aug 5, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 index.html
  2. +1 −1 js/jquery.equalizer.min.js
  3. +3 −3 package.json
View
2 index.html
@@ -29,7 +29,7 @@
<div id="wrapper">
- <h1><a href="https://github.com/Mottie/Equalizer">jQuery Equalizer</a></h1>
+ <h1><a href="https://github.com/css-tricks/Equalizer">jQuery Equalizer</a></h1>
<h3>Multi-row column resizer (resize this window to see it in action)</h3>
<!-- three identical blocks of content to demonstrate the plugin -->
View
2 js/jquery.equalizer.min.js
@@ -1,6 +1,6 @@
/*
Equalizer v1.1 minified using Google Closure Compiler
- https://github.com/Mottie/Equalizer
+ https://github.com/CSS-Tricks/Equalizer
*/
(function(c){c.equalizer=function(f,d){var b,a=this;a.$el=c(f);a.$el.data("equalizer",a);a.init=function(){a.options=b=c.extend({},c.equalizer.defaultOptions,d);a.$col=a.$el.find(b.columns);var e=a.$col.find(".equalizer-inner").length;b.min=parseInt(b.min,10)||0;b.max=parseInt(b.max,10)||0;a.hasMax=0===b.max?!1:!0;a.hasMin=0===b.min?!1:!0;a.curRowTop=0;a.useHeight=/^o/.test(b.useHeight)?"outerHeight":/^i/.test(b.useHeight)?"innerHeight":"height";e||a.$col.wrapInner('<span class="equalizer-inner" style="display:block;margin:0;padding:0;" />'); !e&&b.resizeable&&c(window).resize(function(){clearTimeout(a.throttle);a.throttle=setTimeout(function(){a.update()},100)});a.update()};a.update=function(){a.curMax=b.min;a.$col.removeClass(b.overflow).each(function(){var e=c(this),d=e.find("span.equalizer-inner");a.curTop=e.offset().top;if(a.curRowTop!==a.curTop){if(a.hasMax&&a.curMax>b.max)a.curMax=b.max,a.curRows.addClass(b.overflow);a.curRows&&a.curRows.height(a.curMax);a.curMax=d[a.useHeight]();a.curMax=a.hasMin?Math.max(b.min,a.curMax):a.curMax; a.curRowTop=a.curTop;a.curRows=e}else a.curMax=Math.max(a.curMax,d[a.useHeight]()),a.curMax=a.hasMax&&a.curMax>b.max?b.max:a.hasMin&&a.curMax<b.min?b.min:a.curMax,a.curRows=a.curRows.add(e);a.curRows&&(a.curRows.height(a.curMax),a.hasMax&&a.curMax>=b.max&&a.curRows.addClass(b.overflow))})};a.init()};c.equalizer.defaultOptions={columns:"> div",useHeight:"height",resizeable:!0,min:0,max:0,overflow:"overflowed"};c.fn.equalizer=function(f){return this.each(function(){var d=c(this).data("equalizer");d? d.update():new c.equalizer(this,f)})};c.fn.getequalizer=function(){return this.data("equalizer")}})(jQuery);
View
6 package.json
@@ -9,7 +9,7 @@
"licenses": [
{
"type": "GPL3",
- "url": "https://github.com/Mottie/Equalizer/blob/master/license.txt"
+ "url": "https://github.com/css-tricks/Equalizer/blob/master/license.txt"
}
],
"dependencies": {
@@ -22,8 +22,8 @@
"resize"
],
"homepage": "http://css-tricks.com/equal-height-blocks-in-rows/",
- "demo": "http://mottie.github.com/Equalizer/",
- "docs": "http://mottie.github.com/Equalizer/",
+ "demo": "http://css-tricks.github.com/Equalizer/",
+ "docs": "https://github.com/CSS-Tricks/Equalizer",
"maintainers": [
{
"name": "Rob Garrison",

0 comments on commit e9aabaa

Please sign in to comment.
Something went wrong with that request. Please try again.