forked from jsbin/jsbin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved to jQuery 1.5 - but in the move we lose element property select…
…ors, so now include a custom expression to support host search
- Loading branch information
Showing
2 changed files
with
8,184 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,6 +1,13 @@ | |||
//= require <jquery-1.4.0> | //= require <jquery> | ||
|
|||
// required because jQuery 1.4.4 lost ability to search my object property :( (i.e. a[host=foo.com]) | |||
jQuery.expr[':'].host = function(obj, index, meta, stack) { | |||
return obj.host == meta[3]; | |||
}; | |||
|
|||
(function () { | (function () { | ||
//= require "editors/editors" | //= require "editors/editors" | ||
//= require "render/render" | //= require "render/render" | ||
//= require "chrome/app" | //= require "chrome/app" | ||
//= require "chrome/beta" | |||
})(); | })(); |
Oops, something went wrong.