From 1d1551e2a40d580c0756bad001fe3ef55bbcc163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Paul=C3=ADk?= Date: Wed, 1 Jan 2014 16:04:39 +0100 Subject: [PATCH] typos in tutorial (README.md) fixed path to netteForms.js (nette v2.1), fixed field name (jsLoader to webLoader) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2a0801..fa3e433 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ webloader: - http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js - http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js files: - - %appDir%/../libs/nette/nette/client-side/forms/netteForms.js + - %appDir%/../libs/nette/nette/client-side/netteForms.js - web.js ``` @@ -97,7 +97,7 @@ Usage in `app/presenters/BasePresenter.php`: /** @return JavaScriptLoader */ protected function createComponentJs() { - return $this->jsLoader->createJavaScriptLoader('default'); + return $this->webLoader->createJavaScriptLoader('default'); } ```