properly scoped ClientUtils
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | /** | 35 | /** |
36 | * Casper client-side helpers. | 36 | * Casper client-side helpers. |
37 | */ | 37 | */ |
38 | ClientUtils = function ClientUtils() { | 38 | exports.ClientUtils = function ClientUtils() { |
39 | var BASE64_ENCODE_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; | 39 | var BASE64_ENCODE_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; |
40 | var BASE64_DECODE_CHARS = new Array( | 40 | var BASE64_DECODE_CHARS = new Array( |
41 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, | 41 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
... | @@ -553,7 +553,6 @@ | ... | @@ -553,7 +553,6 @@ |
553 | } | 553 | } |
554 | }; | 554 | }; |
555 | }; | 555 | }; |
556 | exports.ClientUtils = ClientUtils; | ||
557 | 556 | ||
558 | // silly "hack" to force having an instance available | 557 | // silly "hack" to force having an instance available |
559 | exports.__utils__ = new exports.ClientUtils(); | 558 | exports.__utils__ = new exports.ClientUtils(); | ... | ... |
-
Please register or sign in to post a comment