question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Promise is not returned from Velocity() in IE10.

See original GitHub issue

Velocity() 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:closed
  • Created 9 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SgtPookicommented, Apr 11, 2015

Aahaha… I’m a dummy =) woooow. you gotta do Promise = require('es6-promise').Promise with the es6-promise package.

=) Carry-on…

1reaction
julianshapirocommented, Sep 12, 2014

i think you can just assign it to $.Velocity.Promise.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found