Skip to content

Commit

Permalink
typos in tutorial (README.md)
Browse files Browse the repository at this point in the history
fixed path to netteForms.js (nette v2.1),
fixed field name (jsLoader to webLoader)
  • Loading branch information
castamir committed Jan 1, 2014
1 parent 713df0c commit 1d1551e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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');
}
```

Expand Down

0 comments on commit 1d1551e

Please sign in to comment.