Mercurial > eldonilo > lightstring
comparison plugins/DIGEST-MD5.js @ 73:e4899c122d7b
Fix the comment about Strophe.js code.
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Mon, 06 Feb 2012 16:53:22 +0100 |
parents | e1ccfb580228 |
children |
comparison
equal
deleted
inserted
replaced
72:5dbf93cef55d | 73:e4899c122d7b |
---|---|
76 //TODO: Error? | 76 //TODO: Error? |
77 } | 77 } |
78 ); | 78 ); |
79 }, | 79 }, |
80 'challenge': function (stanza) { | 80 'challenge': function (stanza) { |
81 //FIXME this is mostly Strophe code | 81 //FIXME: this is Strophe.js code |
82 | 82 |
83 function _quote(str) { | 83 function _quote(str) { |
84 return '"' + str.replace(/\\/g, '\\\\').replace(/"/g, '\\"') + '"'; | 84 return '"' + str.replace(/\\/g, '\\\\').replace(/"/g, '\\"') + '"'; |
85 }; | 85 }; |
86 | 86 |