Get Animate to Export ES5 JavaScript??

Explorer ,
Jun 20, 2020 Jun 20, 2020

Copy link to clipboard

Copied

Hi,

CreateJS is still based on ES5 - but Adobe Animate is now mixing in ES6 JavaScript into the index.js files it produces.


Our site still gets about 10% of IE11 visitors (about 100k school users a month) - who have no support for ES6. If adobe let us export ES5 code, it wold let all of our visitors user the content we create.

Can there not be an option to export only ES5 code?

TOPICS
Ad development, Code, Import and export, Missing feature, Performance, Product issue

Views

114

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 20, 2020 Jun 20, 2020

Copy link to clipboard

Copied

Hi,

Are you using 20.5 version of Animate? We have fixed IE specific issue in 20.5 and would like to know whether you are still facing any issue.

 

Thanks!

Mohan  

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 21, 2020 Jun 21, 2020

Copy link to clipboard

Copied

Confirmed that this has been fixed in 20.5.

 

If you can't upgrade, you can try to use this shim to get around the error...

if(!Map){var Map=function(t){if(this.clear(),t)for(var e=0;e<t.length;e++)this.set(t[e][0],t[e][1])};Map.prototype.clear=function(){this._map={},this._keys=[],this.size=0},Map.prototype.get=function(t){return this._map["map_"+t]},Map.prototype.set=function(t,e){return this._map["map_"+t]=e,this._keys.indexOf(t)<0&&this._keys.push(t),this.size=this._keys.length,this},Map.prototype.has=function(t){return this._keys.indexOf(t)>=0},Map.prototype.delete=function(t){var e=this._keys.indexOf(t);return!(e<0)&&(delete this._map["map_"+t],this._keys.splice(e,1),this.size=this._keys.length,!0)},Map.prototype.keys=function(){return{_keys:this._keys,_idx:0,next:function(){return this._idx<this._keys.length?{value:this._keys[this._idx++],done:!1}:{value:void 0,done:!0}}}},Map.prototype.forEach=function(t,e){for(var s=0;s<this._keys.length;s++)t.call(e,this._map["map_"+this._keys[s]],this._keys[s],this)}}

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 25, 2020 Jun 25, 2020

Copy link to clipboard

Copied

LATEST

Hi Mohan,

 

Yes! I can confirm that 20.5 has fixed the issue!

 

it is great that Adobe is still supporting ES5 browsers like IE11 / older iPads / older devices.

 

great work!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines