This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
function getInstance(service, hatenaId, blogId) { | |
return new HatenaBlog_(service, hatenaId, blogId); | |
} | |
var HatenaBlog_ = (function() { | |
var validates = { | |
entryId: function(value) { | |
if (value == null) throw new Error('Missing required parameter'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
function getInstance(consumer_key, consumer_secret) { | |
return new TwitterWebService_(consumer_key, consumer_secret); | |
} | |
var TwitterWebService_ = function (consumer_key, consumer_secret) { | |
this.consumer_key = consumer_key; | |
this.consumer_secret = consumer_secret; | |
} |
OlderNewer