Sha256: e5a492402a7948173e61143c574ab91c27b977290fb5a5c285835fa75f23e329

Contents?: true

Size: 444 Bytes

Versions: 234

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

234 entries across 234 versions & 1 rubygems

Version Path
govuk_publishing_components-35.16.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.15.5 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.15.4 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.15.3 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.15.2 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.15.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.15.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.14.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.13.2 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.13.1 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.13.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.12.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.11.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.10.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.9.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.8.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.7.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.6.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.5.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
govuk_publishing_components-35.4.0 app/assets/javascripts/govuk_publishing_components/lib/extend-object.js