Changeset 18673 for lang/javascript
- Timestamp:
- 09/02/08 23:29:03 (3 months ago)
- Files:
-
- 1 modified
-
lang/javascript/ubiquity/mixi-updates.js (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/ubiquity/mixi-updates.js
r18595 r18673 609 609 this.handlers = new Object(); 610 610 }; 611 MixiAPI.Handler.prot ype.getTracksHandler = function() {611 MixiAPI.Handler.prototype.getTracksHandler = function() { 612 612 if (!this.handlers['tracks']) 613 613 this.handlers['tracks'] = new MixiAPI.TracksHandler(this.client); … … 690 690 req.setRequestHeader('X-Wsse', this.getToken()); 691 691 } 692 ret rn req;692 return req; 693 693 }; 694 694 MixiAPI.Client.prototype.sendGetRequest = function(url, options) { … … 711 711 req.setRequestHeader('If-None-Match', '"' + this.cache[url]['etag'] + '"'); 712 712 if (this.cache[url]['last-modified']) 713 req.setRequestHeader('If-Modified-Since', this.cache[ che[url] = new Object();713 req.setRequestHeader('If-Modified-Since', this.cache[url]['last-modified']); 714 714 } 715 715 req.send(null); … … 768 768 var author = MixiAPI.TracksHandler._parseAuthor(node); 769 769 track['name'] = author.name; 770 track['image ] = author.image;770 track['image'] = author.image; 771 771 track['relation'] = author.relation; 772 772 break; … … 926 926 this.client.getFeed(MixiAPI.PhotoHandler.ENTRY_POINT, options); 927 927 }; 928 MixiAPI.PhotoHandler._parseAlbes = collection.childNodes; 928 MixiAPI.PhotoHandler._parseAlbum = function(collection) { 929 var nodes = collection.childNodes; 929 930 var album = new Object(); 930 931 album['link'] = collection.getAttribute('href'); … … 985 986 MixiAPI.PhotoHandler.prototype.getAlbums = function(options) { 986 987 var handler = this; 987 (options['onStart ] || function(){})();988 (options['onStart'] || function(){})(); 988 989 if (this.isLoaded) { 989 990 (options['onSuccess'] || function(){})(this.albums); … … 1078 1079 MixiAPI.UpdatesHandler.ENTRY_POINT = 'http://mixi.jp/atom/updates/r=1/'; 1079 1080 MixiAPI.UpdatesHandler.prototype.preload = function(options) { 1080 v r handler = this;1081 var handler = this; 1081 1082 var callback = (options['onSuccess'] || function(){}); 1082 1083 options['onSuccess'] = function(res) {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)