Permalink
Browse files

- allow $.create if implemented

  • Loading branch information...
1 parent e354bf7 commit 4cf214112ee336fa2ef8ce3d9f1e7965881d8fdf @ded committed Jun 14, 2012
Showing with 14 additions and 8 deletions.
  1. +3 −0 mobile/ender.js
  2. +1 −1 mobile/qwery-mobile.js
  3. +1 −1 mobile/qwery-mobile.min.js
  4. +1 −1 package.json
  5. +1 −1 pseudos/qwery-pseudos.js
  6. +1 −1 pseudos/qwery-pseudos.min.js
  7. +1 −1 qwery.js
  8. +1 −1 qwery.min.js
  9. +1 −1 src/copyright.js
  10. +3 −0 src/ender.js
View
@@ -19,6 +19,9 @@
// hence the lazy function re-definition
return ($._select = (function () {
var b
+ if (typeof $.create == 'function') return function (s, r) {
+ return /^\s*</.test(s) ? $.create(s, r) : q(s, r)
+ }
try {
b = require('bonzo')
return function (s, r) {
View
@@ -1,5 +1,5 @@
/*!
- * Qwery - A Blazing Fast query selector engine
+ * @preserve Qwery - A Blazing Fast query selector engine
* https://github.com/ded/qwery
* copyright Dustin Diaz & Jacob Thornton 2012
* MIT License

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
{
"name": "qwery"
, "description": "blazing fast CSS3 query selector engine"
- , "version": "3.3.10"
+ , "version": "3.3.11"
, "homepage": "https://github.com/ded/qwery"
, "author": "Dustin Diaz <dustin@dustindiaz.com> (http://dustindiaz.com)"
, "contributors": [
View
@@ -1,5 +1,5 @@
/*!
- * Qwery - A Blazing Fast query selector engine
+ * @preserve Qwery - A Blazing Fast query selector engine
* https://github.com/ded/qwery
* copyright Dustin Diaz & Jacob Thornton 2012
* MIT License

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,5 +1,5 @@
/*!
- * Qwery - A Blazing Fast query selector engine
+ * @preserve Qwery - A Blazing Fast query selector engine
* https://github.com/ded/qwery
* copyright Dustin Diaz & Jacob Thornton 2012
* MIT License
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,5 +1,5 @@
/*!
- * Qwery - A Blazing Fast query selector engine
+ * @preserve Qwery - A Blazing Fast query selector engine
* https://github.com/ded/qwery
* copyright Dustin Diaz & Jacob Thornton 2012
* MIT License
View
@@ -19,6 +19,9 @@
// hence the lazy function re-definition
return ($._select = (function () {
var b
+ if (typeof $.create == 'function') return function (s, r) {
+ return /^\s*</.test(s) ? $.create(s, r) : q(s, r)
+ }
try {
b = require('bonzo')
return function (s, r) {

0 comments on commit 4cf2141

Please sign in to comment.