Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lint errors

  • Loading branch information...
commit 7fa01765c79d3be827e64ee5a51ba540b1388ef3 1 parent 7be8bca
@tomfuertes tomfuertes authored
View
1  src/core.js
@@ -6,6 +6,7 @@
*
* @author Eduardo Cereto <eduardocereto@gmail.com>
*/
+ /*global document:true*/
/**
* Google Analytics original _gaq.
View
2  src/helpers.js
@@ -67,7 +67,7 @@ GasHelper.prototype._sanitizeString = function (str, strict_opt) {
.replace(/[碩]/g, 'c');
if (strict_opt) {
- str = str.replace(/[^a-z0-9_-]/g, '_');
+ str = str.replace(/[^a-z0-9_\-]/g, '_');
}
return str.replace(/_+/g, '_');
};
View
2  src/plugins/vimeo.js
@@ -9,6 +9,8 @@
* @author Eduardo Cereto <eduardocereto@gmail.com>
*/
+ /*jshint latedef:false*/
+
var _vimeoTimeTriggers = [];
var _vimeoPoolMaps = {};
View
2  src/plugins/youtube.js
@@ -52,7 +52,7 @@ function _ytStartPool(target) {
var h = target['getVideoUrl']();
if (_ytPoolMaps[h]) {
_ytStopPool(target);
- }else {
+ } else {
_ytPoolMaps[h] = {};
_ytPoolMaps[h].timeTriggers = slice.call(_ytTimeTriggers);
}
Please sign in to comment.
Something went wrong with that request. Please try again.