Built files from Bizgaze WebServer
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

sammy.hogan-0.7.6.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});