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
600812c6
...
600812c645477329f4a5612d118a45bac819ebba
authored
2012-05-21 18:20:59 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
properly scoped ClientUtils
1 parent
dd5c9fda
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
modules/clientutils.js
modules/clientutils.js
View file @
600812c
...
...
@@ -35,7 +35,7 @@
/**
* Casper client-side helpers.
*/
ClientUtils
=
function
ClientUtils
()
{
exports
.
ClientUtils
=
function
ClientUtils
()
{
var
BASE64_ENCODE_CHARS
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
;
var
BASE64_DECODE_CHARS
=
new
Array
(
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
...
...
@@ -553,7 +553,6 @@
}
};
};
exports
.
ClientUtils
=
ClientUtils
;
// silly "hack" to force having an instance available
exports
.
__utils__
=
new
exports
.
ClientUtils
();
...
...
Please
register
or
sign in
to post a comment