mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(view): use nextUid from angular to generate unique ids
Math.random() is unreliable, produces duplicates, and numbers can overflow if you use them for long enough.
This commit is contained in:
@@ -353,5 +353,4 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
|
||||
return directive;
|
||||
}]);
|
||||
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user