Sha256: 9b0dd119aaa116ce37acb7259ee7209a92a5c65cb8c75bcbf2cdb5cd3131122a
Contents?: true
Size: 497 Bytes
Versions: 4
Compression:
Stored size: 497 Bytes
Contents
Joosy.Modules.Page_Title = # # Sets the page HTML title. # # @note Title will be reverted on unload. # # @param [String] title Title to set. # title: (title, separator=' / ') -> @afterLoad -> titleStr = if Object.isFunction(title) then title.apply(@) else title titleStr = titleStr.join(separator) if Object.isArray(titleStr) @__previousTitle = document.title document.title = titleStr @afterUnload -> document.title = @__previousTitle
Version data entries
4 entries across 4 versions & 1 rubygems