Commit 600812c6 600812c645477329f4a5612d118a45bac819ebba by Nicolas Perriault

properly scoped ClientUtils

1 parent dd5c9fda
...@@ -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();
......