Skip to content

Commit

Permalink
- make closure compiler happy
Browse files Browse the repository at this point in the history
- bump package
  • Loading branch information
ded committed Mar 27, 2012
1 parent f36856d commit bf5384c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions mobile/ender.js
@@ -1,4 +1,4 @@
!function (doc, $) {
(function (doc, $) {
var q = require('qwery')

$.pseudos = q.pseudos
Expand All @@ -8,7 +8,7 @@
// rather than load-time since technically it's not a dependency and
// can be loaded in any order
// hence the lazy function re-definition
return ($._select = (function(b) {
return ($._select = (function (b) {
try {
b = require('bonzo')
return function (s, r) {
Expand Down Expand Up @@ -45,4 +45,4 @@
return false
}
}, true)
}(document, ender);
}(document, ender));
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "qwery"
, "description": "blazing fast CSS3 query selector engine"
, "version": "3.3.3"
, "version": "3.3.4"
, "homepage": "https://github.com/ded/qwery"
, "author": "Dustin Diaz <dustin@dustindiaz.com> (http://dustindiaz.com)"
, "contributors": [
Expand Down
6 changes: 3 additions & 3 deletions qwery.js
Expand Up @@ -5,11 +5,11 @@
* MIT License
*/

!function (name, definition) {
(function (name, definition) {
if (typeof module != 'undefined') module.exports = definition()
else if (typeof define == 'function' && typeof define.amd == 'object') define(definition)
else this[name] = definition()
}('qwery', function () {
})('qwery', function () {
var doc = document
, html = doc.documentElement
, byClass = 'getElementsByClassName'
Expand Down Expand Up @@ -365,4 +365,4 @@
qwery.pseudos = {}

return qwery
})
});
2 changes: 1 addition & 1 deletion qwery.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/ender.js
@@ -1,4 +1,4 @@
!function (doc, $) {
(function (doc, $) {
var q = require('qwery')

$.pseudos = q.pseudos
Expand All @@ -8,7 +8,7 @@
// rather than load-time since technically it's not a dependency and
// can be loaded in any order
// hence the lazy function re-definition
return ($._select = (function(b) {
return ($._select = (function (b) {
try {
b = require('bonzo')
return function (s, r) {
Expand Down Expand Up @@ -45,4 +45,4 @@
return false
}
}, true)
}(document, ender);
}(document, ender));
6 changes: 3 additions & 3 deletions src/qwery.js
@@ -1,8 +1,8 @@
!function (name, definition) {
(function (name, definition) {
if (typeof module != 'undefined') module.exports = definition()
else if (typeof define == 'function' && typeof define.amd == 'object') define(definition)
else this[name] = definition()
}('qwery', function () {
})('qwery', function () {
var doc = document
, html = doc.documentElement
, byClass = 'getElementsByClassName'
Expand Down Expand Up @@ -358,4 +358,4 @@
qwery.pseudos = {}

return qwery
})
});
2 changes: 1 addition & 1 deletion tests/phantom.js
@@ -1,5 +1,5 @@
var page = new WebPage()
, url = "http://localhost:3000/tests/"
, url = "http://localhost:3000/tests/index.html"

function waitFor(testFx, onReady, timeOutMillis) {
var maxtimeOutMillis = timeOutMillis ? timeOutMillis : 5000
Expand Down

0 comments on commit bf5384c

Please sign in to comment.