Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rsvp.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
rsvp.js
Commits
f47dc87e
Commit
f47dc87e
authored
Jan 05, 2017
by
Romain Courteaud
3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not use native promise by default.
It breaks Firefox compatibility for jio/renderjs.
parent
b8279d82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/rsvp/async.js
lib/rsvp/async.js
+3
-3
No files found.
lib/rsvp/async.js
View file @
f47dc87e
...
...
@@ -81,14 +81,14 @@ function useSetTimeout() {
};
}
if
(
checkNativePromise
())
{
async
=
useNativePromise
();
}
else
if
(
typeof
setImmediate
===
'
function
'
)
{
if
(
typeof
setImmediate
===
'
function
'
)
{
async
=
useSetImmediate
();
}
else
if
(
typeof
process
!==
'
undefined
'
&&
{}.
toString
.
call
(
process
)
===
'
[object process]
'
)
{
async
=
useNextTick
();
}
else
if
(
BrowserMutationObserver
)
{
async
=
useMutationObserver
();
}
else
if
(
checkNativePromise
())
{
async
=
useNativePromise
();
}
else
{
async
=
useSetTimeout
();
}
...
...
Romain Courteaud
@romain
mentioned in commit
70a3e64c
·
May 18, 2018
mentioned in commit
70a3e64c
mentioned in commit 70a3e64ca47e2b8b70c23cc7c2fab6261df9b485
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment