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
var moment = require('alloy/moment'); | |
// Cloudinary credentials - **Replace these with your creds!!! | |
var cloudName = 'Your_Cloud_Name'; | |
var apiKey = 999999999999; | |
var apiSecret = 'XXXXXXXXXX-XXXXX-XX'; | |
// Image API URL base | |
var apiBaseUrl = 'http://api.cloudinary.com/v1_1/'; | |
// Create and send alert on error | |
function alert(message, title, ok, callback) { |