Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused variables

  • Loading branch information...
commit b3a7a6faf7c6e7d6e1ccc77ec3b807b9cf1db883 1 parent 4501bf6
@mislav mislav authored
Showing with 4 additions and 6 deletions.
  1. +3 −3 src/ajax.js
  2. +1 −1  src/event.js
  3. +0 −2  src/zepto.js
View
6 src/ajax.js
@@ -285,17 +285,17 @@
}
}
- $.get = function(url, data, success, dataType){
+ $.get = function(/* url, data, success, dataType */){
return $.ajax(parseArguments.apply(null, arguments))
}
- $.post = function(url, data, success, dataType){
+ $.post = function(/* url, data, success, dataType */){
var options = parseArguments.apply(null, arguments)
options.type = 'POST'
return $.ajax(options)
}
- $.getJSON = function(url, data, success){
+ $.getJSON = function(/* url, data, success */){
var options = parseArguments.apply(null, arguments)
options.dataType = 'json'
return $.ajax(options)
View
2  src/event.js
@@ -3,7 +3,7 @@
// Zepto.js may be freely distributed under the MIT license.
;(function($){
- var $$ = $.zepto.qsa, _zid = 1, undefined,
+ var _zid = 1, undefined,
slice = Array.prototype.slice,
isFunction = $.isFunction,
isString = function(obj){ return typeof obj == 'string' },
View
2  src/zepto.js
@@ -26,8 +26,6 @@ var Zepto = (function() {
'*': document.createElement('div')
},
readyRE = /complete|loaded|interactive/,
- classSelectorRE = /^\.([\w-]+)$/,
- idSelectorRE = /^#([\w-]*)$/,
simpleSelectorRE = /^[\w-]*$/,
class2type = {},
toString = class2type.toString,

1 comment on commit b3a7a6f

@ZDroid

Nice, Uglify really helps to find these! :smile:

Please sign in to comment.
Something went wrong with that request. Please try again.