Built files from Bizgaze WebServer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sammy.title-latest.min.js 715B

12345
  1. // -- Sammy.js -- /plugins/sammy.title.js
  2. // http://sammyjs.org
  3. // Version: 0.7.6
  4. // Built: 2014-08-26 10:45:34 +0300
  5. (function(factory){if(typeof define==="function"&&define.amd){define(["jquery","sammy"],factory)}else{(window.Sammy=window.Sammy||{}).Title=factory(window.jQuery,window.Sammy)}})(function($,Sammy){Sammy.Title=function(){this.setTitle=function(title){if(!$.isFunction(title)){this.title_function=function(additional_title){return[title,additional_title].join(" ")}}else{this.title_function=title}};this.helper("title",function(){var new_title=$.makeArray(arguments).join(" ");if(this.app.title_function){new_title=this.app.title_function(new_title)}document.title=new_title})};return Sammy.Title});