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
2ab46f47
...
2ab46f47d72353a83d5a32d870021d5552963a29
authored
2013-09-12 03:40:42 -0700
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #622 from mickaelandrieu/master
Tagged betterInstanceOf & assertion as 1.1
2 parents
54fb4c03
c11a69c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
docs/modules/tester.rst
docs/modules/utils.rst
docs/modules/tester.rst
View file @
2ab46f4
...
...
@@ -452,6 +452,8 @@ Asserts that the provided input is of the given type::
**Signature:** ``assertInstanceOf(mixed input, Function constructor[, String message])``
.. versionadded:: 1.1
Asserts that the provided input is of the given constructor::
function Cow() {
...
...
docs/modules/utils.rst
View file @
2ab46f4
...
...
@@ -27,6 +27,8 @@ Provides a better ``typeof`` operator equivalent, eg. able to retrieve the ``Arr
``betterInstanceOf()``
-------------------------------------------------------------------------------
.. versionadded:: 1.1
**Signature:** ``betterInstanceOf(input, constructor)``
Provides a better ``instanceof`` operator equivalent, is able to retrieve the ``Array`` instance or to deal with inheritance.
...
...
Please
register
or
sign in
to post a comment