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.hogan-latest.min.js 778B

12345
  1. // -- Sammy.js -- /plugins/sammy.hogan.js
  2. // http://sammyjs.org
  3. // Version: 0.7.6
  4. // Built: 2014-08-26 10:45:32 +0300
  5. (function(factory){if(typeof define==="function"&&define.amd){define(["jquery","sammy","hogan"],factory)}else{(window.Sammy=window.Sammy||{}).Hogan=factory(window.jQuery,window.Sammy,window.Hogan)}})(function($,Sammy){Sammy.Hogan=function(app,method_alias){var cached_templates={};var hogan=function(template,data,partials){var compiled_template=cached_templates[compiled_template];if(!compiled_template){compiled_template=Hogan.compile(template)}data=$.extend({},this,data);partials=$.extend({},data.partials,partials);return compiled_template.render(data,partials)};if(!method_alias){method_alias="hogan"}app.helper(method_alias,hogan)};return Sammy.Hogan});