Skip to content

Instantly share code, notes, and snippets.

View michalhisim's full-sized avatar
💭
Nutella

Michal Šimon michalhisim

💭
Nutella
View GitHub Profile
@michalhisim
michalhisim / live-form-validation.js
Created December 8, 2011 18:56 — forked from redhead/live-form-validation.js
Live Form Validation for Nette 2.0
/**
* Live Form Validation for Nette 2.0
*
* @author Radek Ježdík, David Grudl
* @license New BSD License
*/
var LiveForm = {
options: {
controlErrorClass: 'form-control-error',
<?php
require_once(Application::MODELS . 'Menu.php');
/**
* Návrhový vzor Singleton => může existovat pouze jedna jediná instance.
*/
class Application{
private static $instance = false;
const APP = WEB_ROOT . 'app/';