|
@@ -1,8 +1,8 @@
|
|
|
/*
|
|
/*
|
|
|
- QuoJS 2.0
|
|
|
|
|
|
|
+ QuoJS 2.0.1
|
|
|
http://quojs.tapquo.com
|
|
http://quojs.tapquo.com
|
|
|
|
|
|
|
|
- Generated by CoffeeScript 1.3.2
|
|
|
|
|
|
|
+ Generated by CoffeeScript 1.3.1
|
|
|
|
|
|
|
|
Copyright (C) 2011,2012 Javi Jiménez Villar (@soyjavi)
|
|
Copyright (C) 2011,2012 Javi Jiménez Villar (@soyjavi)
|
|
|
|
|
|
|
@@ -25,7 +25,6 @@
|
|
|
DEALINGS IN THE SOFTWARE.
|
|
DEALINGS IN THE SOFTWARE.
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
-
|
|
|
|
|
(function() {
|
|
(function() {
|
|
|
var Quo;
|
|
var Quo;
|
|
|
|
|
|
|
@@ -394,6 +393,18 @@
|
|
|
dom_elements = Array.prototype.slice.call(dom_elements);
|
|
dom_elements = Array.prototype.slice.call(dom_elements);
|
|
|
return dom_elements;
|
|
return dom_elements;
|
|
|
};
|
|
};
|
|
|
|
|
+ $$.fn.find = function(selector) {
|
|
|
|
|
+ var result;
|
|
|
|
|
+ result = void 0;
|
|
|
|
|
+ if (this.length === 1) {
|
|
|
|
|
+ result = Quo.query(this[0], selector);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ result = this.map(function() {
|
|
|
|
|
+ return Quo.query(this, selector);
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ return $$(result);
|
|
|
|
|
+ };
|
|
|
$$.fn.parent = function(selector) {
|
|
$$.fn.parent = function(selector) {
|
|
|
var ancestors;
|
|
var ancestors;
|
|
|
ancestors = (selector ? _findAncestors(this) : this.instance(PARENT_NODE));
|
|
ancestors = (selector ? _findAncestors(this) : this.instance(PARENT_NODE));
|
|
@@ -1052,4 +1063,4 @@
|
|
|
};
|
|
};
|
|
|
})(Quo);
|
|
})(Quo);
|
|
|
|
|
|
|
|
-}).call(this);
|
|
|
|
|
|
|
+}).call(this);
|