Sha256: e5a492402a7948173e61143c574ab91c27b977290fb5a5c285835fa75f23e329

Contents?: true

Size: 444 Bytes

Versions: 213

Compression:

Stored size: 444 Bytes

Contents

(function (root) {
  'use strict'
  window.GOVUK = window.GOVUK || {}

  window.GOVUK.extendObject = function (obj) {
    obj = obj || {}

    for (var i = 1; i < arguments.length; i++) {
      if (!arguments[i]) {
        continue
      }

      for (var key in arguments[i]) {
        if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {
          obj[key] = arguments[i][key]
        }
      }
    }

    return obj
  }
}(window))

Version data entries

213 entries across 213 versions & 1 rubygems

Version Path
govuk_publishing_components-37.9.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.9.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.8.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.8.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.7.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.7.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.6.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.6.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.5.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.5.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.4.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.3.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.3.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.2.4 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.2.3 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.2.2 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.2.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.2.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.1.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-37.1.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js