Refactoring promiseGAPIExecute() with the answer http://stackoverflow.com/a/25748410/338986.
Refactoring promiseGAPIExecute() with the answer http://stackoverflow.com/a/25748410/338986.

hiroshi/PhotoHistoryGyazo,hiroshi/PhotoHistoryCloud