From cad4e2f6dc0b2733ffbc9034e3141edeac5227e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 10 Feb 2015 16:24:28 +0100 Subject: [PATCH] Update some line numbers --- docs/plugins/gettingstarted.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins/gettingstarted.rst b/docs/plugins/gettingstarted.rst index 0c2c0b65..b039a6bb 100644 --- a/docs/plugins/gettingstarted.rst +++ b/docs/plugins/gettingstarted.rst @@ -609,7 +609,7 @@ like so: ]); }); -Take a close look at lines 29 to 40. This is how our plugin tells OctoPrint about our new view model, how to +Take a close look at lines 31 to 42. This is how our plugin tells OctoPrint about our new view model, how to instantiate it, which dependencies to inject and to which elements in the final page to bind. Since we want to access the URL from the settings of our plugin, we'll have OctoPrint inject the ``SettingsViewModel`` into our own view model, which is registered within OctoPrint under the name ``settingsViewModel``. We'll only bind to our custom tab