public
Description: psuedo s3 protocol for mozilla browsers
Homepage: http://overstimulate.com/projects/s3
Clone URL: git://github.com/anotherjesse/s3.git
converting the auth library to a jsm
anotherjesse (author)
Sun Jun 29 22:09:25 -0700 2008
commit  30aa833d49bb2cb216eea8026d7cb34c3f742a6c
tree    f6f9846b38da80c2cbfd9c83895c333e60587a9c
parent  7f967c8a75e0d451739f890226cc70a8a47c3403
...
3
4
5
 
6
...
3
4
5
6
7
0
@@ -3,3 +3,4 @@ skin  s3 classic/1.0  chrome/skin/
0
 
0
 overlay chrome://browser/content/browser.xul chrome://s3/content/browserOverlay.xul
0
 
0
+resource s3 modules/
0
\ No newline at end of file
...
24
25
26
27
28
29
30
...
24
25
26
 
27
28
29
0
@@ -24,7 +24,6 @@
0
   <script type="application/x-javascript" src="chrome://s3/content/vendor/jquery.blockUI.js"></script>
0
   <script type="application/x-javascript" src="chrome://s3/content/vendor/jquery.easing.js"></script>
0
   <script type="application/x-javascript" src="chrome://s3/content/vendor/humanmsg.js"></script>
0
- <script type="application/x-javascript" src="chrome://s3/content/auth.js"></script>
0
   <script type="application/x-javascript" src="chrome://s3/content/accounts.js"></script>
0
 </head>
0
 <body>
...
10
11
12
 
13
14
15
...
89
90
91
92
 
93
94
95
...
108
109
110
111
 
112
113
114
 
115
116
117
118
119
120
 
121
122
123
...
10
11
12
13
14
15
16
...
90
91
92
 
93
94
95
96
...
109
110
111
 
112
113
114
 
115
116
117
118
119
120
 
121
122
123
124
0
@@ -10,6 +10,7 @@
0
 // for the specific language governing rights and limitations under the
0
 // License.
0
 
0
+Components.utils.import("resource://s3/auth.js");
0
 
0
 function setkeys() {
0
   $('#account').show();
0
@@ -89,7 +90,7 @@ function s3Control() {
0
 
0
   function load() {
0
     try {
0
- var creds = s3.auth.get();
0
+ var creds = s3_auth.get();
0
       S3Ajax.KEY_ID = creds.key;
0
       S3Ajax.SECRET_KEY = creds.secret;
0
       list();
0
@@ -108,16 +109,16 @@ function s3Control() {
0
     var secret = trim($('#s3-secret-key').val());
0
 
0
     if (key && key.length > 0) {
0
- s3.auth.set(key, secret);
0
+ s3_auth.set(key, secret);
0
     }
0
     else {
0
- s3.auth.clear();
0
+ s3_auth.clear();
0
     }
0
 
0
     window.location = window.location.href;
0
   };
0
 
0
- var creds = s3.auth.get();
0
+ var creds = s3_auth.get();
0
 
0
   if (creds) {
0
     $('#s3-key').val(creds.key);

Comments

    No one has commented yet.