MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

Remove dependency on jQuery #59398

Closed cglong closed 4 years ago

cglong commented 4 years ago

The code sample here depends on a copy of jQuery served from the Google CDN. We could easily replace the jQuery calls with e.g. native Promises, which work in any modern browser.

If we want to ensure the code sample runs on IE11, we should at least switch the CDN to the Microsoft AJAX CDN.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

amanmcse commented 4 years ago

@cglong Thank you for your feedback . We will investigate and update the thread further.

RohitMungi-MSFT commented 4 years ago

@PatrickFarley Could you please review this request?

PatrickFarley commented 4 years ago

@cglong Thank you for pointing out these liabilities. We're currently reevaluating our approach to REST samples. In the meantime, I encourage you to use the native JavaScript SDK instead - https://docs.microsoft.com/en-us/azure/cognitive-services/form-recognizer/quickstarts/client-library?tabs=windows&pivots=programming-language-javascript

please-close