mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
Use complete RSVP instead of ES6Promise
This commit is contained in:
@@ -39,6 +39,11 @@ if ((typeof Tomahawk === "undefined") || (Tomahawk === null)) {
|
||||
|
||||
Tomahawk.apiVersion = "0.2.2";
|
||||
|
||||
// install RSVP.Promise as global Promise
|
||||
if(window.Promise === undefined) {
|
||||
window.Promise = window.RSVP.Promise;
|
||||
}
|
||||
|
||||
/**
|
||||
* Compares versions strings
|
||||
* (version1 < version2) == -1
|
||||
|
Reference in New Issue
Block a user