Promise is not returned from Velocity() in IE10.
See original GitHub issueVelocity()
returns null
instead of a promise in IE10, although animation works.
Example jsfiddle that breaks in IE10: http://jsfiddle.net/q59rwwg9/
Example code:
var slice = Array.prototype.slice;
var elems = slice.call(document.getElementsByTagName('div'));
Velocity(
elems,
'callout.shake'
).then(function() {});
Issue Analytics
- State:
- Created 9 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
How to support promises in Internet Explorer 11?
How can I make it work on all browsers? 'use strict'; let promise = new Promise((resolve, reject) => { setTimeout(() => { resolve("result");...
Read more >Change or reset Internet Explorer settings - Microsoft Support
Learn how to change Internet Explorer settings, or reset browser settings when there's a problem.
Read more >IE10 and IE11 download both bundles · Issue #1 - GitHub
Hi IE10 and IE11 download both bundles but only execute the ES2015 bundle and everything works fine. I'm wondering if there is a...
Read more >Velocity.js
Velocity is an animation engine with the same API as jQuery's $.animate(). ... Infinite loops never return promises, ignore the complete callback, ...
Read more >when | Yarn - Package Manager
When.js is a rock solid, battle-tested Promises/A+ and when() implementation, including a complete ES6 Promise shim. It's a powerful combination of small ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Aahaha… I’m a dummy =) woooow. you gotta do
Promise = require('es6-promise').Promise
with the es6-promise package.=) Carry-on…
i think you can just assign it to $.Velocity.Promise.