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
f16f8346
...
f16f8346c8e9efaee11bb13b80b9e8091b859e77
authored
2013-09-11 10:47:25 +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
0f0bb3cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/utils.js
modules/utils.js
View file @
f16f834
...
...
@@ -80,7 +80,7 @@ exports.betterTypeOf = betterTypeOf;
*/
function
betterInstanceOf
(
input
,
constructor
)
{
"use strict"
;
/*jshint eqnull:true, eqeqeq:false */
/*jshint eqnull:true, eqeqeq:false
, undef:false
*/
while
(
input
!=
null
)
{
if
(
input
==
constructor
.
prototype
)
{
return
true
;
...
...
Please
register
or
sign in
to post a comment