20212223242526272829
private HistoryImpl historyImpl; public DynamicHistoryImpl() { if(PushStateUtil.isPushStateActivated()) { historyImpl = new HistoryImplPushState(); } else historyImpl = new HistoryImpl(); }