packages/ag-grid-docs/src/dist/aui/js/aui.js
/**
  * Wraps all an objects properties in a deprecation warning, if possible. functions will always log warnings, but other
  * types of properties will only log in browsers supporting Object.defineProperty
  * @param {Object} obj the object to be wrapped
  * @param {string} objDisplayPrefix the object's prefix to be used in logs
  * @param {string} options.removeInVersion the version this will be removed in
  * @param {string} options.alternativeNamePrefix the name of another object to prefix the deprecated objects properties with
  * @param {string} options.sinceVersion the version this has been deprecated since
  * @param {string} options.extraInfo extra information to be printed at the end of the deprecation log
  */
Wraps all an objects properties in a deprecation warning, if possible.
Wraps all an objects properties in a deprecation warning if possible .
function deprecateAllProperties(obj, objDisplayPrefix, options) {
      options = options || {};
      for (var attr in obj) {
          if (has.call(obj, attr)) {
              options.deprecationType = options.deprecationType || 'JS';
              options.displayName = objDisplayPrefix + attr;
              options.alternativeName = options.alternativeNamePrefix && options.alternativeNamePrefix + attr;
              deprecateObjectProperty(obj, attr, _jquery2.default.extend({}, options));
          }
      }
  }
function deprecateAllProperties ( obj , objDisplayPrefix , options ) { options = options || { } ; for ( var attr in obj ) { if ( has . call ( obj , attr ) ) { options . deprecationType = options . deprecationType || 'JS' ; options . displayName = objDisplayPrefix + attr ; options . alternativeName = options . alternativeNamePrefix && options . alternativeNamePrefix + attr ; deprecateObjectProperty ( obj , attr , _jquery2 . default . extend ( { } , options ) ) ; } } }
Wraps all an objects properties in a deprecation warning, if possible.
Wraps all an objects properties in a deprecation warning if possible .