Add an exampleNS.strToBase64 function

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Base64_encoding_and_decoding
This commit is contained in:
Éric Lemoine
2014-06-25 14:19:10 +02:00
parent 78ac2c8a76
commit 7fb3e5842d
2 changed files with 182 additions and 0 deletions

View File

@@ -7,3 +7,10 @@ var exampleNS;
/** @interface */
exampleNS.getRendererFromQueryString = function() {};
/**
* @param {string} str String.
* @return {string} Base64 string.
*/
exampleNS.strToBase64 = function(str) {};