From 31bf7ce433f0cb91084aa5972f5cda4980416108 Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Sun, 15 Oct 2017 21:24:49 -0700 Subject: [PATCH 1/2] Fixes #1930: fix documentation errors Adds missing `document.` before `getElementById` calls. --- docs/quickstart/01-getting-started.jmd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/quickstart/01-getting-started.jmd b/docs/quickstart/01-getting-started.jmd index 250ec48cf..1e10b4efc 100644 --- a/docs/quickstart/01-getting-started.jmd +++ b/docs/quickstart/01-getting-started.jmd @@ -648,7 +648,7 @@ Remember, when using the "core" build, you will need to build your own UI and up @@ -786,19 +786,19 @@ Remember, when using the "core" build, you will need to build your own UI and up // For a traditional endpoint instance: // Some options to pass to the uploader are discussed on the next page var traditionalUploader = new qq.FineUploader({ - element: getElementById("traditional-uploader") + element: document.getElementById("traditional-uploader") }) // For an S3 endpoint instance: // Some options to pass to the uploader are discussed on the next page var s3Uploader = new qq.s3.FineUploader({ - element: getElementById("s3-uploader") + element: document.getElementById("s3-uploader") }) // For an Azure endpoint instance: // Some options to pass to the uploader are discussed on the next page var azureUploader = new qq.azure.FineUploader({ - element: getElementById("azure-uploader") + element: document.getElementById("azure-uploader") }) From 37f9cad8bcad5844d72cb0c29fc3d7892c0b3b65 Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Sun, 15 Oct 2017 21:26:17 -0700 Subject: [PATCH 2/2] Adds missing `document.` to `getElementById` calls --- docs/quickstart/01-getting-started.jmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart/01-getting-started.jmd b/docs/quickstart/01-getting-started.jmd index 1e10b4efc..668e49d7d 100644 --- a/docs/quickstart/01-getting-started.jmd +++ b/docs/quickstart/01-getting-started.jmd @@ -523,7 +523,7 @@ Remember, when using the "core" build, you will need to build your own UI and up