From 6c1eead86e9a38581f941b06f72a8cb2b5276b2d Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Mon, 19 Jan 2015 23:34:19 +0300 Subject: [PATCH] Fixes #6925 --- docs/guide/output-client-scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/output-client-scripts.md b/docs/guide/output-client-scripts.md index 05a629a..3f29067 100644 --- a/docs/guide/output-client-scripts.md +++ b/docs/guide/output-client-scripts.md @@ -30,7 +30,7 @@ instead of adding a new one. If you don't provide it, the JS code itself will be An external script can be added like the following: ```php -$this->registerJsFile('http://example.com/js/main.js', ['depends' => [JqueryAsset::className()]]); +$this->registerJsFile('http://example.com/js/main.js', ['depends' => [\yii\web\JqueryAsset::className()]]); ``` The arguments for [[yii\web\View::registerJsFile()|registerJsFile()]] are similar to those for