Closed marcog83 closed 10 years ago
Can you please confirm which version of route package you're using?
useFragment is a way to explicitly tell the framework either to use location assign or history pushState. By default (null) it will try to determine automatically which one to use.
Nevermind, I see it's 0.4.5.
I don't have IE 9/10 handy so I'll try to go by code. To clarify, does this happen when you click on the link or when you click back/forward button in the browser?
It happens when i click on the link.
This is the demo link http://exchange.nurunadv.com/dart/webui/
About back/forward button on Chrome and Firefox: I started at http://webui.demo.local/ OK clicked on the first thumbnail http://exchange.nurunadv.com/dart/webui/#/phones/motorola-xoom-with-wi-fi OK clicked back button in browser http://webui.demo.local/ OK clicked forward button in the browser http://exchange.nurunadv.com/dart/webui/#/phones/motorola-xoom-with-wi-fi but the view did not change
thanks marco
I just pushed a fix to the master branch, can you please try that version of the client.dart? If it still cause problem, please add the following to your main class/method and include the output...
import 'package:logging/logging.dart';
main() {
new Logger('')
..level = Level.FINEST
..onRecord.listen((r) => print('[${r.level}] ${r.message}'));
}
assuming fixed
Hi, i'm developing a little prototype in Dart based on angularjs phonecat tutorial.
I used route library to swap from to different views.
http://webui.demo.local/ is the homepage
and http://webui.demo.local/#/phones/motorola-xoom-with-wi-fi is the product-page
I have 2 urlPattern to match
and an anchor tag like this
On Chrome and Firefox my project works, but on IE 10 and 9 it does not :(
IE9 Console output:
Dart Editor version 0.5.0_r21823 Dart SDK version 0.5.0.1_r21823
dependencies versions
P.S. In general, what is the difference using useFragment:null/true/false?
Thanks marco