Skip to content

Commit

Permalink
Updating to newer versions of jQuery, removing some of the massive sc…
Browse files Browse the repository at this point in the history
…ript and fixing some random things
  • Loading branch information
gnarf committed Feb 14, 2013
1 parent 1f496f7 commit 1695b15
Show file tree
Hide file tree
Showing 21 changed files with 11,442 additions and 6,405 deletions.
Binary file added css/ui-lightness/images/animated-overlay.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
584 changes: 584 additions & 0 deletions css/ui-lightness/jquery-ui-1.10.0.custom.css

Large diffs are not rendered by default.

215 changes: 57 additions & 158 deletions index.html

Large diffs are not rendered by default.

18 changes: 11 additions & 7 deletions jquery.aj.filterable.js
Expand Up @@ -14,16 +14,19 @@

// Cache references to collections the widget needs to access regularly
this.filterElems = this.element.children()
.addClass("ui-widget-content "+this.options.className)
._bind({
"mouseenter": "_hover",
"mouseleave": "_hover"
});
.addClass("ui-widget-content "+this.options.className);
this._on( this.filterElems, {
"mouseenter": "_hover",
"mouseleave": "_hover"
});

this.filterInput = $("<input type='text'>")
.insertBefore(this.element)
._bind("keyup", "filter")
.wrap("<div class='ui-widget-header " + this.options.className + "'>");
// bind events on elements
this._on( this.filterInput, {
"keyup": "filter"
});
this.timeout = false;

this._trigger("ready");
Expand All @@ -38,14 +41,15 @@
visible = this.filterElems.filter(function() {
var $t = $(this), matches = re.test($t.text());
// Leverage the CSS Framework to handle visual state changes
$t.toggleClass("ui-helper-hidden", matches);
$t.toggleClass("ui-helper-hidden", !matches);
return matches;
});
// Trigger a callback so the user can respond to filtering being complete
// Supply an object of useful parameters with the second argument to _trigger
this._trigger("filtered", e, {
visible: visible
});
console.log( visible );
}, this.options.delay );
},
_hover: function(e) {
Expand Down

0 comments on commit 1695b15

Please sign in to comment.