Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
11911b6e
...
11911b6ef019054abb78516fde4931447ec7b025
authored
2013-09-11 10:38:56 +0200
by
Mickaël Andrieu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tested an implementation to fix jshint issue
1 parent
ed6f391a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/utils.js
modules/utils.js
View file @
11911b6
...
...
@@ -80,7 +80,7 @@ exports.betterTypeOf = betterTypeOf;
*/
function
betterInstanceOf
(
input
,
constructor
)
{
"use strict"
;
/*jshint eqnull:true, eqeqeq:false */
/*jshint eqnull:true, eqeqeq:false
, browser:false
*/
while
(
input
!=
null
)
{
if
(
input
==
constructor
.
prototype
)
{
return
true
;
...
...
Please
register
or
sign in
to post a comment