js/jquery.cloudinary.js
function Layer(options) {
      this.options = {};
      if (options != null) {
        ["resourceType", "type", "publicId", "format"].forEach((function(_this) {
          return function(key) {
            var ref;
            return _this.options[key] = (ref = options[key]) != null ? ref : options[Util.snakeCase(key)];
          };
        })(this));
      }
    }
function Layer(options) {
      this.options = {};
      if (options != null) {
        ["resourceType", "type", "publicId", "format"].forEach((function(_this) {
          return function(key) {
            var ref;
            return _this.options[key] = (ref = options[key]) != null ? ref : options[Util.snakeCase(key)];
          };
        })(this));
      }
    }
function Layer ( options ) { this . options = { } ; if ( options != null ) { [ "resourceType" , "type" , "publicId" , "format" ] . forEach ( ( function ( _this ) { return function ( key ) { var ref ; return _this . options [ key ] = ( ref = options [ key ] ) != null ? ref : options [ Util . snakeCase ( key ) ] ; } ; } ) ( this ) ) ; } }
Layer
@constructor Layer
@param {Object} options - layer parameters
Layer