Code Monkey home page Code Monkey logo

Comments (5)

AlexJerabek avatar AlexJerabek commented on May 29, 2024

Thanks for reporting this @Stephen-C-Butler.

@Rick-Kirkham, could you please take a look?

from office-add-in-samples.

Stephen-C-Butler avatar Stephen-C-Butler commented on May 29, 2024

I am not a Java coder. So, noob alert.

My own research is making me suspect that I am using a browser which does not support the async/await functionality. I am reading that this was introduced in JScript 1.7.

I go to this link using the machine/browser on my tools box.
http://jsfiddle.net/Ac6CT/
That tool tells me I am using version 1.7, but I also read that Microsoft has a version of JScript which does not implement all functionality.

If it helps, I'm using this browser:
Microsoft Edge
Version 91.0.864.53 (Official build) (64-bit)

from office-add-in-samples.

davidchesnut avatar davidchesnut commented on May 29, 2024

Hi @Stephen-C-Butler,

Thanks for catching this! The sample needs a polyfill added so it can work for ES5 on older browsers. I put this on the backlog to fix the sample.

from office-add-in-samples.

Stephen-C-Butler avatar Stephen-C-Butler commented on May 29, 2024

from office-add-in-samples.

davidchesnut avatar davidchesnut commented on May 29, 2024

Hi @Stephen-C-Butler, hoping to close out this old issue. I think the original issue identified here is fixed. There was a big refresh on this sample a while ago. So if it is still happening can you please reopen this?

When I referred to older browsers, I should have been more specific. On some older versions of Office on Windows, the IE 11 webview is used. If you plan to run on those older versions you would need to transpile the code to support ES5. There's more info in Browsers used by Office Add-ins.

Hope this helps, and please reopen if there is still any issue with this sample.
Thanks!
David

from office-add-in-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.