Changeset 167

Show
Ignore:
Timestamp:
09/15/07 13:15:19 (6 years ago)
Author:
holidays-l
Message:

Fixed the path to sha1.js

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/misc/password.js

    r166 r167  
    1 var base = (function(){var s=document.getElementsByTagName('script'),i=0,n=s.length;while(i<n){if(new RegExp('(http://.*)password\.js$').exec(s[i++].src)){return RegExp.$1}}})(); 
     1var base = (function(){var s=document.getElementsByTagName('script'),i=0,n=s.length;while(i<n){if(new RegExp('(http://.*)/password\.js$').exec(s[i++].src)){return RegExp.$1}}})(); 
    22(function(v){var i,n,l,p,c={},w=window,t=setTimeout;for(i=0,n=v.length;i<n;++i){l=v[i];if(typeof l=='string'||l instanceof String){l={'':l}}for(p in l){if(p){if(w[p]){continue}c[p]=1}(function(j){var s=document.createElement('script');s.type='text/javascript';s.charset='UTF-8';s.src=j;t(function(){document.documentElement.appendChild(s)},0)})(l[p])}}return function(f){if(f){t(function(){for(p in c){if(!w[p]){return t(arguments.callee,99)}}f()},0)}return arguments.callee}}) 
    33([ 
    4     {'b64_hmac_sha1': base + 'Digest/sha1.js'} 
     4    {'b64_hmac_sha1': base + '/sha1.js'} 
    55]) 
    66(function() {