Landing : Athabascau University

Group members: this is the place for your learning diary. Use this to post your zipped-up site at least once each unit, and your reflections as often as you wish (at least once per unit). Please write your reflections directly in the post, not as attached files. Where you do need to attach documents, such as for unit 1 designs, use PDF, PNG or JPG formats. You can attach files using the 'Embed content' link in the editor.

QUICK COURSE LINKS:  Add blog post - Read latest group postsFAQs: Course process : Site design : HTML : CSS : JavaScript : JQuery : AJAX : MiscPodcasts for each unit

Updated resource pages:  Unit 1 - Unit 2  - Unit 3Units 4 & 5 - Unit 6 - Unit 7

mportant notice: the student web server is unavailable. Until this is fixed, we do not require you to upload your site to the student server. See Running a web server on your local machine for details of how to meet the requirements for the final unit

JavaScript classes and IE11

  • Public
By Zakaria Bakkal in the group COMP 266 April 28, 2019 - 8:28pm

Problem

I encountered a problem when using javascript classes I try to open my website using IE11. I kept getting the error: SCRIPT1002: Syntax error product.js (6,1). This means that the class keyword is not recognized by the IE11 browser. Fortunately there is a fix to this incompatibility problem. All I need is a tool to convert my classes to something IE11 understands.

Tools

download and install nodejs from https://nodejs.org/en/

download and install babel (CLI) from https://babeljs.io/

Then follow the instructions here: https://babeljs.io/setup#installation

After a successful instalation, you can transform your js classes to a version that IE11 understands.