Sha256: cedfdd72e92cf2b38a0d432f2ec57daef1dbd248350c099b079bc4c8384df294
Contents?: true
Size: 729 Bytes
Versions: 39
Compression:
Stored size: 729 Bytes
Contents
window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {}; (function (Modules) { function Govspeak ($module) { this.$module = $module } Govspeak.prototype.init = function () { if (this.$module.className.indexOf('js-disable-youtube') === -1) { this.embedYoutube() } this.createBarcharts() } Govspeak.prototype.embedYoutube = function () { var enhancement = new window.GOVUK.GovspeakYoutubeLinkEnhancement(this.$module) enhancement.init() } Govspeak.prototype.createBarcharts = function () { var enhancement = new window.GOVUK.GovspeakBarchartEnhancement(this.$module) enhancement.init() } Modules.Govspeak = Govspeak })(window.GOVUK.Modules)
Version data entries
39 entries across 39 versions & 1 rubygems