update components
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
define(['browser'], function (browser) {
|
||||
|
||||
function getAnimationPerformance() {
|
||||
|
||||
if (browser.mobile) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 5;
|
||||
}
|
||||
|
||||
return {
|
||||
getAnimationPerformance: getAnimationPerformance
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user