Skip to content

Instantly share code, notes, and snippets.

(function($, undefined) {
/**
* Shows info on Ajax request
*/
$.nette.ext('diagnostics.jsonpanel', {
start: function (xhr, settings) {
var $panel = this.getPanel();
if (!$panel) return;
if (this.singleReport) this.clear();
$(this.getTitle(++this.counter, 'request')).appendTo($panel);
<?php
/**
* Image helper with automatic image resize and cache
*
* @author Roman Ozana, ozana@omdesign.cz
* @link www.omdesign.cz
*
*
* add to presenter before render function
*