From 2e53afaa7173a65e8480d2f36ffda32299f4bf42 Mon Sep 17 00:00:00 2001 From: Shaun Hammill Date: Wed, 20 May 2015 09:44:45 -0400 Subject: [PATCH 1/2] Dude jshint, Chill --- brototype.js | 8 ++++---- tests.js | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/brototype.js b/brototype.js index 8d774fb..3f8d248 100644 --- a/brototype.js +++ b/brototype.js @@ -1,4 +1,4 @@ -/*global exports:true, module:true, window:true, require:false, define:false*/ +/*global exports:false, module:true, window:true, require:false, define:false*/ (function() { 'use strict'; @@ -68,7 +68,7 @@ if (Array.isArray(key)) { var index, value, result = []; for (index in key) { - if (value = this.iCanHaz(key[index])) { + if ((value = this.iCanHaz(key[index]))) { result.push(value); } } @@ -111,11 +111,11 @@ } return props; }, - + "hasRespect": function(prop) { return this.obj.hasOwnProperty(prop); }, - + "iDontAlways": function(methodString) { var method = this.iCanHaz(methodString); diff --git a/tests.js b/tests.js index ff82fad..e43ba33 100644 --- a/tests.js +++ b/tests.js @@ -165,8 +165,7 @@ describe('Bro.braceYourself', function() { }); describe('Bro.makeItHappen', function() { - var success, - expected, + var expected, obj; beforeEach(function() { From 85ca11ae810ba24df9c7a7dceff61a45141bc540 Mon Sep 17 00:00:00 2001 From: Shaun Hammill Date: Thu, 21 May 2015 09:44:10 -0400 Subject: [PATCH 2/2] Hound, Settle down. --- brototype.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brototype.js b/brototype.js index 3f8d248..77bdf50 100644 --- a/brototype.js +++ b/brototype.js @@ -1,4 +1,4 @@ -/*global exports:false, module:true, window:true, require:false, define:false*/ +/*global module:true, window:true, define:false*/ (function() { 'use strict';